• CLI

sdk
  1. Help Center
  2. CLI
  3. Developer Guide
  4. Mapping Between API and SDK
  5. Python
  6. MaaS

MaaS

Interface

method

API URL

Version

versions()

GET /v1/{project_id}/objectstorage/version

Task Operations

create_task(**kwargs)

POST /v1/{project_id}/objectstorage/task

delete_task(task,ignore_missing=True)

DELETE /v1/{project_id}/objectstorage/task/{task_id}

start_task(task, source_ak, source_sk, target_ak, target_sk)

PUT /v1/{project_id}/objectstorage/task/{task_id}

stop_task(task)

PUT /v1/{project_id}/objectstorage/task/{task_id}

task_count()

GET /v1/{project_id}/objectstorage/task?totalcount=true&state=0

tasks(**query)

GET /v1/{project_id}/objectstorage/task?start=0&limit=10&state=0

get_task(task_id)

GET /v1/{project_id}/objectstorage/task/{task_id}