{
  "opencollection": "1.0.0",
  "info": {
    "name": "Release.com Platform Accounts Deploys API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-User-Email",
      "value": "{{X-User-Email}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Deploys",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Abort deploy",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.release.com/apps/:app_id/spaces/:space_id/pipelines/:id/abort",
            "params": [
              {
                "name": "app_id",
                "value": "",
                "type": "path",
                "description": "App ID (integer or hashid)"
              },
              {
                "name": "space_id",
                "value": "",
                "type": "path",
                "description": "Environment ID (integer or hashid)"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Resource ID (integer or hashid)"
              }
            ]
          },
          "docs": "Abort deploy"
        },
        {
          "info": {
            "name": "List Pipelines",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.release.com/apps/:app_id/spaces/:space_id/pipelines",
            "params": [
              {
                "name": "app_id",
                "value": "",
                "type": "path",
                "description": "App ID (integer or hashid)"
              },
              {
                "name": "space_id",
                "value": "",
                "type": "path",
                "description": "Environment ID (integer or hashid)"
              }
            ]
          },
          "docs": "List Pipelines"
        },
        {
          "info": {
            "name": "Create Pipeline",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.release.com/apps/:app_id/spaces/:space_id/pipelines",
            "params": [
              {
                "name": "app_id",
                "value": "",
                "type": "path",
                "description": "App ID (integer or hashid)"
              },
              {
                "name": "space_id",
                "value": "",
                "type": "path",
                "description": "Environment ID (integer or hashid)"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create Pipeline"
        },
        {
          "info": {
            "name": "Get Pipeline",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.release.com/apps/:app_id/spaces/:space_id/pipelines/:id",
            "params": [
              {
                "name": "app_id",
                "value": "",
                "type": "path",
                "description": "App ID (integer or hashid)"
              },
              {
                "name": "space_id",
                "value": "",
                "type": "path",
                "description": "Environment ID (integer or hashid)"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Resource ID (integer or hashid)"
              }
            ]
          },
          "docs": "Get Pipeline"
        },
        {
          "info": {
            "name": "List Pipelines",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.release.com/apps/:app_id/pipelines",
            "params": [
              {
                "name": "app_id",
                "value": "",
                "type": "path",
                "description": "App ID (integer or hashid)"
              }
            ]
          },
          "docs": "List Pipelines"
        },
        {
          "info": {
            "name": "Get Pipeline",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.release.com/apps/:app_id/pipelines/:id",
            "params": [
              {
                "name": "app_id",
                "value": "",
                "type": "path",
                "description": "App ID (integer or hashid)"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Resource ID (integer or hashid)"
              }
            ]
          },
          "docs": "Get Pipeline"
        }
      ]
    }
  ],
  "bundled": true
}