orb-sinks (1.0.0)

Download OpenAPI specification:Download

sink

List current Sinks

query Parameters
limit
integer [ 1 .. 100 ]
Default: 10

Size of the subset to retrieve.

offset
integer >= 0
Default: 0

Number of items to skip during retrieval.

name
string

Name filter. Filtering is performed as a case-insensitive partial match.

order
string
Default: "id"
Enum: "name" "id"

Order type.

dir
string
Default: "desc"
Enum: "asc" "desc"

Order direction.

header Parameters
Authorization
required
string <jwt>

User's access token.

Responses

Response samples

Content type
application/json
{
  • "sinks": [
    ],
  • "total": 0,
  • "offset": 0,
  • "limit": 0
}

Create a new Sink

header Parameters
Authorization
required
string <jwt>

User's access token.

Request Body schema: application/json

JSON-formatted document describing the new Sink configuration

name
required
string

A unique name label

description
string

User description of this Sink

tags
object

User defined key/values for organization and searching

backend
required
string

The sink backend to use. Must match a backend from /features/sinks. Cannot change once created.

config
required
object

Object representing backend specific configuration information

Responses

Request samples

Content type
application/json
{
  • "name": "my-prom-sink",
  • "description": "An example prometheus sink",
  • "tags": {
    },
  • "backend": "prometheus",
  • "config": {
    }
}

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "name": "my-prom-sink",
  • "description": "An example prometheus sink",
  • "tags": {
    },
  • "state": "active",
  • "error": "string",
  • "backend": "prometheus",
  • "config": {
    },
  • "ts_created": "2019-08-24T14:15:22Z"
}

Get an existing Sink configuration

path Parameters
id
required
string <uuid>

Unique Sink identifier.

header Parameters
Authorization
required
string <jwt>

User's access token.

Responses

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "name": "my-prom-sink",
  • "description": "An example prometheus sink",
  • "tags": {
    },
  • "state": "active",
  • "error": "string",
  • "backend": "prometheus",
  • "config": {
    },
  • "ts_created": "2019-08-24T14:15:22Z"
}

Update an existing Sink configuration

path Parameters
id
required
string <uuid>

Unique Sink identifier.

header Parameters
Authorization
required
string <jwt>

User's access token.

Request Body schema: application/json

JSON-formatted document describing the updated Sink configuration

name
string

A unique name label

description
string

User description of this Sink

tags
object

User defined key/values for organization and searching

config
object

Object representing backend specific configuration information

Responses

Request samples

Content type
application/json
{
  • "name": "my-prom-sink",
  • "description": "An example prometheus sink",
  • "tags": {
    },
  • "config": {
    }
}

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "name": "my-prom-sink",
  • "description": "An example prometheus sink",
  • "tags": {
    },
  • "state": "active",
  • "error": "string",
  • "backend": "prometheus",
  • "config": {
    },
  • "ts_created": "2019-08-24T14:15:22Z"
}

Delete an existing Sink configuration

path Parameters
id
required
string <uuid>

Unique Sink identifier.

header Parameters
Authorization
required
string <jwt>

User's access token.

Responses

Response samples

Content type
application/json
"string"

List supported Sink backends and their configuration parameters

header Parameters
Authorization
required
string <jwt>

User's access token.

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get an existing Sink backend configuration

path Parameters
id
required
string <uuid>

Unique Backend identifier.

header Parameters
Authorization
required
string <jwt>

User's access token.

Responses

Response samples

Content type
application/json
{
  • "backend": "prometheus",
  • "description": "Prometheus time series database sink",
  • "config": [
    ]
}

validate a sink configuration without saving it

header Parameters
Authorization
required
string <jwt>

User's access token.

Request Body schema: application/json

JSON-formatted document describing the new Sink configuration

name
required
string

A unique name label

description
string

User description of this Sink

tags
object

User defined key/values for organization and searching

backend
required
string

The sink backend to use. Must match a backend from /features/sinks. Cannot change once created.

config
required
object

Object representing backend specific configuration information

Responses