v1

latestSwagger 2.02026-07-178567199.3 KB
sources
services

Retrieve a service

Retrieve a single service by id

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

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"
  }
}