获取版本快照详情。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| Id |
string |
是 |
快照唯一 ID |
8b723a9e8bd443af920b77e39aeb4f63 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
0bc14115-1234-5678-ABCD-159376359 |
| Snapshot |
object |
快照 |
|
| Id |
string |
快照唯一 ID |
8b723a9e8bd443af920b77e39aeb4f63 |
| Namespace |
string |
隔离空间 |
1389623 |
| ObjectId |
string |
所属对象唯一 ID |
8467231038932407294 |
| Version |
integer |
版本号 |
2 |
| Type |
string |
快照类型 |
Saved |
| Creator |
string |
提交人工号 |
209508679263509059 |
| Comment |
string |
提交备注 |
snapshot comment |
| CreateTime |
integer |
快照生成时间(毫秒时间戳) |
1782370983000 |
| Content |
object |
结构化快照内容(与 ContentUrl 互斥) |
|
| Spec |
string |
FlowSpec JSON |
{"version":"1.1.0"} |
| Content |
string |
节点脚本内容 |
SELECT 1 |
| StageCode |
string |
阶段代码 |
DEV |
| ContentUrl |
string |
OSS 预签名下载 URL(与 Content 互斥) |
https://oss.example.com/presigned |
示例
正常返回示例
JSON格式
{
"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"
}
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 404 | InvalidSnapshot.NotFound | The specified snapshot does not exist. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。
该文章对您有帮助吗?