curl --request GET \
--url https://api-dev.narrative.io/schema-presets/public{
"records": [
{
"id": 19,
"company_id": 1,
"created_at": "2021-09-29T15:20:56.44361",
"archived_at": null,
"name": "Age",
"description": "A person's age gathered from registrations and surveys.",
"scope": "public",
"based_on_preset_id": null,
"status": "active",
"icon": "http://icon.com/age.png",
"display_color": "#FFFFFF",
"banner_image": "http://banner.com/age.png",
"tags": [
"age"
],
"details": {
"attributes": [
{
"attribute_id": 1,
"fields": [
{
"field": "age",
"delivered": true,
"filterable": true,
"required": true,
"forecastable": false
}
]
}
]
}
}
]
}List the schema presets that are publicly available.
curl --request GET \
--url https://api-dev.narrative.io/schema-presets/public{
"records": [
{
"id": 19,
"company_id": 1,
"created_at": "2021-09-29T15:20:56.44361",
"archived_at": null,
"name": "Age",
"description": "A person's age gathered from registrations and surveys.",
"scope": "public",
"based_on_preset_id": null,
"status": "active",
"icon": "http://icon.com/age.png",
"display_color": "#FFFFFF",
"banner_image": "http://banner.com/age.png",
"tags": [
"age"
],
"details": {
"attributes": [
{
"attribute_id": 1,
"fields": [
{
"field": "age",
"delivered": true,
"filterable": true,
"required": true,
"forecastable": false
}
]
}
]
}
}
]
}Returns all the schema presets accessible without authentication.
Show child attributes