store.yaml 799 B

123456789101112131415161718192021222324252627282930313233
  1. post:
  2. summary: Store a newly created resource in storage.
  3. tags:
  4. - channel
  5. requestBody:
  6. description: 新建
  7. required: true
  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. summary: studio name(owner name)
  19. responses:
  20. "200": # status code
  21. description: A JSON array of channel information
  22. content:
  23. application/json:
  24. schema:
  25. type: object
  26. properties:
  27. ok:
  28. type: boolean
  29. message:
  30. type: string
  31. data:
  32. type: object
  33. $ref: "./channel.yaml"