Daemonapi
DaemonApi
| Method | HTTP request | Description |
|---|---|---|
| httpdaeget | GET /v1/daemon | Retrieve various cluster and node information based on the 'what' query parameter. Supports multiple types: BMD (bucket metadata), NodeStatsAndStatus, SysInfo, Smap (cluster map), and more. (compare w/ httpcluget) |
| httpdaepost | POST /v1/daemon | Admin operations like joining cluster or forcing primary selection |
| httpdaeput | PUT /v1/daemon | Configure daemon settings and perform daemon operations |
httpdaeget
Object httpdaeget(what)
Retrieve various cluster and node information based on the 'what' query parameter. Supports multiple types: BMD (bucket metadata), NodeStatsAndStatus, SysInfo, Smap (cluster map), and more. (compare w/ httpcluget)
Example: Get daemon
curl -i -L -X GET \
'AIS_ENDPOINT/v1/daemon?what=<value>'
Parameters
| Name | Type | Description |
|---|---|---|
| what | String | \ |
Return type
Object
HTTP request headers
- Content-Type: Not defined
- Accept: /
httpdaepost
Object httpdaepost(can, prp)
Admin operations like joining cluster or forcing primary selection
Example: Post daemon
curl -i -L -X POST \
'AIS_ENDPOINT/v1/daemon?can=<value>&prp=<value>'
Parameters
| Name | Type | Description |
|---|---|---|
| can | String | candidate for the primary proxy (voting ID, force URL) |
| prp | Boolean | 2-phase commit where 'true' corresponds to 'begin'; usage: (primary election; set-primary) |
Return type
Object
HTTP request headers
- Content-Type: Not defined
- Accept: /
httpdaeput
Object httpdaeput(frc)
Configure daemon settings and perform daemon operations
Example: Put daemon
curl -i -L -X PUT \
'AIS_ENDPOINT/v1/daemon?frc=<value>'
Parameters
| Name | Type | Description |
|---|---|---|
| frc | Boolean | Force operation to override restrictions |
Return type
Object
HTTP request headers
- Content-Type: Not defined
- Accept: /