Attributes
Edit an attribute
put/attributes/edit/{attributeId}
Path parameters
Example:12345
UUID or numeric ID of the attribute
Request body
Example request
{
"id": "12345",
"event_id": "12345",
"object_id": "12345",
"object_relation": "sensor",
"value": "127.0.0.1",
"uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
"timestamp": "1617875568",
"sharing_group_id": "1",
"comment": "logged source ip",
"first_seen": "1581984000000000",
"last_seen": "1581984000000000"
}Response
An attribute
Example response
{
"Attribute": {
"id": "12345",
"event_id": "12345",
"object_id": "12345",
"object_relation": "sensor",
"value": "127.0.0.1",
"uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
"timestamp": "1617875568",
"sharing_group_id": "1",
"comment": "logged source ip",
"first_seen": "1581984000000000",
"last_seen": "1581984000000000"
}
}