For Developers

List Assets

GET https://ed.link/api/v2/graph/assets

Retrieve a list of all Assets.

Request Parameters

This query allows for filtering results.

This query allows for standard paging parameters.

ParameterLocationTypeDescription
$firstquerynumber

Returns the first n elements from the list.

$lastquerynumber

Returns the last n elements from the list.

$beforequeryuuid

Returns the elements in the list that come before the specified item.

$afterqueryuuid

Returns the elements in the list that come after the specified item.

It is best practice to use either $first or $last in conjunction with the $next value returned by the API to paginate through results.

Sample Request

axios.get('https://ed.link/api/v2/graph/assets', {
    headers: {
        authorization: `Bearer ${integration_access_token}`
    }
});

Sample Response

{
    "$request": "00000000-0000-0000-0000-000000000000",
    "$data": [
        {
            "id": "b35e64fc-09b1-4f8f-95ab-6b875d7fa0c6",
            "created_date": "2022-10-24T17:07:33.987Z",
            "updated_date": "2022-10-24T17:12:01.242Z",
            "name": "Projector A1",
            "description": "Ceiling-mounted projector in Room 101",
            "serial_number": "SN123456789",
            "location_id": "11111111-1111-1111-1111-111111111111",
            "status": "active",
            "purchase_date": "2022-01-01T00:00:00.000Z",
            "expiration_date": "2026-01-01T00:00:00.000Z",
            "manufacturer": "Epson",
            "make": "Epson",
            "model": "EB-X41",
            "category": "Electronics",
            "properties": {}
        }
    ]
}