update values
PUT /api/rest/admin/codec-groups/:id
Parameters
Name |
Description |
data[type]
|
Resource type (codec-groups)
|
data[id]
|
Codec group ID
|
data[attributes][name]
|
Name
|
Request
Headers
Route
PUT /api/rest/admin/codec-groups/17
Body
{"data":{"type":"codec-groups","id":17,"attributes":{"name":"name"}}}
Response
Headers
Status
200 OK
Body
{
"data": {
"id": "17",
"type": "codec-groups",
"links": {
"self": "http://example.org/api/rest/admin/codec-groups/17"
},
"attributes": {
"name": "name"
},
"relationships": {
"codecs": {
"links": {
"self": "http://example.org/api/rest/admin/codec-groups/17/relationships/codecs",
"related": "http://example.org/api/rest/admin/codec-groups/17/codecs"
}
}
}
}
}