Retrieves the latest version of a list with a specified ID.
List retrieved.
Unauthorized access. Invalid credentials used.
Access forbidden.
Resource not found.
// get the latest version const lastest = await api.lists.get({id: 'foobar-001'}); // get an older version const older = await api.lists.get({id: 'foobar-001', version: 12});
{- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "version": 1,
- "description": "string",
- "values": [
- "string"
], - "createdTime": "2019-08-24T14:15:22Z",
- "updatedTime": "2019-08-24T14:15:22Z",
- "_links": [
- {
- "href": "string",
- "rel": "self"
}
]
}