v2-chapter.yaml 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. # 手写补充:/v2/chapter?view=toc 的 rows 逐字段类型,与 dashboard-v6 手写的 IChapterToc 对齐
  2. # (src/api/pali-text.ts):text 可空,其余为 number。实际返回 PaliText 的
  3. # book/paragraph/level/text/chapter_len/chapter_strlen/parent。
  4. get:
  5. responses:
  6. 200:
  7. content:
  8. application/json:
  9. schema:
  10. properties:
  11. data:
  12. properties:
  13. rows:
  14. items:
  15. type: object
  16. properties:
  17. book:
  18. type: integer
  19. paragraph:
  20. type: integer
  21. level:
  22. type: integer
  23. text:
  24. type: string
  25. nullable: true
  26. chapter_len:
  27. type: integer
  28. chapter_strlen:
  29. type: integer
  30. parent:
  31. type: integer