v2-sent-pr-tree.yaml 962 B

12345678910111213141516171819202122232425262728293031323334
  1. # 由 openapi/scripts/generate.php 生成,请勿手改;补充写到 overrides/v2-sent-pr-tree.yaml
  2. post:
  3. summary: 'pr_tree sent-pr-tree'
  4. tags:
  5. - sent-pr-tree
  6. operationId: post_api_v2_sent_pr_tree
  7. description: 实现:`SentPrController@pr_tree`
  8. requestBody:
  9. required: false
  10. content:
  11. application/json:
  12. schema:
  13. type: object
  14. properties:
  15. data:
  16. type: string
  17. responses:
  18. 200:
  19. description: '成功。业务失败时 HTTP 仍可能为 200,以 ok 字段为准。'
  20. content:
  21. application/json:
  22. schema:
  23. type: object
  24. properties:
  25. ok:
  26. type: boolean
  27. message:
  28. type: string
  29. data:
  30. type: object
  31. 401:
  32. $ref: '../../main.yaml#/components/responses/Unauthorized'
  33. 422:
  34. $ref: '../../main.yaml#/components/responses/ValidationError'