Settings
The method reference for using the Ceph RESTful API settings endpoint to manage
the various Ceph settings.
GET /api/settings
- Description
-
Display the list of available options
- Parameters
-
-
Queries:
-
names- A comma-separated list of option names.
-
Example
GET /api/settings HTTP/1.1
Host: example.com
- Status Codes
-
-
200 OK – Okay.
-
PUT /api/settings
- Status Codes
-
-
200 OK – Okay.
-
DELETE /api/settings/_NAME
- Parameters
-
-
Replace
NAMEwith the option name as a string.
-
- Status Codes
-
-
202 Accepted – Operation is still executing. Please check the task queue.
-
GET /api/settings/_NAME
- Description
-
Display the given option.
- Parameters
-
-
Replace
NAMEwith the option name as a string.
-
Example
GET /api/settings/NAME HTTP/1.1
Host: example.com
- Status Codes
-
-
200 OK – Okay.
-
PUT /api/settings/_NAME
- Parameters
-
-
Replace
NAMEwith the option name as a string.
-
Example
PUT /api/settings/NAME HTTP/1.1
Host: example.com
Content-Type: application/json
{
"value": "STRING"
}
- Status Codes
-
-
200 OK – Okay.
-
Reference
See the Ceph RESTful API for more details.