Skip to content

kapitchi/orientdb-api-server-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

OrientDB RESTful JSON API server for PHP

This is concept documentation for OrientDB RESTful JSON API server for PHP.

Status: DRAFT

OAuth authentication

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

Exposed OrientDB APIs

/batch

POST

http://www.orientechnologies.com/docs/last/orientdb.wiki/OrientDB-REST.html#batch

/document[/:rid[/:fetchPlan]

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

/sql/:queryText[/:fetchPlan]

http://www.orientechnologies.com/docs/last/orientdb.wiki/OrientDB-REST.html#get---query

/function/:name[/:argument*]

http://www.orientechnologies.com/docs/last/orientdb.wiki/OrientDB-REST.html#post-and-get---function

About

OrientDB RESTful JSON API server for PHP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published