sources
services

Retrieve a service

Changed on

Retrieve a single service by id

get/sources/{id}/services/{srv_id}

Request

  • Base URL
    /chronograf/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    none declared

Path parameters

idstring required

ID of the source

srv_idstring required

ID of the service

Response

Service connection information

idstring

Unique identifier representing a service.

sourceIDstring

Unique identifier of the source associated with this service

namestring required

User facing name of the service.

usernamestring

Credentials for using this service

urlstring url required

URL for the service backend (e.g. http://localhost:8093)

insecureSkipVerifyboolean

True means any certificate presented by the service is accepted. Typically used for self-signed certs. Probably should only be used for testing.

typestring

Indicates what kind of service this is (e.g. flux service)

Example response

{
  "id": "1",
  "sourceID": "1",
  "url": "http://localhost:8093",
  "insecureSkipVerify": false,
  "type": "flux",
  "metadata": {
    "active": true
  },
  "links": {
    "proxy": "/chronograf/v1/sources/1/services/1/proxy",
    "self": "/chronograf/v1/sources/1/services/1",
    "source": "/chronograf/v1/sources/1"
  }
}

Changes