{
  "opencollection": "1.0.0",
  "info": {
    "name": "Devtron APIs Specs Applications Deployment History API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Deployment History",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Deployment History",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost/orchestrator/resource/history/deployment/cd-pipeline/v1",
            "headers": [
              {
                "name": "token",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "filterCriteria",
                "value": "",
                "type": "query",
                "description": "Filter criteria for deployment history. Example:\n- application/devtron-application|id|1064\n- environment|id|146\n- release|id|203\n"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "The starting point for fetching records (pagination)."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "The number of records to return (pagination)."
              }
            ]
          },
          "docs": "Retrieves the deployment history for a specific CD pipeline based on various filter criteria."
        },
        {
          "info": {
            "name": "Fetch component history",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost/orchestrator/orchestrator/app/history/deployed-component/detail/:appId/:pipelineId/:id",
            "headers": [
              {
                "name": "token",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "appId",
                "value": "",
                "type": "path"
              },
              {
                "name": "pipelineId",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              },
              {
                "name": "historyComponent",
                "value": "",
                "type": "query"
              },
              {
                "name": "historyComponentName",
                "value": "",
                "type": "query",
                "description": "name of config-map, secret"
              }
            ]
          },
          "docs": "fetch detail of a history on the basis of the history component and it's name"
        },
        {
          "info": {
            "name": "fetch deployed history details list",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost/orchestrator/orchestrator/app/history/deployed-component/list/:appId/:pipelineId",
            "headers": [
              {
                "name": "token",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "appId",
                "value": "",
                "type": "path"
              },
              {
                "name": "pipelineId",
                "value": "",
                "type": "path"
              },
              {
                "name": "historyComponent",
                "value": "",
                "type": "query"
              },
              {
                "name": "historyComponentName",
                "value": "",
                "type": "query",
                "description": "name of config-map, secret"
              },
              {
                "name": "baseConfigurationId",
                "value": "",
                "type": "query",
                "description": "id of base configuration"
              }
            ]
          },
          "docs": "fetch deployed history details list"
        },
        {
          "info": {
            "name": "all deployed configuration history",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost/orchestrator/orchestrator/app/history/deployed-configuration/:appId/:pipelineId/:wfrId",
            "headers": [
              {
                "name": "token",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "appId",
                "value": "",
                "type": "path"
              },
              {
                "name": "pipelineId",
                "value": "",
                "type": "path"
              },
              {
                "name": "wfrId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "fetch all deployed configurations history (deployment template, pipeline strategy, configmaps, secrets)"
        }
      ]
    }
  ],
  "bundled": true
}