Read a resource by its ID.
Usage
read(id)
id: int
The identifier of the resource.
dict
A dictionary with the resource data.
>>> read(1) {'id': 1, 'data': 'loaded'}