Appearance
GraphQL API
In parallel to the REST API we offer a GraphQL API that allows you to run complex queries against your entire portfolio or individual floors.
The GraphQL API leverages our graph-based spatial data format, that describes a layout as a planar graph.
Authentication
You can use the GraphQL endpoint with the same authentication and token scopes like the REST API. REST API Authentication
Get floors
Querying against your entire portfolio. Use filters for complex queries. Optionally you can use pagination
graphql
query {
getFloors {
floors {
id
name
area
}
}
}
For a detailed overview take a look at the resources
Get a floor by id
Query resources inside a specific floor.
graphql
query {
getFloorById(id: <floorId>) {
id,
name,
spaces {
id
area
}
}
}