Skip to main content
GET
/
data-stream
/
company
/
{company_id}
/
slug
/
{slug}
/
schema
Get schema
curl --request GET \
  --url https://api-dev.narrative.io/data-stream/company/{company_id}/slug/{slug}/schema \
  --header 'Authorization: Bearer <token>'
{
  "value": {
    "type": "double"
  },
  "iso_4217_currency": {
    "type": "string"
  },
  "tags": {
    "type": "array",
    "items": {
      "type": "string"
    }
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

company_id
integer<int64>
required

The id of an existing company

slug
string
required

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

Response

200 - application/json

OK

{key}
object