Repository navigation
Open
Description
Could you cross-check if the requestAttributes == false has an effect when creating a target? Nothing critical. Would be good to know however to prevent from wrong expectations and worth a hint in the API docs I guess.
For reproduction the pseudo http file below could be helpful.
@baseUrl = http://localhost:8080
# mgmt api
@basicAuth = <some-base64-encoded-user:pwd>
### mgmt api: create target
POST {{baseUrl}}/rest/v1/targets
Authorization: Basic {{basicAuth}}
Content-Type: application/json
[
{
"name": "target-3",
"description": "Exemplary target",
"controllerId": "3",
"requestAttributes": false
}
]
### mgmt api: get target
GET {{baseUrl}}/rest/v1/targets/6
Authorization: Basic {{basicAuth}}
with a response of...
{
"createdBy": "some-user",
"createdAt": 1760024962956,
"lastModifiedBy": "some-user",
"lastModifiedAt": 1760024962956,
"name": "target-3",
"description": "Exemplary target",
"controllerId": "3",
"updateStatus": "unknown",
"securityToken": "<some-security-token>",
"requestAttributes": true,
"_links": {
"self": {
"href": "http://localhost:8080/rest/v1/targets/3"
},
"assignedDS": {
"href": "http://localhost:8080/rest/v1/targets/3/assignedDS"
},
"installedDS": {
"href": "http://localhost:8080/rest/v1/targets/3/installedDS"
},
"attributes": {
"href": "http://localhost:8080/rest/v1/targets/3/attributes"
},
"actions": {
"href": "http://localhost:8080/rest/v1/targets/3/actions?offset=0&limit=50&sort=id%3ADESC"
},
"metadata": {
"href": "http://localhost:8080/rest/v1/targets/3/metadata"
}
}
}
Metadata
Metadata
Assignees
Labels
No labels
Activity
vasilchev commentedon Jan 26, 2026
Hello,
"requestAttributes" is system field of Targets and you cannot update it externally (via Update 'PUT' if you try to set it to 'false' your request would be rejected with BadRequest 400 / via Create 'POST' it is just ignored)
"requestAttributes" is mainly used in bi-directional protocols (i.e. DMF) where Rollouts request via AMQP Event re-publishing of Target Attributes. Rollouts request it whenever Target finishes installation/download (i.e. after installations to re-publish its attributes as it is assumed that they have changed). Once Target has re-published its attributes , after requestd, System changes 'requestAttributes' to false accordingly.
In Protocols like DDI, there is no Trigger , but only the fields is changing from true to false between installations and Device publishing its attributes - i.e. It will be true as long as Target has finished installation but not yet propagated its attributes via
/{tenant}/controller/v1/{controllerId}/configData, otherwsie it would be 'false'