Mengambil detail versi snapshot.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Id |
string |
Yes |
ID unik snapshot. |
8b723a9e8bd443af920b77e39aeb4f63 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema respons. |
||
| RequestId |
string |
ID permintaan. |
0bc14115-1234-5678-ABCD-159376359 |
| Snapshot |
object |
Snapshot. |
|
| Id |
string |
ID unik snapshot. |
8b723a9e8bd443af920b77e39aeb4f63 |
| Namespace |
string |
Namespace. |
1389623 |
| ObjectId |
string |
ID unik objek tempat snapshot berada. |
8467231038932407294 |
| Version |
integer |
Nomor versi. |
2 |
| Type |
string |
Tipe snapshot. |
Saved |
| Creator |
string |
ID karyawan pengirim. |
209508679263509059 |
| Comment |
string |
Komentar pengiriman. |
snapshot comment |
| CreateTime |
integer |
Pengatur waktu pembuatan snapshot dalam timestamp milidetik. |
1782370983000 |
| Content |
object |
Konten snapshot terstruktur. Parameter ini saling eksklusif dengan ContentUrl. |
|
| Spec |
string |
{"version":"1.1.0"} |
|
| Content |
string |
SELECT 1 |
|
| StageCode |
string |
DEV |
|
| ContentUrl |
string |
URL unduhan pra-tanda tangan OSS. Parameter ini saling eksklusif dengan Content. |
https://oss.example.com/presigned |
Contoh
Respons sukses
JSONformat
{
"RequestId": "0bc14115-1234-5678-ABCD-159376359",
"Snapshot": {
"Id": "8b723a9e8bd443af920b77e39aeb4f63",
"Namespace": "1389623",
"ObjectId": "8467231038932407294",
"Version": 2,
"Type": "Saved",
"Creator": "209508679263509059",
"Comment": "snapshot comment",
"CreateTime": 1782370983000,
"Content": {
"Spec": "{\"version\":\"1.1.0\"}",
"Content": "SELECT 1",
"StageCode": "DEV"
},
"ContentUrl": "https://oss.example.com/presigned"
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | InvalidSnapshot.NotFound | The specified snapshot does not exist. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.