get https://example.td.commpeak.com/api/devices
This endpoint makes an HTTP GET request to retrieve a list of devices from the server.
Response
The response will have a status code of 200 and a content type of application/json. The response body will contain an array of "devices" where each device object includes the following properties:
- id (string): The unique identifier of the device.
- name (string): The name of the device.
- extension (string): The extension of the device.
- password (string): The password of the device.
- created_at (string): The timestamp indicating when the device was created.
- updated_at (string): The timestamp indicating when the device was last updated.
- login_user_id (string or null): The ID of the user who last logged into the device, or null if no user has logged in.
- last_login (string or null): The timestamp indicating the last login time, or null if the device has not been logged into.