Skip to main content
GET
/
devices
/
{macAddress}
/
change-events
Get Device Change Events
curl --request GET \
  --url https://api.altostrat.io/arp/devices/{macAddress}/change-events \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "device_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "event_type": "ip_changed",
    "mac_address": "00:1A:2B:3C:4D:5E",
    "old_value": "192.168.1.50",
    "new_value": "192.168.1.100",
    "details": {},
    "notification_sent": true,
    "notification_sent_at": "2023-11-07T05:31:56Z",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
]

Authorizations

Authorization
string
header
required

Enter the Bearer token (obtained via authentication or provided internally).

Path Parameters

macAddress
string
required

MAC address of the device

Query Parameters

event_type
string

Filter by event type.

Maximum length: 50
sort_by
enum<string>
default:created_at
Available options:
created_at,
event_type
sort_direction
enum<string>
default:desc
Available options:
asc,
desc

Response

A list of change event records.

id
string<uuid>
device_id
string<uuid>
event_type
string

Type of change detected.

Example:

"ip_changed"

mac_address
string
Example:

"00:1A:2B:3C:4D:5E"

old_value
string | null
Example:

"192.168.1.50"

new_value
string | null
Example:

"192.168.1.100"

details
object | null

Additional JSON details about the event.

notification_sent
boolean
notification_sent_at
string<date-time> | null
created_at
string<date-time>
updated_at
string<date-time>
I