• CLI

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

MaaS

Interface

method

API URL

Version

osclient.maas().version().get()

GET /v1/{project_id}/objectstorage/version

Task Operations

osclient.maas().task().create(create)

POST /v1/{project_id}/objectstorage/task

osclient.maas().task().delete(taskId)

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

osclient.maas().task().start(taskId, task)

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

osclient.maas().task().stop(taskId)

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

osclient.maas().task().count()

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

osclient.maas().task().list(options)

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

osclient.maas().task().get(taskId)

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