{
  "opencollection": "1.0.0",
  "info": {
    "name": "LinearB Public Deployments API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "x-api-key",
      "value": "{{x-api-key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Deployments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List deployments.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://public-api.linearb.io/api/v1/deployments",
            "params": [
              {
                "name": "repository_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "after",
                "value": "",
                "type": "query"
              },
              {
                "name": "before",
                "value": "",
                "type": "query"
              },
              {
                "name": "stage",
                "value": "",
                "type": "query"
              },
              {
                "name": "commit_sha",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query"
              },
              {
                "name": "sort_by",
                "value": "",
                "type": "query"
              },
              {
                "name": "sort_dir",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns a paginated list of reported deployments."
        },
        {
          "info": {
            "name": "Report a deployment.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://public-api.linearb.io/api/v1/deployments",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Reports a deployment so LinearB can calculate deployment frequency and lead time."
        }
      ]
    }
  ],
  "bundled": true
}