ceph-config

Control settings in ceph.conf for all daemons.

GET /config

Parameters

No parameters...

Endpoint

curl -X GET http://mgmt-node:8080/api/config
                

Response 200

name
string
optional
-
value
object
optional
-
description
string
optional
-
unit
string
optional
[BYTES, SECONDS]
default
object
optional
-
seeAlso
array
optional
-

Example response

[
  {
    "name": "string",
    "value": {
      "type": "STRING",
      "value": {}
    },
    "description": "string",
    "unit": "BYTES",
    "default": {
      "type": "STRING",
      "value": {}
    },
    "seeAlso": [
      "string"
    ]
  }
]
                  

PUT /config

Parameters

body
object
optional
-

Endpoint

curl -X PUT http://mgmt-node:8080/api/config
                

Example body

{
  "name": "string",
  "value": {}
}
                

DELETE /config

Parameters

body
object
optional
-

Endpoint

curl -X DELETE http://mgmt-node:8080/api/config
                

Example body

{
  "name": "string"
}
                

GET /config/rgw-ssl-cert

Parameters

No parameters...

Endpoint

curl -X GET http://mgmt-node:8080/api/config/rgw-ssl-cert
                

Response 200

Example response

"string"
                  

PUT /config/rgw-ssl-cert

Parameters

body
object
optional
-

Endpoint

curl -X PUT http://mgmt-node:8080/api/config/rgw-ssl-cert
                

Example body

{
  "certificate": "string",
  "doRollingRestart": true
}
                

Response 200

object
string
optional
-
done
boolean
optional
-
result
object
optional
-
question
object
optional
-
id
integer
optional
-
statusCode
integer
optional
-
startedAt
integer
optional
-
startedBy
string
optional
-
name
string
optional
-
state
string
optional
[WAITING, RUNNING, FINISHED, FAILED, CANCELED]
output
string
optional
-

Example response

{
  "object": "string",
  "done": true,
  "result": {},
  "question": {
    "token": "string",
    "message": "string",
    "defaultResponse": "string",
    "responseOptions": [
      "string"
    ],
    "priority": "Standard",
    "timeout": 0,
    "timeLeft": 0
  },
  "id": 0,
  "statusCode": 0,
  "startedAt": 0,
  "startedBy": "string",
  "name": "string",
  "state": "WAITING",
  "output": "string"
}
                  

GET /config/available

Parameters

No parameters...

Endpoint

curl -X GET http://mgmt-node:8080/api/config/available
                

Response 200

Example response

{}
                  

GET /config/download/client

Parameters

No parameters...

Endpoint

curl -X GET http://mgmt-node:8080/api/config/download/client
                

Response 200

fileName
string
optional
-
url
string
optional
-
fileContents
string
optional
-

Example response

{
  "fileName": "string",
  "url": "string",
  "fileContents": "string"
}
                  

GET /config/download/full

Parameters

No parameters...

Endpoint

curl -X GET http://mgmt-node:8080/api/config/download/full
                

Response 200

fileName
string
optional
-
url
string
optional
-
fileContents
string
optional
-

Example response

{
  "fileName": "string",
  "url": "string",
  "fileContents": "string"
}