Existing Casafari API · API v1 · References
Get features
GET
https://api.casafari.com/v1/references/featuresStatic token0 parametersAPI v1
Send Authorization: Token $CASAFARI_TOKEN with your existing API token; see where to get it.
The same path under /api, signed in with a bearer token, is in the REST API reference: GET /api/v1/references/features.
Description
Returns a list of all possible property features.
Example request
Placeholders only: replace the token and the values with your own.
curl "https://api.casafari.com/v1/references/features" \
-H "Authorization: Token $CASAFARI_TOKEN"Responses
200
Type: object[].
Show the response shape (2 fields)
groupstringrequiredName of the group of features.
namesstring[]requiredList of feature names that belong to a specific group.
Example from the API description (long arrays shortened)
{
"features": [
{
"group": "floor",
"names": [
"no_floor",
"ground"
]
},
{
"group": "orientation",
"names": [
"exterior",
"interior"
]
}
]
}401 Unauthorized
Type: object.
Show the response shape (1 fields)
detailstringDescription of the error encountered.
403 Forbidden
Type: object.
Show the response shape (1 fields)
detailstringDescription of the error encountered.