Changes

stoney core: REST API

912 bytes added, 10:06, 13 November 2013
* On the Yii PHP Framework Homepage: [http://www.yiiframework.com/extensions/?tag=api Extensions tagged with "api"]
* [http://www.yiiframework.com/extension/yii-apiauth/ yii-apiauth]
 
== Service implementation details ==
=== Base URI ===
The RESTful token web service has to be accessible via a secure HTTP (HTTPS) base URI, for instance <code>https://api.example.com/v1/tokens</code>.
The definition of the base URI is up to the provider of the service. The only requirements are the use of HTTPS and the presence of the service's version information, so that further changes are possible without breaking existing clients.
 
=== Client authentication ===
The service needs to authenticate each client via HTTP basic authentication by a user name and a corresponding password.
 
=== Data interchange format ===
The service needs to accept and send all data in the JSON data interchange format via HTTP, encoded as UTF-8. Thus a client needs to accept and use the [http://tools.ietf.org/html/rfc4627 <code>application/json</code>] media type. Further media types might be supported in the future.
[[Category:Development]]
SLB
385
edits