v3-groups-group-shares-share.yaml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # 由 openapi/scripts/generate.php 生成,请勿手改;补充写到 overrides/v3-groups-group-shares-share.yaml
  2. delete:
  3. summary: 把资源移出团队
  4. tags:
  5. - groups
  6. operationId: delete_api_v3_groups_group_shares_share_
  7. description: |-
  8. 团队的 owner / manager,或资源的拥有者才能调用。只删这条共享,资源本身不动。
  9. 实现:`V3\GroupShareController@destroy`
  10. security:
  11. -
  12. bearerAuth: []
  13. parameters:
  14. -
  15. name: group
  16. in: path
  17. required: true
  18. schema:
  19. type: string
  20. description: '团队 uid'
  21. -
  22. name: share
  23. in: path
  24. required: true
  25. schema:
  26. type: string
  27. description: '共享记录 id'
  28. responses:
  29. 204:
  30. description: 已移出,无响应体
  31. 401:
  32. $ref: '../../main.yaml#/components/responses/ProblemUnauthorized'
  33. 403:
  34. description: 不能移出这项资源
  35. content:
  36. application/problem+json:
  37. schema:
  38. $ref: '../../main.yaml#/components/schemas/ProblemDetails'
  39. 422:
  40. $ref: '../../main.yaml#/components/responses/ProblemValidation'