Feature
Get a Feature
Get details of a Feature
GET
/
features
/
{feature_id}
curl --request GET \
--url https://api.togai.com/features/{feature_id} \
--header 'Authorization: <authorization>'
{
"id": "feature.1zYnCiM9Bpg.lv25y",
"name": "DiscountCredits",
"description": "Discount Credits Feature",
"schemaAssociations": [
"event_schema1",
"event_schema2"
],
"createdAt": "2020-01-01T00:00:00Z",
"updatedAt": "2020-01-01T00:00:00Z"
}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
feature_id
string
requiredfeature_id corresponding to a feature
Response
200 - application/json
id
string
requiredname
string
requiredbillableName
string
schemaAssociations
object[]
requiredAssociation of a feature with event_schemas
createdAt
string
requiredupdatedAt
string
curl --request GET \
--url https://api.togai.com/features/{feature_id} \
--header 'Authorization: <authorization>'
{
"id": "feature.1zYnCiM9Bpg.lv25y",
"name": "DiscountCredits",
"description": "Discount Credits Feature",
"schemaAssociations": [
"event_schema1",
"event_schema2"
],
"createdAt": "2020-01-01T00:00:00Z",
"updatedAt": "2020-01-01T00:00:00Z"
}