posts
get/api/posts

Request

  • The document declares no server URL.
  • Auth: none declared

Query parameters

pagenumber
limitnumber
courseIdstring
departmentIdstring
yearLevelnumber
moduleNumbernumber
type'NOTE' | 'OLD_QUESTION' | 'EXERCISE'
status'PENDING' | 'APPROVED' | 'REJECTED'
authorIdstring
tagSlugstring

Filter by tag slug (exact match)

hasSummaryboolean

Only return posts that have an AI summary

Response

totalnumber required
pagenumber required
limitnumber required
totalPagesnumber required

Changes

    • info

      added the optional property //// to the response with the status

    • info

      added the required property //// to the response with the status

    • breaking

      removed the enum value ASSIGNMENT from the query request parameter type

    • warning

      added the new EXERCISE enum value to the ////// response property for the response status

    • info

      added the new enum value EXERCISE to the query request parameter type

    • info

      removed the ASSIGNMENT enum value from the ////// response property for the response status