Changes

stoney core: REST API

188 bytes added, 14:04, 14 November 2013
/* Field specifications and limitations */
=== Field specifications and limitations ===
@TBD: Do we want a possibility to specify which fields should be return on a GET request? This could either be used to save further requests to element URIs, if one fetches items from a collection URL, or to reduce the required amount of data to be transferred if one only uses a few attributes from a response. If yes, a <code>fields</code> query parameter should be added to a resource which takes a comma separated list of field names, such as <code>https://api.example.com/users?fields=firstname,lastname</code>.
 
=== Input validations ===
The service validates all input it receives from a client and returns a <code>422</code> (Unprocessable Entity) HTTP error code with a descriptive error object.
== REST API documentation ==
SLB
385
edits