Skip to main content

ImagesApi

All URIs are relative to http://localhost

MethodHTTP requestDescription
downloadImageInfoBulkByOperationGET /images/operation/downloadDownload specified image's data from the specified operation's ids
downloadImageInfoBulkBySubjectGET /images/subjects/downloadDownload specified image's data from the specified subjects ids
downloadImageInfoByOperationIdGET /images/operation/{id}/downloadDownload specified image's data from the specified operation's id
downloadImageInfoBySubjectIdGET /images/subject/{id}/downloadDownload specified image's data from the specified subject's id
getImageByIdGET /images/id/Get image's information by image and operation id
getImageByUUIDGET /images/uuid/Get image's information by UUID

downloadImageInfoBulkByOperation​

Object downloadImageInfoBulkByOperation(ids, downloadOptions)

Download specified image's data from the specified operation's ids

Parameters​

NameTypeDescriptionNotes
idsListList of operations id's to be downloaded[default to null]
downloadOptionsListSet of images data to be downloaded[default to null] [enum: IMAGE, TOKEN_IMAGE, TEMPLATE]

Return type​

Object

Authorization​

admin-basic, admin-oauth

HTTP request headers​

  • Content-Type: Not defined
  • Accept: application/json, application/octet-stream, /

downloadImageInfoBulkBySubject​

Object downloadImageInfoBulkBySubject(ids, downloadOptions)

Download specified image's data from the specified subjects ids

Parameters​

NameTypeDescriptionNotes
idsListList of subjects id's to be downloaded[default to null]
downloadOptionsListSet of images data to be downloaded[default to null] [enum: IMAGE, TOKEN_IMAGE, TEMPLATE]

Return type​

Object

Authorization​

admin-basic, admin-oauth

HTTP request headers​

  • Content-Type: Not defined
  • Accept: application/json, application/octet-stream, /

downloadImageInfoByOperationId​

Object downloadImageInfoByOperationId(id, downloadOptions)

Download specified image's data from the specified operation's id

Parameters​

NameTypeDescriptionNotes
idIntegerOperation's id[default to null]
downloadOptionsListSet of image's data to be downloaded[default to null] [enum: IMAGE, TOKEN_IMAGE, TEMPLATE]

Return type​

Object

Authorization​

admin-basic, admin-oauth

HTTP request headers​

  • Content-Type: Not defined
  • Accept: application/json, application/octet-stream, /

downloadImageInfoBySubjectId​

Object downloadImageInfoBySubjectId(id, downloadOptions)

Download specified image's data from the specified subject's id

Parameters​

NameTypeDescriptionNotes
idIntegerSubject's id[default to null]
downloadOptionsListSet of image's data to be downloaded[default to null] [enum: IMAGE, TOKEN_IMAGE, TEMPLATE]

Return type​

Object

Authorization​

admin-basic, admin-oauth

HTTP request headers​

  • Content-Type: Not defined
  • Accept: application/json, application/octet-stream, /

getImageById​

Image getImageById(id, width, height, max-bytes)

Get image's information by image and operation id

Parameters​

NameTypeDescriptionNotes
idIntegerImage ID to search with. (ID is unique number generated by the DB)[default to null]
widthIntegerAdjust image width[optional] [default to 0]
heightIntegerAdjust image height[optional] [default to 0]
max-bytesIntegerAdjust jpeg quality to fit into the maximum bytes[optional] [default to 0]

Return type​

Image

Authorization​

user-basic, user-oauth

HTTP request headers​

  • Content-Type: Not defined
  • Accept: application/json, /

getImageByUUID​

Image getImageByUUID(uuid, width, height, max-bytes)

Get image's information by UUID

Parameters​

NameTypeDescriptionNotes
uuidStringUUID to search image by. (UUID is unique generated by the DB)[default to null]
widthIntegerAdjust image width[optional] [default to 0]
heightIntegerAdjust image height[optional] [default to 0]
max-bytesIntegerAdjust jpeg quality to fit into the maximum bytes[optional] [default to 0]

Return type​

Image

Authorization​

user-basic, user-oauth

HTTP request headers​

  • Content-Type: Not defined
  • Accept: application/json, /