Assets
List device asset history
Retrieve the history of a device asset
get/api/v2/assets/devices/{id}/history
Request
- Base URLhttps://console.jumpcloud.com
- AuthAPI key in header x-api-key
- TypeScripthttps://skmtc.dev/jumpcloud/apis/jumpcloud-console-api/docs/api/v2/assets/devices/:id/history/get.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
The device asset ID
Query parameters
limitinteger
Maximum number of results to return
skipinteger
Number of results to skip for pagination
Response
Device asset history retrieved successfully
Example response
{
"results": [
{
"eventType": "ASSET_HISTORY_EVENT_TYPE_NOTE",
"note": "Asset transferred to new department",
"changedFields": [
{
"label": "Status"
}
],
"occurredAt": "2024-01-15T10:30:00",
"actor": {
"id": "507f1f77bcf86cd799439011",
"name": "John Doe",
"type": "ACTOR_TYPE_USER"
},
"actionSource": "ACTION_SOURCE_MANUAL"
}
],
"totalCount": 25
}Changes
No recorded changes to this operation across all 1 revision of this API.