Mengambil daftar snapshot versi.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Namespace |
string |
Yes |
Namespace (projectId ruang proyek atau baseId ruang pribadi). |
1389623 |
| ObjectId |
string |
Yes |
ID unik objek. |
8467231038932407294 |
| Type |
string |
Yes |
Tipe snapshot. Mendukung beberapa nilai. Nilai yang valid: Saved, Deployed, dan UnDeployed. |
Saved |
| PageNumber |
integer |
No |
Nomor halaman. |
1 |
| PageSize |
integer |
No |
Ukuran halaman. |
10 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema Respons |
||
| RequestId |
string |
ID permintaan |
0bc14115-1234-5678-ABCD-159376359 |
| PagingInfo |
object |
Informasi paginasi. |
|
| TotalCount |
integer |
Jumlah total entri. |
12 |
| PageSize |
integer |
Ukuran halaman. |
10 |
| PageNumber |
integer |
Nomor halaman. |
1 |
| Snapshots |
array<object> |
Daftar snapshot. |
|
|
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 |
Contoh
Respons sukses
JSONformat
{
"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
}
]
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.