Changes

stoney core: REST API

86 bytes added, 09:00, 12 February 2014
/* Relations */
=== Relations ===
  Further examples to clarify above explanationResources which stand in relation with each other are represented as URIs (scoping):
* <code>/v1/resellers/4000001/customers</code> -> collection resource (all customers of reseller with uid=4000001)
* <code>/v1/resellers/4000001/customers/4000002</code> -> resource (the customer with uid=4000002 of reseller with uid=4000001)
Relations are always returned as URIs, which the client can hit.
Future Possibilitiespossibilities (sub objects) which aren't currently implemented* 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.
=== Filtering, sorting and searching ===
SLB, editor, reviewer
3,368
edits