{
  "opencollection": "1.0.0",
  "info": {
    "name": "Calyptia Cloud agent pipeline_port API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "pipeline_port",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Pipeline ports",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://cloud-api.calyptia.com/v1/aggregator_pipelines/:pipelineID/ports",
            "params": [
              {
                "name": "pipelineID",
                "value": "",
                "type": "path"
              },
              {
                "name": "last",
                "value": "",
                "type": "query",
                "description": "Last ports."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Ports from a pipeline."
        },
        {
          "info": {
            "name": "Create pipeline port",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://cloud-api.calyptia.com/v1/aggregator_pipelines/:pipelineID/ports",
            "params": [
              {
                "name": "pipelineID",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create port within a pipeline.\nPorts can automatically be parsed from a config file, but this action allows you to programatically add more."
        },
        {
          "info": {
            "name": "Pipeline port",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://cloud-api.calyptia.com/v1/pipeline_ports/:portID",
            "params": [
              {
                "name": "portID",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Port by ID."
        },
        {
          "info": {
            "name": "Update pipeline port",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://cloud-api.calyptia.com/v1/pipeline_ports/:portID",
            "params": [
              {
                "name": "portID",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update port by its ID."
        },
        {
          "info": {
            "name": "Delete pipeline port",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://cloud-api.calyptia.com/v1/pipeline_ports/:portID",
            "params": [
              {
                "name": "portID",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete port by its ID."
        }
      ]
    }
  ],
  "bundled": true
}