{
  "opencollection": "1.0.0",
  "info": {
    "name": "Choreo Developer Portal API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Default",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Choreo List published APIs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://devportal.choreo.dev/api/v1/apis",
            "params": [
              {
                "name": "query",
                "value": "",
                "type": "query",
                "description": "Search query to filter APIs by name or description."
              },
              {
                "name": "tag",
                "value": "",
                "type": "query",
                "description": "Filter APIs by tag."
              },
              {
                "name": "type",
                "value": "",
                "type": "query",
                "description": "Filter APIs by type."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of results."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Number of results to skip."
              }
            ]
          },
          "docs": "Retrieve a list of published APIs available in the developer portal. Supports filtering by name, tags, and type."
        },
        {
          "info": {
            "name": "Choreo Get a published API",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://devportal.choreo.dev/api/v1/apis/:apiId",
            "params": [
              {
                "name": "apiId",
                "value": "",
                "type": "path",
                "description": "API identifier."
              }
            ]
          },
          "docs": "Retrieve details of a specific published API including its documentation and endpoints."
        },
        {
          "info": {
            "name": "Choreo Get API definition",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://devportal.choreo.dev/api/v1/apis/:apiId/definition",
            "params": [
              {
                "name": "apiId",
                "value": "",
                "type": "path",
                "description": "API identifier."
              }
            ]
          },
          "docs": "Retrieve the OpenAPI or other specification definition for a published API."
        },
        {
          "info": {
            "name": "Choreo List API documents",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://devportal.choreo.dev/api/v1/apis/:apiId/documents",
            "params": [
              {
                "name": "apiId",
                "value": "",
                "type": "path",
                "description": "API identifier."
              }
            ]
          },
          "docs": "Retrieve documentation associated with a published API."
        }
      ]
    },
    {
      "info": {
        "name": "Applications",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Choreo List applications",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://devportal.choreo.dev/api/v1/applications",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Retrieve a list of applications owned by the authenticated user. An application in Choreo is a logical representation of a physical application such as a mobile app, web app, or device."
        },
        {
          "info": {
            "name": "Choreo Create an application",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://devportal.choreo.dev/api/v1/applications",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new application to subscribe to APIs and generate credentials."
        },
        {
          "info": {
            "name": "Choreo Get an application",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://devportal.choreo.dev/api/v1/applications/:applicationId",
            "params": [
              {
                "name": "applicationId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve details of a specific application."
        },
        {
          "info": {
            "name": "Choreo Update an application",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://devportal.choreo.dev/api/v1/applications/:applicationId",
            "params": [
              {
                "name": "applicationId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update details of an existing application."
        },
        {
          "info": {
            "name": "Choreo Delete an application",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://devportal.choreo.dev/api/v1/applications/:applicationId",
            "params": [
              {
                "name": "applicationId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete an application and all its subscriptions."
        }
      ]
    },
    {
      "info": {
        "name": "Application Keys",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Choreo Generate application keys",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://devportal.choreo.dev/api/v1/applications/:applicationId/keys",
            "params": [
              {
                "name": "applicationId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Generate OAuth 2.0 consumer key and consumer secret for an application. The consumer key acts as the unique identifier for the application and is used for authentication."
        },
        {
          "info": {
            "name": "Choreo Generate an API key",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://devportal.choreo.dev/api/v1/applications/:applicationId/api-keys",
            "params": [
              {
                "name": "applicationId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Generate an API key for an application to access subscribed APIs."
        }
      ]
    },
    {
      "info": {
        "name": "Subscriptions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Choreo List subscriptions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://devportal.choreo.dev/api/v1/subscriptions",
            "params": [
              {
                "name": "applicationId",
                "value": "",
                "type": "query",
                "description": "Filter by application identifier."
              },
              {
                "name": "apiId",
                "value": "",
                "type": "query",
                "description": "Filter by API identifier."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Retrieve a list of subscriptions. Can be filtered by application or API."
        },
        {
          "info": {
            "name": "Choreo Subscribe to an API",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://devportal.choreo.dev/api/v1/subscriptions",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new subscription to an API through an application. A business plan must be selected which determines the rate limit."
        },
        {
          "info": {
            "name": "Choreo Unsubscribe from an API",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://devportal.choreo.dev/api/v1/subscriptions/:subscriptionId",
            "params": [
              {
                "name": "subscriptionId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Remove a subscription to an API."
        }
      ]
    },
    {
      "info": {
        "name": "Business Plans",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Choreo List business plans",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://devportal.choreo.dev/api/v1/business-plans",
            "params": [
              {
                "name": "apiId",
                "value": "",
                "type": "query",
                "description": "Filter business plans available for a specific API."
              }
            ]
          },
          "docs": "Retrieve a list of available business plans that determine rate limits for API subscriptions."
        }
      ]
    }
  ],
  "bundled": true
}