{
  "opencollection": "1.0.0",
  "info": {
    "name": "Cognite 3D Asset Mapping Parsing API",
    "version": "v1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Parsing",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Run parsing for files",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{cluster}.cognitedata.com/api/v1/projects/{project}/diagram-parsing/parsing/symbol-detection",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "\n\n> **Required capabilities:** `diagramParsingAcl:WRITE`\n\nStart a parsing job on files to detect their symbols and connections."
        },
        {
          "info": {
            "name": "Run an instant parsing job for a file",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{cluster}.cognitedata.com/api/v1/projects/{project}/diagram-parsing/parsing/instant",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "\n\n> **Required capabilities:** `diagramParsingAcl:WRITE`\n\nStart an instant parsing job on a file to detect diagram symbols based on the specified library. Parsed outputs do not persist."
        },
        {
          "info": {
            "name": "Run parsing with tag detection for files",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{cluster}.cognitedata.com/api/v1/projects/{project}/api/v1/projects/:project/diagram-parsing/parsing/full",
            "params": [
              {
                "name": "project",
                "value": "",
                "type": "path",
                "description": "The CDF project name, equal to the project variable in the server URL."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "\n\n> **Required capabilities:** `diagramParsingAcl:WRITE` `dataModelInstancesAcl:WRITE`\n\nA parsing job will be started on the files to detect their entities and connections and map assets."
        }
      ]
    }
  ],
  "bundled": true
}