Skip to content

Read one property series' change history

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

The change history behind the effective value for one property series, newest first, windowed (hours) and capped (limit, newest kept). Gated by system:read; an out-of-scope owner is a non-disclosing 404.

name
required

The owner’s name or uuid

string

The owner’s name or uuid

property
required

The property_type name of the series

string

The property_type name of the series

hours

The window in hours, counted back from now; 24 when unset

integer format: int64
>= 1 <= 720

The window in hours, counted back from now; 24 when unset

limit

The row cap, newest kept; 500 when unset

integer format: int64
>= 1 <= 2000

The row cap, newest kept; 500 when unset

OK

Media type application/json
object
$schema

A URL to the JSON Schema for this object.

string format: uri
owner
required

The owner’s name

string
property
required

The series’ property_type name

string
samples
required

Newest first: the change history behind the effective value

Array<object> | null
object
instance

The series discriminator, when set

string
provenance
required

Observed, declared, or calculated

string
source
string
ts
required

When the value was observed

string format: date-time
value
required
string
Example
{
"$schema": "/api/v1/schemas/PropertySeriesOutputBody.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"
}