The project's live storeys with their GlobalIds
curl --request GET \ --url https://api.whatsbuilt.fi/v1/projects/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/storeys \ --header 'Authorization: Bearer <token>'Every storey (IfcBuildingStorey) of the project’s current models, by building and elevation. Find an element’s storey by its building_name and storey_name. Several models may each have a storey of the same name; any of them anchors a point, and the app uses the one with the most elements.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”The storeys
Storeys: the project’s live storeys.
object
Storey: a live storey of the project’s current models.
object
Send it as storey_global_id
Matches building_name on elements
Live elements whose storey_name is this storey’s name in the same model
Example generated
{ "data": [ { "global_id": "example", "name": "example", "long_name": "example", "building_name": "example", "elevation_m": 1, "elements": 1 } ]}VALIDATION_ERROR for a malformed project id
The error body of every /v1 answer of 400 or more.
object
A sentence for people; it may change
Part of the contract
What the code names, where it names something
The X-Request-Id of the call
Example generated
{ "error": "example", "code": "example", "details": "example", "request_id": "example"}Missing, malformed, expired or revoked token
The error body of every /v1 answer of 400 or more.
object
A sentence for people; it may change
Part of the contract
What the code names, where it names something
The X-Request-Id of the call
Example generated
{ "error": "example", "code": "example", "details": "example", "request_id": "example"}INSUFFICIENT_SCOPE; INSUFFICIENT_PROJECT_ROLE when the project is not the integration’s; PUBLIC_API_DISABLED when the project’s owning organisation has turned the API off
The error body of every /v1 answer of 400 or more.
object
A sentence for people; it may change
Part of the contract
What the code names, where it names something
The X-Request-Id of the call
Example generated
{ "error": "example", "code": "example", "details": "example", "request_id": "example"}RATE_LIMITED; wait for Retry-After seconds
The error body of every /v1 answer of 400 or more.
object
A sentence for people; it may change
Part of the contract
What the code names, where it names something
The X-Request-Id of the call
Example generated
{ "error": "example", "code": "example", "details": "example", "request_id": "example"}