api-base.yml 668 B

123456789101112131415161718192021222324252627282930313233
  1. openapi: '3.0.0'
  2. info:
  3. title: 'Joystream Storage Node API.'
  4. version: '1.0.0'
  5. paths: {} # Will be populated by express-openapi
  6. components:
  7. # Re-usable parameter definitions
  8. parameters: {}
  9. # Re-usable (response) object definitions
  10. schemas:
  11. Error:
  12. required:
  13. - message
  14. properties:
  15. code:
  16. type: integer
  17. format: int32
  18. message:
  19. type: string
  20. ContentDirectoryEntry: # TODO implement
  21. required:
  22. - name
  23. properties:
  24. name:
  25. type: string
  26. ContentDirectoryEntries:
  27. type: array
  28. items:
  29. $ref: '#/components/schemas/ContentDirectoryEntry'