Skip to main content
POST
Create a data-stream.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string<trimmed-non-empty>
required

A name.

Minimum string length: 1
slug
string
required

The DataStream's slug. Used for SEO/URLs.

Minimum string length: 1
Pattern: ^[a-zA-Z0-9-_.:]+$
content
object
tags
string<trimmed-non-empty>[]

A tag. Useful for searching and cataloging

Minimum string length: 1
category
string<trimmed-non-empty>

The DataStream's category. Useful for searches and cataloging.

Minimum string length: 1
offers
object[]
data_rules
object

Data rules capture the rules around how the data is handled within a data stream. The starting point might be an already predefined and active dataset(s) or the global data attributes on the platform.

Data rules might apply further filtering on the data being ingested and exported through the stream.

auth_rules
object

Response

OK

id
string<uuid>
company_id
integer<int64>

The id of an existing company

Example:

345

name
string<trimmed-non-empty>

A name.

Minimum string length: 1
slug
string

The DataStream's slug. Used for SEO/URLs.

Minimum string length: 1
Pattern: ^[a-zA-Z0-9-_.:]+$
content
object
tags
string<trimmed-non-empty>[]

A tag. Useful for searching and cataloging

Minimum string length: 1
category
string<trimmed-non-empty>

The DataStream's category. Useful for searches and cataloging.

Minimum string length: 1
offers
object[]
data_rules
object

Data rules capture the rules around how the data is handled within a data stream. The starting point might be an already predefined and active dataset(s) or the global data attributes on the platform.

Data rules might apply further filtering on the data being ingested and exported through the stream.

auth_rules
object
created_by
integer<int64>

Unique id from a user who created it.

Example:

20

created_at
string

The instant this data-stream came into existence.

Example:

"2021-06-24T00:54:40.029056Z"

updated_at
string

The instant this data-stream was last updated.

Example:

"2021-06-24T00:54:40.029056Z"