admin-moderation
admin

Approve or reject a moderation item

Changed on
patch/admin/moderation/{id}

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/admin/moderation/{id}
  • Auth: API key in cookie evelogin

Request body

decision'approve' | 'reject' required
notesstring nullable

Response

OK

idinteger required
okboolean required
statusstring required

Changes

    • breaking

      request property was restricted to a list of enum values

    • breaking

      the request property became required

    • breaking

      the request property type changed from no type to string

    • breaking

      the request property type changed from no type to string null

    • warning

      the request property's maxLength was set to 1000

    • info

      the request property became nullable

    • info

      added the new approve enum value to the request property

    • info

      added the new reject enum value to the request property

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • breaking

      added required request body