Field | Required | Default | Multiple | Notes | Example |
---|
The value must be "Content Type Detector".
description | Yes | - | No | Name of the credential object. | "Content Type |
Detector" | ||||
properties | Yes | - | No | Configuration object |
---|
Ignore Delete Jobs |
No |
True |
{
"type": "<Connector Type>",
"description": "<Connector Name> Credential",
"properties": {
}
}
Field
Required
Default
Multiple
"Content Type DetectorCredential"
Code Block | ||||
---|---|---|---|---|
| ||||
{
"id": "2a5ca234-e328-4d40-bb2a-2df3e550b065",
"description": "<Connector Name> Credential",
"properties": {
}
} |
Field
Required
Default
Multiple
Example
The value must be Content Type Detector
Content Type Detector
"MyContent Type DetectorConnection"
No | Option to skip delete jobs. | TRUE | |||
Fetch file | No | False | No | Select if you need to fetch file. | FALSE |
Use default document path | No | True | No | Select so that Aspire will use the fetchUrl or displayUrl as the location of the file. | FALSE |
Document fetch path | Yes | No | Location in the Aspire document of the path to the file to fetch. | "/doc/fetchUrl" | |
Max Lookahead in MBytes for type detection | Yes | 0.5 | No | Maximum to consume the file stream to detect the type. | 0.5 |
Max percent of column variability to allow in text separated files | Yes | 0 | No | Maximum percentage of variability to allow in the number of columns. | 0 |
Apache Tika configuration path | No | None | No | Path for Apache Tika configuration file. | "/path/to/tikaConfig.xml" |
Code Block | ||||
---|---|---|---|---|
| ||||
{ "type": "<Connector Type>", "description": "<ConnectorContent Name>Type Test ConnectorDetector", "properties": { } } |
Field
Required
Default
Multiple
Notes
Example
"MyConnection"
Code Block | ||
---|---|---|
| ||
{ "id": "89d6632a-a296-426c-adb0-d442adcab4b0", "description": "<Connector Name> Test Connector", "ignoreDeleteJobs": true, "properties": { } } |
For the creation of the Connector object using the Rest API check this page
For the update of the Connector object using the Rest API check this page
Field
Required
Default
Multiple
Notes
Example
The value must be Content Type Detector.
Content Type Detector
"My Content Type Detector Seed"
Code Block | ||||
---|---|---|---|---|
| ||||
{ "type": "<Connector Type>", "seed": "directory", "connector": "82f7f0a4-8d28-47ce-8c9d-e3ca414b0d31", "description": "<connector>_Test_Seed", "throttlePolicy": "6b8b5f23-fc77-47a1-9b58-106577162e7b", "routingPolicies": ["313de87c-3cb9-4fe0-a2cb-17f75ce7d0c7", "b4d2579f-1a0a-4a8b-9fd4-d42780003b36"], "connection": "602d3700-28dd-4a6a-8b51-e4a663fe9ee6", "workflows": ["f8c414cb-1f5d-42ef-9cc9-5696c3f0bda4"], "tags": ["tag1", "tag2"], "properties": { enableFetchUrl": false, "fetchPath": "/doc/fetchUrl", "maxLookaheadSize": 0.5, "variabilityPercent": 0, "tikaConfig": "/path/to/tikaConfig.xml" } } |
Field | Required | Default | Multiple | Notes | Example |
---|
description | Yes | - | No |
Name of the |
credential object. | " |
Content Type Detector" |
properties |
Yes | - | No |
Configuration object |
properties |
---|
Yes | - | No |
---|
Configuration object |
---|
"MyContent Type DetectorSeed"
Ignore Delete Jobs | No |
True | No |
Option to skip delete jobs. | TRUE | ||||
Fetch file | No | False | No | Select if you need to fetch file. | FALSE |
Use default document path | No | True | No | Select so that Aspire will use the fetchUrl or displayUrl as the location of the file. | FALSE |
Document fetch path | Yes | No | Location in the Aspire document of the path to the file to fetch. | "/doc/fetchUrl" | |
Max Lookahead in MBytes for type detection | Yes | 0.5 | No | Maximum to consume the file stream to detect the type. | 0.5 |
Max percent of column variability to allow in text separated files | Yes | 0 | No | Maximum percentage of variability to allow in the number of columns. | 0 |
Apache Tika configuration path | No | None | No | Path for Apache Tika configuration file. | "/path/to/tikaConfig.xml" |
Code Block | ||||
---|---|---|---|---|
| ||||
{ "iddescription": "2f287669-d163-4e35-ad17-6bbfe9df3778Content Type Detector", "seedproperties": { "<seed example>", "connectorignoreDeleteJobs": "82f7f0a4-8d28-47ce-8c9d-e3ca414b0d31"true, "description": "<connector>_Test_Seed", "throttlePolicyenableFetchUrl": "6b8b5f23-fc77-47a1-9b58-106577162e7b", "routingPolicies": ["313de87c-3cb9-4fe0-a2cb-17f75ce7d0c7", "b4d2579f-1a0a-4a8b-9fd4-d42780003b36"], true, "defaultFetchPath": true, "fetchPath": true "connectionfetchPath": "602d3700-28dd-4a6a-8b51-e4a663fe9ee6/doc/fetchUrl", "workflowsmaxLookaheadSize": ["b255e950-1dac-46dc-8f86-1238b2fbdf27", "f8c414cb-1f5d-42ef-9cc9-5696c3f0bda4"], 0.5, "tagsvariabilityPercent": ["tag", "tag2"], 0, "propertiestikaConfig": { "/path/to/tikaConfig.xml" } } |