{
  "openapi" : "3.0.3",
  "info" : {
    "title" : "Collibra Catalog Technical Lineage API",
    "description" : "<p>REST API supporting the integration between the technical lineage platform and Catalog. </p>",
    "version" : "1.0",
    "x-audience" : "public"
  },
  "servers" : [ {
    "url" : "/rest/catalog/1.0",
    "variables" : { }
  } ],
  "security" : [ {
    "basicAuth" : [ ]
  }, {
    "jwtAuth" : [ ]
  }, {
    "oauth2" : [ ]
  } ],
  "tags" : [ {
    "name" : "Technical Lineage",
    "description" : "Technical Lineage operations"
  } ],
  "paths" : {
    "/technicalLineage/harvester/{assetId}" : {
      "post" : {
        "tags" : [ "Technical Lineage" ],
        "summary" : "Starts technical lineage harvester",
        "description" : "Starts technical lineage harvester for database asset id provided in request.",
        "operationId" : "triggerHarvester",
        "parameters" : [ {
          "name" : "assetId",
          "in" : "path",
          "required" : true,
          "schema" : {
            "type" : "string",
            "format" : "uuid"
          }
        } ],
        "responses" : {
          "202" : {
            "description" : "The lineage harvester has been started."
          }
        },
        "security" : [ {
          "oauth2" : [ "dgc.catalog", "dgc.technical-lineage" ]
        } ]
      }
    }
  },
  "components" : {
    "securitySchemes" : {
      "basicAuth" : {
        "type" : "http",
        "description" : "Collibra REST API authentication using Basic Authentication.",
        "scheme" : "basic"
      },
      "jwtAuth" : {
        "type" : "http",
        "description" : "Collibra REST API authentication using JSON Web Token.",
        "scheme" : "bearer",
        "bearerFormat" : "JWT"
      },
      "oauth2" : {
        "type" : "oauth2",
        "description" : "Collibra REST API authentication using OAuth 2.",
        "flows" : {
          "clientCredentials" : {
            "tokenUrl" : "/rest/oauth/v2/token",
            "scopes" : {
              "dgc.admin" : "Admin scope",
              "dgc.global-manage-all-resources" : "Globally manage all resources.",
              "dgc.dsm" : "Data Stewardship Manager",
              "dgc.technical-lineage" : "Access technical lineage.",
              "dgc.view-all" : "view all resources.",
              "dgc.catalog" : "Use Collibra Catalog.",
              "dgc.bsg" : "Business Semantic Glossary"
            },
            "x-scope-permissions" : {
              "dgc.catalog" : [ "CATALOG" ],
              "dgc.global-manage-all-resources" : [ "GLOBAL_MANAGE_ALL_RESOURCES" ],
              "dgc.dsm" : [ "DSM" ],
              "dgc.technical-lineage" : [ "TECHNICAL_LINEAGE" ],
              "dgc.view-all" : [ "VIEW_ALL" ],
              "dgc.bsg" : [ "BSG" ],
              "dgc.admin" : [ "ADMIN" ]
            }
          }
        }
      }
    }
  }
}