update.yaml 960 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. post:
  2. summary: Store a newly created resource in storage.
  3. tags:
  4. - channel
  5. parameters:
  6. - name: channelId
  7. in: path
  8. required: true
  9. description: channel uuid
  10. schema:
  11. type: string
  12. requestBody:
  13. required: true
  14. description: 新建channel参数
  15. content:
  16. application/json:
  17. schema:
  18. type: object
  19. properties:
  20. name:
  21. type: string
  22. required: true
  23. studio:
  24. type: string
  25. required:
  26. - name
  27. - studio
  28. responses:
  29. "200": # status code
  30. description: A JSON array of channel information
  31. content:
  32. application/json:
  33. schema:
  34. type: object
  35. properties:
  36. ok:
  37. type: boolean
  38. message:
  39. type: string
  40. data:
  41. type: object
  42. $ref: "./channel.yaml"