Write to a single attribute with a timestamp
PUT/asset/:assetId/attribute/:attributeName/:timestamp
Write to a single attribute with a timestamp
Request
Path Parameters
assetId stringrequired
attributeName stringrequired
timestamp int64required
Header Parameters
Authorization string
X-Forwarded-Proto string
X-Forwarded-Host string
- application/json
Body
object
Responses
- default
The result of the write operation
- application/json
- Schema
- Example (from schema)
Schema
ref
object
id string
Possible values: Value must match regular expression ^[0-9A-Za-z]{22}$
The asset identifier
name stringrequired
Possible values: Value must match regular expression ^\w+$
The attribute name
failure string
Possible values: [ASSET_NOT_FOUND
, ATTRIBUTE_NOT_FOUND
, INSUFFICIENT_ACCESS
, INVALID_VALUE
, INTERCEPTOR_FAILURE
, STATE_STORAGE_FAILED
, CANNOT_PROCESS
, QUEUE_FULL
, UNKNOWN
, ASSET_ID_MISSING
, ATTRIBUTE_NAME_MISSING
]
{
"ref": {
"id": "7Bt8M3cXEP6BHPh8r47DYf",
"name": "location"
},
"failure": "ASSET_NOT_FOUND"
}
Loading...