APIs

Import OpenAPI/Arazzo content as new API revisions (async).

post/apis

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /apis
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL /authorize, token URL /oauth/token)

Request body

Example request

{
  "sources": [
    {
      "api_name": "stripe",
      "submitted_by": "usr_6968b3987ee4c3ec0b4ee3b9",
      "type": "url",
      "url": "https://raw.githubusercontent.com/jentic/jentic-public-apis/main/apis/openapi/stripe.com/main/2024-04-10/openapi.json",
      "vendor": "stripe.com",
      "version": "2024-04-10"
    }
  ]
}

Response

Successful Response

unknown required

Changes