projects/:projectId/folders/:folderUrn/aggregates/:aggregateId/snapshots
Retrieves a paginated list of the aggregate snapshots created for the given aggregate, across all of its versions.
Optionally filter the list by passing the status query parameter: Pending, Processing, Successful, Failed or NotInstanced.
Use offset and limit to page through the results. limit defaults to 20 and cannot exceed 20. When a full page is returned, pagination.nextUrl contains the URL of the next page; it is omitted on the last page.
Each entry in results is a snapshot summary: id, name, description, status, version, sourceVersions, checksum and audit timestamps. Summaries do not include content or error — to download a snapshot’s compiled content, call Get Aggregate Snapshot for that id and follow the content.url it returns.
Resource Information
| Method and URI | GET https://developer.api.autodesk.com/construction/aggregate/v1/projects/:projectId/folders/:folderUrn/aggregates/:aggregateId/snapshots |
| Authentication Context | user context required |
| Required OAuth Scopes | data:read |
| Data Format | JSON |
Request
Headers
| Authorization* string | Must be Bearer <token>, where <token> is obtained via a three-legged OAuth flow. |
| region string | The region to which your request should be routed. If not set, the request is routed automatically but may incur a small latency increase.
For the full list of supported regions, see the Regions page. The API continues to support |
Request
URI Parameters
| projectId string: UUID | The GUID that uniquely identifies the project. |
| folderUrn string | The folder URN of the aggregate folder. See Aggregate Folders. |
| aggregateId string: UUID | The aggregate ID. |
Request
Query Parameters
| offset int | offset parameter for pagination support. |
| limit int | limit parameter for pagination support. The value will be capped to the maximum value supported by the service. |
| status enum: string | The status to filter by.
Possible values: |
Response
HTTP Status Code Summary
| 200 OK | Success |
| 400 Bad Request | The parameters of the requested operation are invalid. |
| 401 Unauthorized | The provided bearer token is not valid. |
| 403 Forbidden | The user or service represented by the bearer token does not have permission to perform this operation. |
| 404 Not Found | The requested resource could not be found. |
| 429 Too Many Requests | Rate limit exceeded. Wait some time before retrying. The Retry-After header might provide the amount of the time to wait. |
| 500 Internal Server Error | An unknown error occurred on the server. |
Response
Body Structure (200)
| pagination object | Paging information associated with a paging response. |
| offset number | Provides the offset value used for this page. |
| limit number | Provides the limit value used for this page. |
| nextUrl string | Absolute URL for fetching the next page. If this is not provided, the end of the list is reached. |
| results array: object | An array of aggregate snapshots.
Max items: |
| sourceVersions array: string | The array of source file versions used to compile the aggregate version.
Min items: |
| aggregateId string: UUID | The aggregate ID. |
| version int | The aggregate version. |
| status enum: string | The creation status of the aggregate snapshot.
Possible values: |
| includeIndex int | The zero-based include section index used when instancing, if any. Omitted when all non-disabled include sections were instanced together. Maximum is 49 because aggregate versions allow at most 50 include sections (same maxItems limit as include on newAggregateVersion) and this index is zero-based. |
| id string: UUID | The ID for this snapshot. |
| createdBy string | The identity associated with the creator of this snapshot. |
| createdAt datetime: ISO 8601 | The date and time this snapshot was created. |
| updatedBy string | The identity associated with the last modification to this snapshot. |
| updatedAt datetime: ISO 8601 | The date and time this snapshot was last updated. |
| checksum string | An opaque string describing the current state of the object, used to prevent update collisions. |
| name string | The display name for this snapshot.
Min length: |
| description string | The description for this snapshot.
Min length: |
Response
Body Structure (400)
| type string | The error code. |
| title string | A short title for the error. |
| detail string | A more detailed, human readable description of the error, assuming that this message is not localized and is therefore EN-US. UI consumers can use the error.type value to provide a localized version of this error for presentation. |
| errors array: object | A set of specific validation errors that need to be fixed. |
| field string | The field that failed validation. |
| title string | A short title for the error. |
| detail string | A more detailed, human readable description of the error, assuming that this message is not localized and is therefore EN-US. UI consumers can use the error.type value to provide a localized version of this error for presentation. |
| type string | The error code. |
Example #1 (no query parameters)
Request
curl -v 'https://developer.api.autodesk.com/construction/aggregate/v1/projects/84e30b95-f6d2-3553-391f-f2747a3017e0/folders/urn%3aadsk.wipprod%3afs.folder%3aco.WI8roO18TU2Cl3P9y64z4w/aggregates/fe5509ba-05c9-2445-b95a-7a3d8b547265/snapshots' \
-H 'Authorization: Bearer <token>'
Example #2 (with all query parameters)
Request
curl -v 'https://developer.api.autodesk.com/construction/aggregate/v1/projects/84e30b95-f6d2-3553-391f-f2747a3017e0/folders/urn%3aadsk.wipprod%3afs.folder%3aco.WI8roO18TU2Cl3P9y64z4w/aggregates/fe5509ba-05c9-2445-b95a-7a3d8b547265/snapshots?offset=122&limit=170&status=Successful' \
-H 'Authorization: Bearer <token>'
Response (200)
{
"pagination": {
"offset": 122,
"limit": 170,
"nextUrl": "https://developer.api.autodesk.com/construction/aggregate/nextPage"
},
"results": [
{
"sourceVersions": [
"urn:adsk.wipprod:fs.file:vf.b909RzMKR4mhc3O7UBY_8g?version=2"
],
"aggregateId": "fe5509ba-05c9-2445-b95a-7a3d8b547265",
"version": 42,
"status": "Successful",
"includeIndex": "0",
"id": "74b70bb8-8802-a1fd-f201-890375a60c8f",
"createdBy": "PD23PXGV8V3V",
"createdAt": "2015-10-21T16:31:31.000Z",
"updatedBy": "PD23PXGV8V3V",
"checksum": "7215ee9c7d9dc229d2921a40e899ec5f",
"name": "Aggregate snapshot name",
"description": "Aggregate snapshot description"
}
]
}
Response (400)
{
"type": "BadInput",
"title": "One or more input values in the request were bad",
"detail": "The following parameters are invalid: containerId",
"errors": [
{
"field": "containerId",
"title": "Invalid parameter",
"detail": "The value 'testing' is not valid.",
"type": "BadInput"
}
]
}