SmartGare
API referenceEndpoints

Read what a display point was told to show over a period

**Required permission:** `siv.operator-message:read`

GET/siv/v1/display-points/{id}/operator-messages

Required permission: siv.operator-message:read

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Display point id

Query Parameters

from*string

Inclusive start of the period.

Formatdate-time
to*string

Exclusive end of the period.

Formatdate-time
page?integer

Zero-based page index, at most 10000.

Formatint32
Range0 <= value <= 10000
size?integer

Page size, at most 200.

Formatint32
Range0 <= value <= 200

Response Body

*/*

curl -X GET "https://example.com/siv/v1/display-points/string/operator-messages?from=2019-08-24T14%3A15%3A22Z&to=2019-08-24T14%3A15%3A22Z"
{  "data": [    {      "approved_by": "string",      "created_at": "2019-08-24T14:15:22Z",      "end_mode": "string",      "end_reason": "string",      "ended_at": "2019-08-24T14:15:22Z",      "ended_by": "string",      "ends_at": "2019-08-24T14:15:22Z",      "id": "string",      "priority": "string",      "starts_at": "2019-08-24T14:15:22Z",      "status": "string",      "takeover": {        "approved_at": "2019-08-24T14:15:22Z",        "approved_by": "string",        "ends_at": "2019-08-24T14:15:22Z",        "rule_version_id": "string",        "rule_version_number": 0,        "withdrawn_at": "2019-08-24T14:15:22Z",        "withdrawn_by": "string"      },      "target_display_point_ids": [        "string"      ],      "text": "string"    }  ],  "page": 0,  "size": 0,  "total": 0}