cURL
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" }
Get details of a Feature
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
feature_id corresponding to a feature
50
"feat.fdjskl.sdkjl"
Response for Create and Get Feature requests
Represents a Feature