Retrieves a paginated list of buildings within an establishment with optional filtering capabilities.
READONLY[ADMIN, USER]Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Session token used for authenticating the request.
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiIxMjM0NTY3ODkwIiwic2Vzc2lvbklkIjoiYWJjZGVmMTIzNDU2IiwiaWF0IjoxNjA1MDk3ODk5LCJleHAiOjE2MDUxODQyOTl9.4XRQ1iXDyvEj5LgPZHbmTmzOZs98M3YPOzgf3MhxjaI"
Content type, must be "application/json".
application/json Unique identifier of the establishment to which the building belongs.
1
Extend options:
"site": Get the site of the building
"plans": Get the plans linked to the builings
"plans-actions-infos": Give information about actions that can be done on the plan
"actions-info": Give information about the origin of the building (commission or intervention)
site, plans, plans-actions-infos, actions-info Filter by building name
"string"
Filter by createdAt date
"2021-01-01T00:00:00.000Z"
Filter by buildings with or without plans
true
Filter by plan name
"string"
Filter by building ID
[1, 2, 3]Filter by building name
"string"
Filter by presence of document
true
Filter by document name
"string"
Filter by presence of layers
true
Filter by layer IDs
[1, 2, 3]Filter by presence of plan items
true
Filter by plan item IDs
[1, 2, 3]Filter by presence of linked site
true
Filter by site IDs
[1, 2, 3]Filter by site name
"string"
Filter by createdAt date
"2021-01-01T00:00:00.000Z"
Filter by updatedAt date
"2021-01-01T00:00:00.000Z"
Filter by global text search
"string"
Include total count in response.
true
Page number.
1
Page size.
50
Get the page where the item with this id is located.
1
Sub page size for grouping items.
10