List locations
Request Body
Section titled “Request Body”object
object
Only physical locations whose versions diverge: more than one distinct content checksum among the canonical and partner versions.
Only physical locations claimed by the caller’s own scope: an organization-scoped caller matches by claiming organization, a project-scoped caller matches by claiming project. The scope is derived server-side from the caller’s namespace, not client-supplied.
Case-insensitive substring match on the physical location’s external_id.
Case-insensitive substring match on the physical location’s metadata.name.
LocationSort orders rows by a display-summary field (the canonical-first values), external_id ascending by default.
object
- LOCATION_SORT_FIELD_UNSPECIFIED: Defaults to sorting by external_id, ascending.
Responses
Section titled “Responses”A successful response.
object
LocationListItem is one physical location: display values plus every stored version, so a client can expand a row without a second call.
object
The partner version, falling back to the canonical.
object
Summary is the short list-view projection of one stored Location version — a canonical record or one partner’s latest copy.
object
The ids of this version’s Location record.
object
Client defined unique id, shared by every version of the same physical location.
Display name of the location.
The operational status of the location.
Retail chain brand name, e.g. “EDEKA”.
Distribution line / sub-chain name, e.g. “EDEKA Nordbayern”.
Store owner / contract holder name.
City of the location’s address.
Country of the location’s address.
The location’s full address.
object
LocationSource tells which collection a version comes from.
- LOCATION_SOURCE_CANONICAL: The tenant-wide consensus record.
- LOCATION_SOURCE_LATEST: One partner’s latest copy.
The partner’s organization name; empty for the canonical version.
Every stored version of this physical location, canonical first.
LocationVersion is one stored version of a physical location.
object
Summary is the short list-view projection of one stored Location version — a canonical record or one partner’s latest copy.
object
The ids of this version’s Location record.
object
Client defined unique id, shared by every version of the same physical location.
Display name of the location.
The operational status of the location.
Retail chain brand name, e.g. “EDEKA”.
Distribution line / sub-chain name, e.g. “EDEKA Nordbayern”.
Store owner / contract holder name.
City of the location’s address.
Country of the location’s address.
The location’s full address.
object
LocationSource tells which collection a version comes from.
- LOCATION_SOURCE_CANONICAL: The tenant-wide consensus record.
- LOCATION_SOURCE_LATEST: One partner’s latest copy.
The partner’s organization name; empty for the canonical version.
True when the versions carry more than one distinct content checksum.
How many devices are deployed at this physical location, counted across every version (the canonical and every partner’s) regardless of which project claims them — the count pair of LocationsGetResponse.devices.
Example
{ "locations": [ { "resource": { "summary": { "status": "STATUS_UNSPECIFIED" }, "source": "LOCATION_SOURCE_UNSPECIFIED" }, "versions": [ { "summary": { "status": "STATUS_UNSPECIFIED" }, "source": "LOCATION_SOURCE_UNSPECIFIED" } ] } ]}