• CLI

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

IMS

Interface

Method

API

ImageService

Image create(Image image)

POST /v2/images

ActionResponse upload(String imageID,Payload payload,Image image)

PUT /v2/images/{image_id}/file

ActionResponse Delete(String imageID)

DELETE /v2/images/{image_id}

List<? extends Image> list()

GET /v2/images

Image get(String imageID)

GET /v2/images/{image_id}

ActionResponse updateTag(String imageID,String tagkeyvalue)

PUT /v2/images/{image_id}/tags/{tag}

ActionResponse deleteTag(String tagkey,String tagvalue)

DELETE /v2/images/{image_id}/tags/{tag}

List<? extends Member> listMembers(String imageid)

GET /v2/images/{image_id}/members

Member getMember(String imageID,"memberid")

GET /v2/images/{image_id}/members/{member_id}

ActionResponse deleteMember(String imageId,String memberID)

DELETE

/v2/images/{image_id}/members/{member_id}

Member updateMember(String imageid, String memberid, Member.MemberStatus.ACCEPTED));

PUT /v2/images/{image_id}/members/{member_id}