Job
List all jobs.
get/v1/{tenantId}/jobs
Request
- Base URLhttps://virtserver.swaggerhub.com/open83/crystal/1.0.0
- Authnone declared
Query parameters
type'migration'
Example:migration
Filter the jobs by job type. Only migration support currently. New type will be added in the future.
offsetinteger
The number of items to skip before starting to collect the result set
limitinteger
The numbers of items to return
sortstring
The sort key and direction of items to return, string must like:"id:asc,name:desc"
Response
successful operation.
Example response
{
"jobs": [
{
"Id": "5bd6f273b0bdf90001dc91c3",
"TenantId": "94b280022d0c4401bcf3b0ea85870519",
"UserId": "558057c4256545bd8a307c37464003c9",
"TriggerType": "manual",
"Type": "migration",
"PlanName": "plan001",
"PlanId": "5eaa81fd6f384d000116d1d4",
"SourceLocation": "bucket001",
"DestLocation": "bucket002",
"CreateTime": 1588233982,
"StartTime": 158823398,
"EndTime": 1588233983,
"Status": "succeed",
"TotalCapacity": 287206,
"PassedCapacity": 287206,
"MigratedCapacity": 287206,
"TotalCount": 1,
"PassedCount": 1,
"Progress": 100,
"RemainSource": true
}
],
"next": 1
}Changes
No recorded changes to this operation across all 4 revisions of this API.