Interface PlaceHistoryQueryOptions

Mapping of available query parameters for the history index endpoint

interface PlaceHistoryQueryOptions {
    actions?: string | string[];
    correlation_id?: string;
    exclude_resource_types?: string | string[];
    limit?: number;
    offset?: number;
    period_end?: number;
    period_start?: number;
    resource_id?: string;
    resource_types?: string | string[];
    user_id?: string;
}

Properties

actions?: string | string[]

Only return these kinds of change

correlation_id?: string

Only return changes related to this parent, i.e. a group, playlist or booking

exclude_resource_types?: string | string[]

Exclude changes to these resource types (table names)

limit?: number

Number of results to return. Defaults to 100. Max 10000

offset?: number

Offset of the results to return

period_end?: number

Only return changes made before this time, as a unix epoch in seconds

period_start?: number

Only return changes made at or after this time, as a unix epoch in seconds

resource_id?: string

Only return changes to this resource, usually combined with resource_types

resource_types?: string | string[]

Only return changes to these resource types (table names)

user_id?: string

Only return changes made by this user