store.yaml 821 B

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