Custom Scan

Submit Data to Classify

Use this API to submit content for classification for a given custom connecter scan job.

post/v1/jobs/{jobId}/classify-data

Request

  • Base URL
    https://localhost:8080/api/data-discovery-bridge
  • URL
    https://localhost:8080/api/data-discovery-bridge/v1/jobs/{jobId}/classify-data
  • Auth
    none declared

Path parameters

jobIdinteger required

The custom connector scan job's identifier. This value can be obtained using the Get List of Scan Jobs API.

Request body

jobIdinteger required

The custom connector scan job's identifier. This value can be obtained using the Get List of Scan Jobs API.

datasourceIdstring required

The data source's identifier. This value can be obtained using the Get Data Sources API.

structuredboolean

Flag to determine whether the data source is a structured or unstructured source.

totalCountinteger

Total Count of rows or lines sent for a given column/file.

Example request

{
  "jobId": 10,
  "datasourceId": "123e4567-e89b-12d3-a456-426655440000",
  "structured": true,
  "totalCount": 100,
  "content": [
    {
      "entityName": "first_name",
      "entityType": "COLUMN",
      "parentEntityName": "Employee",
      "parentEntityType": "TABLE",
      "parentXpath": [
        "Company, Employee"
      ],
      "endOfContent": true,
      "data": [
        "Donald"
      ]
    }
  ]
}

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.