Read a specific Aggregate.
GET/v1/public/aggregates/export/catalogs/:catalogId/models/:modelId
This API exports System-Defined aggregate definitions that may then be imported using the Imported to another system that has the same ModelID. Note that User-Defined Aggregates (UDA's) are not included in the export.
Request
Path Parameters
The catalog ID (UUID) for which you are querying.
The model ID (UUID) for which you are querying.
Header Parameters
Responses
- 200
- 400
- 401
- 403
- 500
- 503
Success.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
The AtScale system version from which the export originated.
exportSummary
object
required
Summarized information such as aggregate count, grouped by Connection ID.
connectionIds
object
required
Server-generated timestamp the export file was generated.
catalog ID
Cube ID. Must exist on the target system.
aggregates
object
required
Aggregate Definitions. For internal use only.
values
object[]
incidentalData
object
required
{
"atScaleExportVersion": "string",
"exportSummary": {
"connectionIds": {
"count": 0,
"values": [
"string"
]
}
},
"exportTimestamp": "string",
"exportCatalogId": "string",
"exportModelId": "string",
"aggregates": {
"count": 0,
"values": [
{
"id": "string",
"userDefinedId": "string",
"userDefinedName": "string",
"triggeringQueryId": "string",
"environmentId": "string",
"catalogId": "string",
"planJson": "string",
"latestInstanceId": "string",
"hintedDatasetId": "string",
"activeInstanceId": "string",
"connectionId": "string",
"promotedCopyOf": true,
"promoted": true,
"incidentalData": {
"type": "string",
"data-set-id": "string"
}
}
]
}
}
Bad Request.
Unauthorized AtScale user.
User does not have permission to access the resource.
A server error occurred. Check the logs for more details.
This error will occur if Design Center APIs are not enabled.