Extensions

Create an extension and submit its first version for review

Changed on
post/extensions

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
  • Auth: HTTP bearer

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
idstring required

Example request

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

Response

Extension created. It holds the id immediately but stays out of the public catalogue until a moderator approves the revision.

Changes

    • warning

      the request property's maxLength was set to 200

    • 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 new optional request property /