{
  "opencollection": "1.0.0",
  "info": {
    "name": "Cognite 3D Asset Mapping Extraction Pipelines Config API",
    "version": "v1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Extraction Pipelines Config",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get a single configuration revision",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{cluster}.cognitedata.com/api/v1/projects/{project}/extpipes/config",
            "params": [
              {
                "name": "externalId",
                "value": "",
                "type": "query"
              },
              {
                "name": "revision",
                "value": "",
                "type": "query"
              },
              {
                "name": "activeAtTime",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "\n\n> **Required capabilities:** `extractionconfigsAcl:READ`\n\nRetrieves a single configuration revision. By default, the latest revision is retrieved."
        },
        {
          "info": {
            "name": "Create extraction configuration revision",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{cluster}.cognitedata.com/api/v1/projects/{project}/extpipes/config",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "\n\n> **Required capabilities:** `extractionconfigsAcl:WRITE`\n\nCreates a configuration revision for the given extraction pipeline."
        },
        {
          "info": {
            "name": "List configuration revisions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{cluster}.cognitedata.com/api/v1/projects/{project}/extpipes/config/revisions",
            "params": [
              {
                "name": "externalId",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Limits the number of results to be returned. The maximum results returned by the server is 1000 even if you specify a higher limit."
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "Cursor for paging through results. In general, if a response contains a `nextCursor`\nproperty, it means that there may be more results, and you should pass that value as the\n`cursor` parameter in the next request.\n\nNote that the cursor may or may not be encrypted, but either way, it is not intended to be\ndecoded. Its internal structure is not a part of the public API, and may change without\nnotice. You should treat it as an opaque string and not attempt to craft your own cursors.\n"
              }
            ]
          },
          "docs": "\n\n> **Required capabilities:** `extractionconfigsAcl:READ`\n\nLists configuration revisions for the given extraction pipeline."
        },
        {
          "info": {
            "name": "Revert configuration revision",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{cluster}.cognitedata.com/api/v1/projects/{project}/extpipes/config/revert",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "\n\n> **Required capabilities:** `extractionconfigsAcl:WRITE`\n\nReverts the latest configuration revision to an older revision. Equivalent to creating a new revision identical to the old revision."
        }
      ]
    }
  ],
  "bundled": true
}