index.yaml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. get:
  2. operationId: GetTermRevisionLecture
  3. summary: |
  4. Get s single terms revisions lecture
  5. security: []
  6. tags:
  7. - Terms / Revisions / Lectures
  8. parameters:
  9. - $ref: ../../../../../../../../components/parameters/term.yaml
  10. - $ref: ../../../../../../../../components/parameters/revision.yaml
  11. - $ref: ../../../../../../../../components/parameters/lecture.yaml
  12. responses:
  13. "200":
  14. $ref: ../../../../../../../../components/responses/api/terms/{term}/revisions/{revision}/lectures/index-get-200.yaml
  15. "404":
  16. $ref: ../../../../../../../../components/responses/404.yaml
  17. put:
  18. operationId: PutTermRevisionLecture
  19. summary: |
  20. Update a terms revisions lecture. [OPTIONAL:Management]
  21. description: |
  22. **THIS IS AN OPTIONAL ENDPOINT**: This endpoint might not be implemented, as it
  23. requires a server running!
  24. security:
  25. - authRequired: []
  26. parameters:
  27. - $ref: ../../../../../../../../components/parameters/term.yaml
  28. - $ref: ../../../../../../../../components/parameters/revision.yaml
  29. - $ref: ../../../../../../../../components/parameters/lecture.yaml
  30. tags:
  31. - Terms / Revisions / Lectures
  32. requestBody:
  33. required: true
  34. content:
  35. application/json:
  36. schema:
  37. $ref: "../../../../../../../../components/schemas/api/lecture-series.yaml"
  38. responses:
  39. "200":
  40. $ref: ../../../../../../../../components/responses/api/terms/{term}/revisions/{revision}/lectures/{lecture}/index-put-200.yaml
  41. "401":
  42. $ref: ../../../../../../../../components/responses/401.yaml
  43. "404":
  44. $ref: ../../../../../../../../components/responses/404.yaml
  45. delete:
  46. operationId: DeleteTermRevisionLecture
  47. summary: |
  48. Delete a term. [OPTIONAL:Management]
  49. description: |
  50. **THIS IS AN OPTIONAL ENDPOINT**: This endpoint might not be implemented, as it
  51. requires a server running!
  52. security:
  53. - authRequired: []
  54. parameters:
  55. - $ref: ../../../../../../../../components/parameters/term.yaml
  56. - $ref: ../../../../../../../../components/parameters/revision.yaml
  57. - $ref: ../../../../../../../../components/parameters/lecture.yaml
  58. tags:
  59. - Terms / Revisions / Lectures
  60. responses:
  61. "204":
  62. $ref: ../../../../../../../../components/responses/204.yaml
  63. # TODO: What about dependencies?
  64. "401":
  65. $ref: ../../../../../../../../components/responses/401.yaml
  66. "404":
  67. $ref: ../../../../../../../../components/responses/404.yaml