Create a Datasource

Create a new Datasource

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Datasource that should be created

A datasource object. Contains enough information to orchestrate the creation of Senaps resources to permit the ingestion of data.

string

Generated field. May be omitted in POST. Expected format: UUIDv4

string
required

Short, human readable name

string | null
required

Human readable datasource description

string
enum
required

Type of datasource

Allowed:
string
required

Senaps Organisation ID for an organisation that is considered to 'own' this datasource.

string | null
required

Senaps Group ID for a group that is considered to 'own' this datasource.

boolean
required

Controls whether the datasource will be active in the platform. Disable to stop data being ingested.

config
object
required

A configuration object for the datasource matching one of the supported configuration schemas.
Should have its 'type' field set to the same value as the datasource 'type' field. Failure to do this will result
in serialisation errors or rejection of your request.

Responses

401

Authentication required

403

Unauthorised

500

Internal server error

Language
Credentials
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json