create new entry
POST /api/rest/admin/routing/routeset-discriminators
Parameters
Name |
Description |
data[type]
|
Resource type (routeset-discriminators)
|
data[attributes][name]
|
Name
|
Request
Headers
Route
POST /api/rest/admin/routing/routeset-discriminators
Body
{"data":{"type":"routeset-discriminators","attributes":{"name":"name"}}}
Response
Headers
Status
201 Created
Body
{
"data": {
"id": "16",
"type": "routeset-discriminators",
"links": {
"self": "http://example.org/api/rest/admin/routing/routeset-discriminators/16"
},
"attributes": {
"name": "name"
}
}
}