This is concept documentation for OrientDB RESTful JSON API server for PHP.
Status: DRAFT
Implementation of OAuth2 server with 2 and 3-legged authorization.
https://github.com/bshaffer/oauth2-server-php
Connection to OrientDB is made on behalf of OAuth authenticated user - mapped to OUser. This allows using standard OrientDB security features like record level security.
TODO
POST
http://www.orientechnologies.com/docs/last/orientdb.wiki/OrientDB-REST.html#batch
GET - /document/:rid[/:fetchPlan]
http://www.orientechnologies.com/docs/last/orientdb.wiki/OrientDB-REST.html#get---document
POST - /document
http://www.orientechnologies.com/docs/last/orientdb.wiki/OrientDB-REST.html#post---document
PUT - /document/:rid[?updateModel=full|partial]
http://www.orientechnologies.com/docs/last/orientdb.wiki/OrientDB-REST.html#put---document
DELETE - /document/:rid
http://www.orientechnologies.com/docs/last/orientdb.wiki/OrientDB-REST.html#delete---document
http://www.orientechnologies.com/docs/last/orientdb.wiki/OrientDB-REST.html#get---query
http://www.orientechnologies.com/docs/last/orientdb.wiki/OrientDB-REST.html#post-and-get---function