Warning | ||
---|---|---|
| ||
This page is in development and as such, its contents may be incorrectis an internal API used for the communication between nodes and is not expected to be used by others. |
The manager node The connector API provides functionality that allows a administrator to perform actions such as adding and configuring connectors
Table of Contents |
---|
manager and worker nodes to communicate.
Easy Heading Free | ||||
---|---|---|---|---|
|
Section | ||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Release one or more workersReset the status of any in memory batches that were sent to a failed worker but had not been acknowledged, so they may be sent to another worker. This endpoint needs at least the ADMINISTRATOR or MANAGER role to be executed. | ||||||||||||||||||||||||||||||||||||||||||
Section | ||||||||||||||||||||||||||||||||||||||||||
List connectorsLists all the connectors configured in the Aspire
Path and Request Body Query String Parameters
Response
Examples Release a single worker
Release more workers
| ||||||||||||||||||||||||||||||||||||||||||
Response code | Description | 200 | Success
Section | ||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Release one or more seedsUsed by the main manager when pausing or stopping to release all the items for a seed from unsent batches. The manager will then forward the same to the workers. This endpoint needs at least the ADMINISTRATOR or MANAGER role to be executed. Get a single connectorGet information about a single connector configured in Aspire
Path and Request Body Parameters
Examples Release a single seedResponse
Release multiple seeds
Response
| ||||||||||||||||||||||||||||||||||||||
Response code | Description | |||||||||||||||||||||||||||||||||||||
200 | Success | |||||||||||||||||||||||||||||||||||||
404 | The given connector id was not found |
Section | |||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Fetch one or more batchesUsed by the worker to fetch a batch from the manager. This endpoint needs at least the ADMINISTRATOR or WORKER role to be executed. | |||||||||||||||||||||||||||||||||||||||||||||||||
Section | |||||||||||||||||||||||||||||||||||||||||||||||||
Add connector(s)Add one or more connectors to Aspire
Path and Request Body Parameters
Examples Add a single connector
Response
Add multiple connectors
Response
Status | |||||||||||||||||||||||||||||||||||||||||||||||||
Response code | Description | ||||||||||||||||||||||||||||||||||||||||||||||||
201 | Created | ||||||||||||||||||||||||||||||||||||||||||||||||
406 | Not acceptable - there was an issue validating the input | ||||||||||||||||||||||||||||||||||||||||||||||||
Section | |||||||||||||||||||||||||||||||||||||||||||||||||
Update connectorUpdate a connector in Aspire. Updates will be treated as partial updates rather than overwrites. If a field is not present in the input, any previous value will remain after the update. If you wish to "delete" a value, pass a value of null
Request Body Parameters | |||||||||||||||||||||||||||||||||||||||||||||||||
Name | Type | Required | Description | ||||||||||||||||||||||||||||||||||||||||||||||
id | string | Required | The identifier of the connector to update | ||||||||||||||||||||||||||||||||||||||||||||||
type | string | Required | The type of the connector | ||||||||||||||||||||||||||||||||||||||||||||||
description | string | Optional | An optional description of the connector |
Code Block | ||
---|---|---|
| ||
{
"id": "AAABcID5GBc=",
"connector": "c:\\testdata\\2500",
"type": "filesystem"
} |
Response
Code Block | ||
---|---|---|
| ||
{ "connector": { "id": "AAABcID5GBc=", "description": "Net App", "type": "filesystem", "status": "N" }com.accenture.aspire.connector.manager.ManagerComponent$FSItemType@folder", "status": "A", "action": "update", "timestamp": 1234567890, "shouldScan": true, "shouldProcess": true, "crawlRetries": 0, "isCrawlRootItem": false, "inCrawlRetries": 0 }] }, "message": "optional response message" } |
: 200, 406
Section | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Acknowledge one or more batchesUsed by the worker node to acknowledge the worker has taken responsibility for the batch(es). This endpoint needs at least the ADMINISTRATOR or WORKER role to be executed | ||||||||||||||||||||||||||||||||||||||||||||
Section | ||||||||||||||||||||||||||||||||||||||||||||
Delete connector(s)Delete one or more connectors from Aspire.
Query String Parameters
Path and Request Body Parameters
Examples Delete Acknowledge a single connectorbatch
Delete Acknowledge multiple connectorsbatches
Response
Status: 200, 404 |
Section | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Re-balance seed allocationAllows an administrator to manually re-balance the seed to manage allocation for active crawls. This endpoint needs the ADMINISTRATOR role to be executed
Status: 200 |
Section | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Crawl failed actionAllows handling the crawl failed state for the seed. This endpoint needs the ADMINISTRATOR or WORKER role to be executed
| ||||||||||||||
Response code | Description | |||||||||||||
200 | Success | |||||||||||||
404 | Not found - a given connector identifier was not found | 406 | Not acceptable - there was an issue validating the input
Section | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Throttle notification (Aspire 5.3)Allows handling the throttle event happening in the connector for the seed. This endpoint needs the ADMINISTRATOR or WORKER role to be executed
Path and Request Body Parameters
Status: 200, 404 |