| Name | Description |
|---|---|
| data[type] | Resource type (nodes) |
| data[id] | Node ID |
| data[attributes][name] | Name |
Version: HTTP/1.0 Accept: application/vnd.api+json Content-Type: application/vnd.api+json Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjE1MSwiYXVkIjpbImFkbWluIl0sImV4cCI6MTc0MDg1MzAzNn0.-GYYs1AB7hfL6s3HqzrfHY32jsGF7v7qMemAh1v1Xfs Host: example.org Cookie:
PUT /api/rest/admin/nodes/7
{"data":{"type":"nodes","id":7,"attributes":{"name":"name"}}}
X-Frame-Options: SAMEORIGIN X-XSS-Protection: 0 X-Content-Type-Options: nosniff X-Permitted-Cross-Domain-Policies: none Referrer-Policy: strict-origin-when-cross-origin Content-Type: application/vnd.api+json Vary: Accept ETag: W/"7429812a9c0e62d345b85b2028ea2adf" Cache-Control: max-age=0, private, must-revalidate X-Request-Id: 648db54f-ebef-4082-9133-fa64dc251448 X-Runtime: 0.022895 Content-Length: 348
200 OK
{
"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"
}
}
}
}
}