POST /api/bookmarks
{
"bookmark": {
"public": null,
"controller": "hosts",
"name": "foo-bar",
"query": "bar"
}
}
422
{
"error": {
"id": null,
"errors": {
"public": [
"is not included in the list"
]
},
"full_messages": [
"Public is not included in the list"
]
}
}
| Param name | Description |
|---|---|
|
location_id optional |
Set the current location context for the request Validations:
|
|
organization_id optional |
Set the current organization context for the request Validations:
|
|
bookmark required |
Validations:
|
|
bookmark[name] required |
Validations:
|
|
bookmark[controller] required |
Validations:
|
|
bookmark[query] required |
Validations:
|
|
bookmark[public] optional , nil allowed |
Validations:
|