main.yaml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. openapi: 3.0.0
  2. info:
  3. title: MINT API
  4. description: International Academy Of Pali Tipitaka(国际巴利三藏学院)
  5. version: 2022.12.8
  6. servers:
  7. - url: https://staging.wikipali.org/api/v2
  8. description: Internal staging server for testing
  9. - url: https://www.wikipali.org/api/v2
  10. description: Main production server
  11. - url: https://www.wikipali.cc/api/v2
  12. description: Main production server in china
  13. - url: http://127.0.0.1:8000/api/v2
  14. description: local dev
  15. paths:
  16. /users:
  17. $ref: "./resources/auth/users/index.yaml"
  18. /users/sign-in:
  19. $ref: "./resources/auth/users/sign-in.yaml"
  20. /channel:
  21. $ref: "./resources/channel/index.yaml"
  22. /channel/{channelId}:
  23. $ref: "./resources/channel/show.yaml"
  24. /palitext:
  25. $ref: "./resources/corpus/pali-text/index.yaml"
  26. /discussion:
  27. $ref: "./resources/discussion/index.yaml"
  28. /channel-io:
  29. $ref: "./resources/io/channel/export.yaml"
  30. /chapter-io:
  31. $ref: "./resources/io/chapter/export.yaml"
  32. /sentence-io:
  33. $ref: "./resources/io/sentence/export.yaml"
  34. /progress:
  35. $ref: "./resources/progress/index.yaml"
  36. /sentence:
  37. $ref: "./resources/sentence/index.yaml"
  38. /corpus:
  39. $ref: "./resources/corpus/corpus/index.yaml"
  40. /chapter-index:
  41. $ref: "./resources/chapter-index/index.yaml"