iotoms Docs

Get a gallery image

GET
/api/v1/catalog/attributes/image-gallery/{id}

Returns one image gallery entry by id: its image URL and when it was last saved. Fails with not found if the entry does not exist.

Authorization

BearerAuth
headerAuthorizationBearer <JWT>

Path Parameters

id*integer

ID of the record.

Formatint64

Response Body

OK

*/*
  1. response
id?|

Gallery entry identifier. Set by the server; items reference the image by this id.

Formatint64
imageUrl*string

Public URL of the image. Required and must be unique across the gallery.

modifiedTime*string

Date and time (ISO 8601) the entry was last saved. Defaults to the time of saving when omitted.

Formatdate-time
Example Request
curl -X GET 'https://beta.iotoms.com/api/v1/catalog/attributes/image-gallery/0'
Example Response
{  "id": 0,  "imageUrl": "string",  "modifiedTime": "2019-08-24T14:15:22Z"}