Grafana

The method reference for using the Ceph RESTful API grafana endpoint to manage Grafana.

POST /api/grafana/dashboards

Status Codes
  • 201 Created – Resource created.

  • 202 Accepted – Operation is still executing. Please check the task queue.

  • 400 Bad Request – Operation exception. Please check the response body for details.

  • 401 Unauthorized – Unauthenticated access. Please login first.

  • 403 Forbidden – Unauthorized access. Please check your permissions.

  • 500 Internal Server Error – Unexpected error. Please check the response body for the stack trace.

GET /api/grafana/url

Description
List the Grafana URL instance.
Example
GET /api/grafana/url HTTP/1.1
Host: example.com
Status Codes
  • 200 OK – Okay.

  • 400 Bad Request – Operation exception. Please check the response body for details.

  • 401 Unauthorized – Unauthenticated access. Please login first.

  • 403 Forbidden – Unauthorized access. Please check your permissions.

  • 500 Internal Server Error – Unexpected error. Please check the response body for the stack trace.

GET /api/grafana/validation/_PARAMS

Parameters
  • Replace PARAMS with a string value.

Example
GET /api/grafana/validation/PARAMS HTTP/1.1
Host: example.com
Status Codes
  • 200 OK – Okay.

  • 400 Bad Request – Operation exception. Please check the response body for details.

  • 401 Unauthorized – Unauthenticated access. Please login first.

  • 403 Forbidden – Unauthorized access. Please check your permissions.

  • 500 Internal Server Error – Unexpected error. Please check the response body for the stack trace.