Sources
GET /v1/source/status
Description
Fetch health and logs for all defined sources.
Header Parameters
Param | Type | Required | Description |
| string | yes | Bearer token containing API key |
Example Response
GET /v1/source/status/{id}
Description
Get health and logs data for a given source.
Header Parameters
Param | Type | Required | Description |
| string | yes | Bearer token containing API key |
Path Parameters
Param | Type | Required | Description |
| uuid | yes | ID of the source |
Example Response
PUT /v1/source/{id}/pause
Description
No response body, only 200 on success, otherwise a blunder error is returned on non-200 codes
Header Parameters
Param | Type | Required | Description |
| string | yes | Bearer token containing API key |
Path Parameters
Param | Type | Required | Description |
| string | yes | ID of the source you want to pause |
CURL
Path Parameters
RequestVariable should respect the following schema:
PUT /v1/source/{id}/resume
Description
No response body, only 200 on success, otherwise a blunder error is returned on non-200 codes
Header Parameters
Param | Type | Required | Description |
| string | yes | Bearer token |
Path Parameters
Param | Type | Required | Description |
| string | yes | ID of the source you want to resume |
PUT /v1/source
Description
Update a source's configuration.
Header Parameters
Param | Type | Required | Description |
| string | yes | Bearer token containing API key |
Body parameters
Param | Type | Required | Description |
| int | no | 1 or 2. Changes the number of plumber instances ran |
| string | no | Changes the version of the plumber docker image running |
| object | no | If specified, ALL plumber arguments must be passed. The value in the database will be overwritten |
Example Response
DELETE /v1/source/{id}
Description
No response is returned, only 200 on success.
Header Parameters
Param | Type | Required | Description |
| string | yes | Bearer token containing API key |
Example Response
Empty response body.
GET /v1/help/plumber-args
Description
When creating a source, a list of environment variables and values must be passed which define how plumber acts.
This endpoint lists all available arguments under a key->value object where the key is the relay type.
There is also a shared
key with variables that must be passed for all source types
Under each key is another key->value object of PLUMBER_ENVAR -> Variable Info objects which contains additional information about the variable
Header Parameters
Param | Type | Required | Description |
| string | yes | Bearer token containing API key |
Example response
Variable Info Objects
The key is name of the input field
order_key
- Defines the order in which the field should be presented in the form to the user. Maps in golang cannot be ordered, so the output of this endpoint will vary each time it is called
description
- Description of the field to display to the customer
required
- Boolean indicating that the key and value must be passed to create calls
type
- Either "string", "int", or "bool". Bools should display as a switch/checkbox. Ints should be a text box, but with validation to ensure only numbers are entered.
POST /v1/source
Description
Create a new source (hosted plumber) resource.
Header Parameters
Param | Type | Required | Description |
| string | yes | Bearer token containing API key |
Body Parameters
Param | Type | Required | Description |
| string | yes | Friendly name used for client display only |
| string | yes | Only accepts |
| int | yes | Number of plumber instances to run, 1 or 2 |
| uuid | yes | The collection that this source will feed in to |
| string | yes | Plumber docker container tag to run. Just pass |
| object | yes | Key->Value JSON object of plumber environment variables to run plumber with. These can be obtained from |
Example response
GET - /v1/source/{id}
Description
Retrieve all information about a single source.
Header Parameters
Param | Type | Required | Description |
| string | yes | Bearer token containing API key |
Path Parameters
Param | Type | Required | Description |
| uuid | yes | ID of the source you want to fetch |
Example Response
GET - /v1/source
Description
Get all defined sources.
Header Parameters
Param | Type | Required | Description |
| string | yes | Bearer token containing API key |
Example Response
Last updated