Info |
---|
Every configuration item has the option to export from the UI, using the single menu or by the bulk actions: Image Added Image Added
|
Note |
---|
Something important that you need to know is that when you export a config item that depends on another, the export will contain also all the dependencies. |
Note |
---|
Take into consideration that components with resources loaded into elastic, will be exported, but the resource itself will not, so you will need to reupload the resource and go and select your resource in the component again. |
Get seed type dxf (TODO)Returns the dxf for a specific seed type Panel |
---|
borderColor | black |
---|
bgColor | #fafafb |
---|
| GET /aspire/_api/seeds/type/:typeId/dxf |
Path ParametersPath Parameters and Query parameters
Name | Type | Required | Description |
---|
typeIdid | string | Required | Id The identifier(s) of the type of the seed seed(s) to export |
Body Parameter Name | Type | Required | Description |
---|
ids | string | Required | The identifier(s) of the seed(s) to export |
Examples Code Block |
---|
| GET /aspire/_api/seeds/export/AAABcID5GBc
DELETE /aspire/_api/seeds/export?id=AAABcID5GBc&id=AAABcID5GBd
POST /aspire/_api/seeds/export
{
"ids":["AAABcID5GBc","AAABcID5GBd"]
}
|
Response Code Block |
---|
| {
"export": {
"seeds": {
"seed": [
{
"id": "<seed_id>",
"type": "rest-api",
"description": "REST",
"connector": "<connector_id>",
"seed": "N\/A",
"priority": "medium",
"checksum": "eb4b51659226093casdf3854sdf8f67e4f0de8217c0fd86ea565ce0",
"connection": "<connection_id>",
"properties": {
"seed": "N\/A",
"crawlRules": [
{
"conditionalScript": false,
"entityType": "root",
"shouldStop": false,
...
}
],
"stopOnScannerError": true
}
},
...
]
},
"connectors": {
"connector": [
{
"id": "<connector_id>",
"artifact": "com.accenture.aspire:aspire-rest-source",
"type": "rest-api",
"description": "RestConnector",
"properties": {
"debug": false,
"wDebug": false,
...
},
"checksum": "82a70c88cbfa46dfd79d6430bfesdf5646c13089604fb609831f16f"
},
...
]
},
"credentials": {
"credential": [
{
"id": "<credential_id>",
"type": "rest-api",
"description": "RestCredentials",
"properties": {
"type": "bearer",
"query": {
...
}
}
},
...
]
},
"connections": {
"connection": [
{
"id": "<connection_id>",
"type": "rest-api",
"description": "RestConnection",
"credential": "<credential_id>",
"properties": {
"maxRetries": 3,
"useThrottling": false,
"throttling": "throttling_false",
"useProxy": false,
"proxy": "proxy_false",
"trustAllCertificates": false,
...
}
},
...
]
},
"policies": {
"policy": [
{
"id": "<policy_id>",
"type": "throttle",
"description": "pT",
"period": "day",
"value": 1
},
...
]
},
"schedules": {
"schedule": [
{
"id": "<schedule_id>",
"type": "time",
"description": "test",
"enabled": "false",
"scheduleTimeType": "daily",
"stopOnFail": false,
"schedule": "0 0 0 1\/1 * ?",
"after": null,
"seeds": "<seed_id>",
"crawlMode": "full",
"completeThreshold": 1.0,
"action": "pause"
},
...
]
},
"workflows": {
"workflow": [
{
"id": "<workflow_id>",
"type": "connector",
"description": "myWorkFlow",
"checksum": "dc7d632e4fac3aed7404d2c260sd3f54eea266f9fd4af73b6251d6cb",
"templates": {
...
},
"events": {
"event": [
...
]
},
"rules": {
"rule": [
...
]
}
},
...
]
}
}
} |
Status: 200, 404, 406
Section |
---|
Export multiple seeds, filteredExport multiple seeds from Aspire, filtered by a specified criteria, this endpoint needs at least the OPERATOR role to be executed. Panel |
---|
borderColor | black |
---|
bgColor | #fafafb |
---|
| POST /aspire/_api/seeds/exportAll
|
Filters: The connection filter definition here Response Code Block |
---|
| {
"export": {
"seeds": {
"seed": [
{
"id": "<seed_id>",
"type": "rest-api",
"description": "REST",
"connector": "<connector_id>",
"seed": "N\/A",
"priority": "medium",
"checksum": "eb4b51659226093casdf3854sdf8f67e4f0de8217c0fd86ea565ce0",
"connection": "<connection_id>",
"properties": {
"seed": "N\/A",
"crawlRules": [
{
"conditionalScript": false,
"entityType": "root",
"shouldStop": false,
...
}
],
"stopOnScannerError": true
}
},
...
]
},
"connectors": {
"connector": [
{
"id": "<connector_id>",
"artifact": "com.accenture.aspire:aspire-rest-source",
"type": "rest-api",
"description": "RestConnector",
"properties": {
"debug": false,
"wDebug": false,
...
},
"checksum": "82a70c88cbfa46dfd79d6430bfesdf5646c13089604fb609831f16f"
},
...
]
},
"credentials": {
"credential": [
{
"id": "<credential_id>",
"type": "rest-api",
"description": "RestCredentials",
"properties": {
"type": "bearer",
"query": {
...
}
}
},
...
]
},
"connections": {
"connection": [
{
"id": "<connection_id>",
"type": "rest-api",
"description": "RestConnection",
"credential": "<credential_id>",
"properties": {
"maxRetries": 3,
"useThrottling": false,
"throttling": "throttling_false",
"useProxy": false,
"proxy": "proxy_false",
"trustAllCertificates": false,
...
}
},
...
]
},
"policies": {
"policy": [
{
"id": "<policy_id>",
"type": "throttle",
"description": "pT",
"period": "day",
"value": 1
},
...
]
},
"schedules": {
"schedule": [
{
"id": "<schedule_id>",
"type": "time",
"description": "test",
"enabled": "false",
"scheduleTimeType": "daily",
"stopOnFail": false,
"schedule": "0 0 0 1\/1 * ?",
"after": null,
"seeds": "<seed_id>",
"crawlMode": "full",
"completeThreshold": 1.0,
"action": "pause"
},
...
]
},
"workflows": {
"workflow": [
{
"id": "<workflow_id>",
"type": "connector",
"description": "myWorkFlow",
"checksum": "dc7d632e4fac3aed7404d2c260sd3f54eea266f9fd4af73b6251d6cb",
"templates": {
...
},
"events": {
"event": [
...
]
},
"rules": {
"rule": [
...
]
}
},
...
]
}
}
} |
Status: 200 |
|