Sources
GET /v1/source/status
Description
Fetch health and logs for all defined sources.
Header Parameters
Example Response
GET /v1/source/status/{id}
Description
Get health and logs data for a given source.
Header Parameters
Path Parameters
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
Path Parameters
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
Path Parameters
PUT /v1/source
Description
Update a source's configuration.
Header Parameters
Body parameters
Example Response
DELETE /v1/source/{id}
Description
No response is returned, only 200 on success.
Header Parameters
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
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
Body Parameters
Example response
GET - /v1/source/{id}
Description
Retrieve all information about a single source.
Header Parameters
Path Parameters
Example Response
GET - /v1/source
Description
Get all defined sources.
Header Parameters
Example Response
Last updated