v1

latestOpenAPI 3.0.02026-07-24161215397.4 KB
Resources

Get resource status

Get the status and ownStatus for a specific resource

Required scopes: flex.space.resources.read

get/api/v2/organizations/{orgSlug}/resources/{resourceId}/status

Path parameters

resourceIdstring required

resource id

orgSlugstring required

organization slug

Response

_idstring

The unique identifier of the resource.

statusstring

The current status of the resource (e.g., "available", "occupied", "partially_occupied", "unavailable"). For parent resources with children, this reflects the overall status including children.

ownStatusstring

The status of the parent resource itself, excluding its children. Only present for parent resources with children (e.g., private offices with office desks). This allows distinguishing between the parent resource's own availability and the overall status that includes children. Example: A private office (team_room) with two office desks (desk_tr) where one desk is occupied would have ownStatus="available" (the office itself is not directly occupied) and status="partially_occupied" (accounting for the occupied child desk). For office desks (desk_tr), this represents their own status when the parent office affects their availability.

Example response

{
  "_id": "603dfbc260f4054084125d39",
  "status": "available",
  "ownStatus": "available"
}