ListSnapshots
Retrieves a list of version snapshots.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Namespace |
string |
Yes |
The namespace (project space projectId or personal space baseId). |
1389623 |
| ObjectId |
string |
Yes |
The unique ID of the object. |
8467231038932407294 |
| Type |
string |
Yes |
The snapshot type. Multiple values are supported. Valid values: Saved, Deployed, and UnDeployed. |
Saved |
| PageNumber |
integer |
No |
The page number. |
1 |
| PageSize |
integer |
No |
The page size. |
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
0bc14115-1234-5678-ABCD-159376359 |
| PagingInfo |
object |
The pagination information. |
|
| TotalCount |
integer |
The total number of entries. |
12 |
| PageSize |
integer |
The page size. |
10 |
| PageNumber |
integer |
The page number. |
1 |
| Snapshots |
array<object> |
The list of snapshots. |
|
|
object |
|||
| Id |
string |
8b723a9e8bd443af920b77e39aeb4f63 |
|
| Namespace |
string |
1389623 |
|
| ObjectId |
string |
8467231038932407294 |
|
| Version |
integer |
2 |
|
| Type |
string |
Saved |
|
| Creator |
string |
209508679263509059 |
|
| Comment |
string |
snapshot comment |
|
| CreateTime |
integer |
1782370983000 |
Examples
Success response
JSON format
{
"RequestId": "0bc14115-1234-5678-ABCD-159376359",
"PagingInfo": {
"TotalCount": 12,
"PageSize": 10,
"PageNumber": 1,
"Snapshots": [
{
"Id": "8b723a9e8bd443af920b77e39aeb4f63",
"Namespace": "1389623",
"ObjectId": "8467231038932407294",
"Version": 2,
"Type": "Saved",
"Creator": "209508679263509059",
"Comment": "snapshot comment",
"CreateTime": 1782370983000
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.