Moderation

Correct a published extension's live content as a moderator

Changed on
post/extensions/{id}/moderator-correct

Request

  • Base URL: /extensions/v2 (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /extensions/v2/extensions/{id}/moderator-correct
  • Auth: HTTP bearer

Path parameters

idstring required
Example:b6e2c9c4-3f1a-4e9b-9c3a-2e4b1a2f9d10

Request body

type'mod' | 'theme' | 'payment-gateway' | 'server-manager' | 'domain-registrar' | 'hook' | 'translation' required
namestring required
descriptionstring required
websitestring uri required
icon_urlstring uri
readmestring required
versionstring required
download_urlstring uri required
correction_notestring required

Example request

{
  "license": {
    "spdx_id": "MIT"
  }
}

Response

Content corrected and published. Recorded as an approved moderator revision; no author email is sent.

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      endpoint added