GetProgress
Queries the migration partitions, data volume, and node progress for each data source of the current user in the current region by using paging.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
odps:GetMmsProgress |
get |
*All Resource
|
None | None |
Request syntax
GET /api/v1/mms/observation/progress HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| pageNum |
integer |
No |
The page number. Default value: 1. |
1 |
| pageSize |
integer |
No |
The number of data sources to return on each page. Default value: 10. |
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
ApiRes<PagedListDTO |
||
| requestId |
string |
The request ID. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
| data |
object |
The paging query results. |
|
| total |
integer |
The total number of data sources that meet the query conditions. |
2 |
| objectList |
array<object> |
The list of migration progress for each data source. |
|
|
object |
|||
| sourceId |
integer |
The ID of the data source. |
123 |
| sourceName |
string |
The name of the data source. |
source_demo |
| partitionDone |
integer |
The number of migrated partitions. |
80 |
| partitionTodo |
integer |
The number of partitions pending migration. |
20 |
| sizeDone |
integer |
The amount of migrated data, in bytes. |
1073741824 |
| sizeTodo |
integer |
The amount of data pending migration, in bytes. |
536870912 |
| taskDone |
integer |
The number of completed migration tasks. |
20 |
| taskDoing |
integer |
The number of running migration tasks. |
1 |
| taskTodo |
integer |
The number of pending or failed migration tasks. |
4 |
| pageNum |
integer |
The current page number. |
1 |
| pageSize |
integer |
The number of data sources returned on the current page. |
10 |
Examples
Success response
JSON format
{
"requestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E",
"data": {
"total": 2,
"objectList": [
{
"sourceId": 123,
"sourceName": "source_demo",
"partitionDone": 80,
"partitionTodo": 20,
"sizeDone": 1073741824,
"sizeTodo": 536870912,
"taskDone": 20,
"taskDoing": 1,
"taskTodo": 4
}
],
"pageNum": 1,
"pageSize": 10
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.