Directives
expose- Expose a model via HTTP+JSON
readables- Declare read-only attributes/properties
writables- Declare writable attributes/properties
association- Expose model associations
collection- Expose model class methods returning collections
single- Expose model class methods returning single instances
via_get- Activate a GET route to a model, collection, association or single
via_patch- Activate a PATCH route to a model
via_post- Activate a POST route to a collection or association
via_delete- Activate a GET route to a model
via_link- Activate a GET route to a association
via_unlink- Activate a GET route to a association
allow- Specify authorization handler
handler- Override default handler for GET/PATCH/POST/DELETE/LINK/UNLINK requests
max_window- Set the maximum window size for windowed (paginated) collections