Get a subcategory
GET
Returns one catalog subcategory by its numeric id, as the whole response body. Returns 404 if it does not exist.
BearerAuthheader
AuthorizationBearer <JWT>id*integerID of the record.
Format
int64OK
*/*- response
id?|Numeric subcategory ID; use it as subcategoryId on items.
Format
int64name*stringSubcategory name, unique across the catalog.
modifiedTime*stringTimestamp stored when the subcategory was created (ISO 8601). Renaming it does not change it.
Format
date-timeExample Request
curl -X GET 'https://beta.iotoms.com/api/v1/catalog/attributes/subcategories/0'Example Response
{ "id": 0, "name": "string", "modifiedTime": "2019-08-24T14:15:22Z"}