Resources API
The Resource Manager API endpoints live in the manager nodes only. They are responsible for serving component resources such as properties, icons and DXF (for UI configuration).
- 1 Get available resources
- 2 Get properties for the component
- 3 Get the icon for the component
- 4 Get the dxf for the component
- 5 Add custom application
- 6 Delete custom application
- 7 Dashboards enabled
- 8 Get Main Dashboard
- 9 Get Metrics Dashboard
- 10 Upload File
- 11 Download File
- 12 Update File Description
- 13 Delete File
- 14 Get File List
Get available resources
Lists resources configured in the Aspire, this endpoint needs the at least the OPERATOR role to be executed.
|
Path Parameters
Name | Type | Required | Description |
|---|---|---|---|
type | string | Required | The type of resource
|
Request and Response example
GET /aspire/_api/resources/connector
{
"resource": [
{
"available": true,
"mavenCoordinates": "com.accenture.aspire:aspire-sharepointonline-source",
"type": "sharepoint-online",
"displayName": "sharepoint-online",
"versions": [
"5.0-SNAPSHOT"
],
"currentVersion": "5.0-SNAPSHOT",
"properties": {
"connector.framework.feature.hierarchy": "false",
"connector.framework.feature.contentCrawling": "true",
"checkSnapshotAfterProcess": "false",
"mvnCoordinates": "com.accenture.aspire:aspire-sharepointonline-source",
"component.default.dxf": "dxf/contentSource.xml",
"component.appbundle.maven.coordinates": "app-rap-connector",
"connector.framework.isRAP": "true",
"connector.framework.feature.identityCrawling": "false"
}
},
{
"available": true,
"mavenCoordinates": "com.accenture.aspire:aspire-filesystem-source",
"type": "filesystem",
"displayName": "filesystem",
"versions": [
"5.0-SNAPSHOT"
],
"currentVersion": "5.0-SNAPSHOT",
"properties": {
"connector.framework.feature.hierarchy": "true",
"connector.framework.feature.contentCrawling": "true",
"checkSnapshotAfterProcess": "false",
"mvnCoordinates": "com.accenture.aspire:aspire-filesystem-source",
"component.default.dxf": "dxf/contentSource.xml",
"useCredentials": "false",
"component.appbundle.maven.coordinates": "app-rap-connector",
"connector.framework.isRAP": "true",
"connector.framework.feature.groupExpansion": "false",
"connector.framework.feature.identityCrawling": "false"
}
}
]
}Status: 200, 400
Get properties for the component
Gets properties for the component, this endpoint needs the at least the OPERATOR role to be executed.
|
Path Parameters
Name | Type | Required | Description |
|---|---|---|---|
type | string | Required | The type of resource
|
cmpName | string | Required | A component we require properties for. |
Request and Response example
/aspire/_api/resources/connector/sharepoint-online/properties
{
"properties": {
"connector.framework.feature.hierarchy": "false",
"connector.framework.feature.contentCrawling": "true",
"checkSnapshotAfterProcess": "false",
"mvnCoordinates": "com.accenture.aspire:aspire-sharepointonline-source",
"component.default.dxf": "dxf/contentSource.xml",
"component.appbundle.maven.coordinates": "app-rap-connector",
"connector.framework.isRAP": "true",
"connector.framework.feature.identityCrawling": "false"
}
}Status: 200, 400, 404
Get the icon for the component
Gets the icon for the component, this endpoint needs the at least the OPERATOR role to be executed.
|