update values
PUT /api/rest/admin/nodes/:id
Parameters
Name |
Description |
data[type]
|
Resource type (nodes)
|
data[id]
|
Node ID
|
data[attributes][name]
|
Name
|
Request
Headers
Route
PUT /api/rest/admin/nodes/7
Body
{"data":{"type":"nodes","id":7,"attributes":{"name":"name"}}}
Response
Headers
Status
200 OK
Body
{
"data": {
"id": "7",
"type": "nodes",
"links": {
"self": "http://example.org/api/rest/admin/nodes/7"
},
"attributes": {
"name": "name",
"rpc-endpoint": "127.0.0.1:8"
},
"relationships": {
"pop": {
"links": {
"self": "http://example.org/api/rest/admin/nodes/7/relationships/pop",
"related": "http://example.org/api/rest/admin/nodes/7/pop"
},
"data": {
"type": "pops",
"id": "8"
}
}
}
}
}