GetAnnotationData
Retrieves the data structure in the centralized data storage by using the unique identity of the data.
Operation description
The endpoint for this API operation can only be China East 2 (Shanghai) or Singapore.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
log:GetAnnotationData |
get |
*All Resource
|
None | None |
Request syntax
GET /ml/annotationdataset/{datasetId}/annotationdata/{annotationdataId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| datasetId |
string |
No |
The unique identifier of the dataset. |
cb8cc4eb51a85e823471cdb368fae9be |
| annotationdataId |
string |
No |
The unique identifier of the data. |
2156d560fc7c01420542df92cd6365ds |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
| MLDataParam |
The data struct. |
Examples
Success response
JSON format
{
"annotationdataId": "dc74b0f569126bb310e1ba6454c351ac",
"dataHash": "59db060bd89468245d76416a68a510ac",
"datasetId": "cb8cc4eb51a85e823471cdb368fae9be",
"value": "xxx/xxx/xxx/",
"valueType": "oss",
"config": {
"key": "simulator-nginx-demo"
},
"annotations": {
"key": {
"annotatedBy": "3423423543524523412",
"updateTime": 1694761550,
"results": [
{
"key": "SPIKE_UP_TYPE"
}
]
}
},
"predictions": {
"key": {
"annotatedBy": "3423423543524523412",
"updateTime": 1694761550,
"results": [
{
"key": "SPIKE_UP_TYPE"
}
]
}
},
"createTime": 1695094335,
"lastModifyTime": 1695094335
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.