Changes

stoney core: REST API

555 bytes added, 11:16, 13 November 2013
/* Relations */
=== Relations ===
If a relation can only exist within another resource, it will be represent by its URI, for example: <code>/threads/123/messages/45</code>. This URI represents the message with ID #45 of the forum thread with ID #123.
 
If a resources can stand by its own, such as users it won't be added as a sub-resource.
Relations are always returned as URIs, which the client can hit.
 
@TBD: Shall there be a functionality to request the embedding of elements, for relations that are commonly requested alongside the resource?
 
=== Filtering, sorting and searching ===
[[Category:Development]]
SLB
385
edits