List a location's effective properties
const url = 'https://example.com/api/v1/locations/example/properties';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/locations/example/propertiesEvery property the location’s type declares, resolved to the location’s own value or the contract default (is_set marks a declared value), plus any property set directly on the location (from_contract false), in the component and system properties read’s shape. A location owns no observed sample, so a row’s reconciliation carries want and never is. Gated by location:read; an out-of-scope location is a non-disclosing 404.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”The location’s name, or a dotted address (e.g. boi.17c.415a)
The location’s name, or a dotted address (e.g. boi.17c.415a)
Responses
Section titled “ Responses ”OK
object
A URL to the JSON Schema for this object.
object
The declared value type, from the property catalog
The contract default; omitted when the contract sets none
True when the component’s product declares the property; false for one set directly on the component
True when the component declares its own value over the contract default
The property’s human label; omitted when unset
The catalog property’s uuid, the stable form of property_type_name
The catalog property name
Where the property stands: what was declared (want), what a command told the owner (told) and what is observed (is), with drift computed on read. Absent on a property only a calc rule writes, since a calculated value is not what anyone asked for
object
True when any live observed instance differs from want; false when nothing is declared, since there is nothing to drift from
The observed value, resolved across every live instance of the property (a deleted endpoint’s frozen reading left out): an instance that disagrees with want if any does (the newest such), else the newest observed; null when nothing observes it
The instance the observed value came from: the endpoint that observed it or the instance its sender named, empty for the owner-level series (and when is is null)
The newest intended value a command set, on any instance; null until commanded
The declared value, resolved live from the cascade (the owner’s set value, else the contract default); null when nothing declares the property
Whether the product contract requires a value; always false off-contract
The component’s declared value; omitted when the property is unset
The calc rule whose calculated sample is the value, by the name it was written under; absent when the value is a declared one or a default
That calc rule’s uuid, the stable form of source_rule
The effective value: the declared value, else a calc rule’s calculated value, else the contract default; omitted for a property nothing declares or calculates (one only observed or told), whose standing is its reconciliation
The stored value’s id when set; omitted when the property is unset
Example
{ "$schema": "/api/v1/schemas/LocationPropertiesOutputBody.json"}default
Section titled “ default ”Error
object
A URL to the JSON Schema for this object.
A human-readable explanation specific to this occurrence of the problem.
Optional list of individual error details
object
Where the error occurred, e.g. ‘body.items[3].tags’ or ‘path.thing-id’
Error message text
The value at the given location
A URI reference that identifies the specific occurrence of the problem.
HTTP status code
A short, human-readable summary of the problem type. This value should not change between occurrences of the error.
A URI reference to human-readable documentation for the error.
Example
{ "$schema": "/api/v1/schemas/ErrorModel.json", "detail": "Property foo is required but is missing.", "instance": "https://example.com/error-log/abc123", "status": 400, "title": "Bad Request", "type": "about:blank"}