iotoms Docs

Get a style

GET
/api/v1/catalog/attributes/styles/{id}

Returns one style by its id. The response is the bare object, without the standard {status, message, data} envelope.

Authorization

BearerAuth
headerAuthorizationBearer <JWT>

Path Parameters

id*integer

ID of the record.

Formatint64

Response Body

OK

*/*
  1. response
id?|

Numeric style ID; use it as styleId on items.

Formatint64
name*string

Style name, unique across the catalog.

modifiedTime*string

When the style was last changed (ISO 8601 timestamp).

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