GET
/
features
/
{feature_id}
curl --request GET \
  --url https://api.togai.com/features/{feature_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "feature.1zYnCiM9Bpg.lv25y",
  "name": "DiscountCredits",
  "displayName": "DiscountCredits",
  "schemaAssociations": [
    {
      "schemaName": "event_schema1",
      "attributeName": "distance"
    },
    {
      "schemaName": "event_schema2",
      "attributeName": "time"
    }
  ],
  "createdAt": "2020-01-01T00:00:00Z",
  "updatedAt": "2020-01-01T00:00:00Z"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

feature_id
string
required

feature_id corresponding to a feature

Maximum length: 50
Example:

"feat.fdjskl.sdkjl"

Response

200
application/json

Response for Create and Get Feature requests

Represents a Feature