Skip to content

List a location's effective properties

GET
/locations/{name}/properties
curl --request GET \
--url https://example.com/api/v1/locations/example/properties

Every property the location’s type declares, resolved to the location’s own value or the contract default (is_set marks the override), plus any property set directly on the location (from_contract false). Gated by location:read; an out-of-scope location is a non-disclosing 404.

name
required

The location’s unique name

string

The location’s unique name

OK

Media type application/json
object
$schema

A URL to the JSON Schema for this object.

string format: uri
location
required
string
properties
required
Array<object> | null
object
data_type
required

The declared value type, from the property catalog

string
default_value

The contract default; omitted when the contract sets none

display_name

The property’s human label; omitted when unset

string
from_contract
required

True when the component’s product declares the property; false for one set directly on the component

boolean
is_set
required

True when the component overrides the contract default

boolean
property_type_id
required

The catalog property’s uuid, the stable form of property_type_name

string
property_type_name
required

The catalog property name

string
required
required

Whether the product contract requires a value; always false off-contract

boolean
set_value

The component’s override; omitted when the property is unset

value

The effective value: the override, or the contract default when unset

value_id

The stored value’s id when set; omitted when the property is unset

string
Example
{
"$schema": "/api/v1/schemas/LocationPropertiesOutputBody.json"
}

Error

Media type application/problem+json
object
$schema

A URL to the JSON Schema for this object.

string format: uri
detail

A human-readable explanation specific to this occurrence of the problem.

string
errors

Optional list of individual error details

Array<object> | null
object
location

Where the error occurred, e.g. ‘body.items[3].tags’ or ‘path.thing-id’

string
message

Error message text

string
value

The value at the given location

instance

A URI reference that identifies the specific occurrence of the problem.

string format: uri
status

HTTP status code

integer format: int64
title

A short, human-readable summary of the problem type. This value should not change between occurrences of the error.

string
type

A URI reference to human-readable documentation for the error.

string format: uri
default: about:blank
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"
}