Mempratinjau konten versi set data yang ditentukan. Saat ini hanya pratinjau file teks yang didukung untuk set data tipe OSS. Tipe MIME yang didukung 1. application/json 2. application/xml 3. text/html 4. text/plain 5. application/octet-stream
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:PreviewDatasetVersion |
get |
*全部资源
|
None | None |
Sintaks permintaan
GET HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Id |
string |
Yes |
ID versi set data |
dataworks-datasetVersion:3pXXXb8o0ngr07njhps1 :2 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema Respons |
||
| RequestId |
string |
ID permintaan |
A6C6B486-E3A2-5D52-9E76-D9380485DXXX |
| Success |
boolean |
Menunjukkan apakah permintaan berhasil. |
true |
| PreviewResult |
object |
Hasil pratinjau |
|
| SupportPreview |
boolean |
Ketersediaan pratinjau |
true |
| MimeType |
string |
Tipe MIME |
text/plain |
| FileName |
string |
Nama file |
parth/data.csv |
| Content |
string |
Konten |
this is content |
Contoh
Respons sukses
JSONformat
{
"RequestId": "A6C6B486-E3A2-5D52-9E76-D9380485DXXX",
"Success": true,
"PreviewResult": {
"SupportPreview": true,
"MimeType": "text/plain",
"FileName": "parth/data.csv",
"Content": "this is content"
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.