# ceph-config

Control settings in ceph.conf for all daemons.
Set management node URL:

# GET /config/available

# Parameters

  • No parameters...

# Endpoint

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

# Response 200

# Example response

{}

# GET /config

# Parameters

  • No parameters...

# Endpoint

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

# Response 200

  • namestring-
  • valueobject-
    • typestring[STRING, INT, DOUBLE, BOOL, TEXT_FILE]
    • valueobject-
  • descriptionstring-
  • unitstring[BYTES, SECONDS]
  • defaultobject-
    • typestring[STRING, INT, DOUBLE, BOOL, TEXT_FILE]
    • valueobject-
  • seeAlsoarray-

# Example response

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

# PUT /config

# Parameters

  • bodyobject-
    • namestring-
    • valueobject-

# Endpoint

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

# Example body

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

# DELETE /config

# Parameters

  • bodyobject-
    • namestring-

# Endpoint

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

# Example body

{
  "name": "string"
}

# GET /config/download/client

# Parameters

  • No parameters...

# Endpoint

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

# Response 200

  • fileNamestring-
  • urlstring-
  • fileContentsstring-

# 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

  • fileNamestring-
  • urlstring-
  • fileContentsstring-

# Example response

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