Write to a single attribute
PUT/asset/:assetId/attribute/:attributeName
Write to a single attribute
Request
Path Parameters
assetId stringrequired
attributeName stringrequired
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}$
name stringrequired
Possible values: Value must match regular expression ^\w+$
failure string
Possible values: [ASSET_NOT_FOUND
, ATTRIBUTE_NOT_FOUND
, INSUFFICIENT_ACCESS
, INVALID_VALUE
, INTERCEPTOR_FAILURE
, STATE_STORAGE_FAILED
, CANNOT_PROCESS
, QUEUE_FULL
, UNKNOWN
]
{
"ref": {
"id": "string",
"name": "string"
},
"failure": "ASSET_NOT_FOUND"
}
Loading...