{
  "opencollection": "1.0.0",
  "info": {
    "name": "Choreo API Management API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Organizations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Choreo List organizations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://console.choreo.dev/api/v1/organizations"
          },
          "docs": "Retrieve a list of organizations the authenticated user belongs to."
        }
      ]
    },
    {
      "info": {
        "name": "Projects",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Choreo List projects",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://console.choreo.dev/api/v1/organizations/:orgId/projects",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "Organization identifier."
              }
            ]
          },
          "docs": "Retrieve a list of projects within an organization."
        },
        {
          "info": {
            "name": "Choreo Create a project",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://console.choreo.dev/api/v1/organizations/:orgId/projects",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "Organization identifier."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new project within an organization."
        }
      ]
    },
    {
      "info": {
        "name": "Components",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Choreo List components",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://console.choreo.dev/api/v1/organizations/:orgId/projects/:projectId/components",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "Organization identifier."
              },
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "Project identifier."
              }
            ]
          },
          "docs": "Retrieve a list of components within a project. Components represent services, APIs, web apps, jobs, and other deployable units."
        },
        {
          "info": {
            "name": "Choreo Create a component",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://console.choreo.dev/api/v1/organizations/:orgId/projects/:projectId/components",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "Organization identifier."
              },
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "Project identifier."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new component within a project. A component can be a service, API proxy, web application, scheduled job, manual trigger, or event handler."
        },
        {
          "info": {
            "name": "Choreo Get a component",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://console.choreo.dev/api/v1/organizations/:orgId/projects/:projectId/components/:componentId",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path"
              },
              {
                "name": "projectId",
                "value": "",
                "type": "path"
              },
              {
                "name": "componentId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve details of a specific component."
        },
        {
          "info": {
            "name": "Choreo Delete a component",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://console.choreo.dev/api/v1/organizations/:orgId/projects/:projectId/components/:componentId",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path"
              },
              {
                "name": "projectId",
                "value": "",
                "type": "path"
              },
              {
                "name": "componentId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a specific component from a project."
        }
      ]
    },
    {
      "info": {
        "name": "Builds",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Choreo List builds",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://console.choreo.dev/api/v1/organizations/:orgId/projects/:projectId/components/:componentId/builds",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path"
              },
              {
                "name": "projectId",
                "value": "",
                "type": "path"
              },
              {
                "name": "componentId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve a list of builds for a component."
        },
        {
          "info": {
            "name": "Choreo Trigger a build",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://console.choreo.dev/api/v1/organizations/:orgId/projects/:projectId/components/:componentId/builds",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path"
              },
              {
                "name": "projectId",
                "value": "",
                "type": "path"
              },
              {
                "name": "componentId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Trigger a new build for a component."
        }
      ]
    },
    {
      "info": {
        "name": "Deployments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Choreo List deployments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://console.choreo.dev/api/v1/organizations/:orgId/projects/:projectId/components/:componentId/deployments",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path"
              },
              {
                "name": "projectId",
                "value": "",
                "type": "path"
              },
              {
                "name": "componentId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve a list of deployments for a component."
        },
        {
          "info": {
            "name": "Choreo Promote a build to an environment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://console.choreo.dev/api/v1/organizations/:orgId/projects/:projectId/components/:componentId/deployments",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path"
              },
              {
                "name": "projectId",
                "value": "",
                "type": "path"
              },
              {
                "name": "componentId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Deploy a build to a specific environment. This promotes the built artifact to the target environment."
        }
      ]
    },
    {
      "info": {
        "name": "Default",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Choreo List APIs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://console.choreo.dev/api/v1/organizations/:orgId/apis",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "Organization identifier."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of results to return."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Number of results to skip."
              }
            ]
          },
          "docs": "Retrieve a list of managed APIs within an organization. These are APIs published and managed through the Choreo API gateway."
        },
        {
          "info": {
            "name": "Choreo Get API details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://console.choreo.dev/api/v1/organizations/:orgId/apis/:apiId",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path"
              },
              {
                "name": "apiId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve details of a specific managed API."
        }
      ]
    },
    {
      "info": {
        "name": "Environments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Choreo List environments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://console.choreo.dev/api/v1/organizations/:orgId/environments",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "Organization identifier."
              }
            ]
          },
          "docs": "Retrieve a list of environments configured for the organization (e.g., Development, Staging, Production)."
        }
      ]
    }
  ],
  "bundled": true
}