REST API Specs

43 views
Skip to first unread message

Benjamin BALET

unread,
Jan 13, 2015, 11:28:33 AM1/13/15
to jor...@googlegroups.com
Hi,

The next version will include a REST API. Most of the endpoints are read-only functions except functions allowing to add entitled days to an employee or a contract.

The API uses an OAuth2 server. At this point there is only one scope of permission (let's say that the OAuth2 scope is not used), but the API might contain many scopes.

The controller of the API is into application/controllers/api.php and there is a comprehensive test script into tests/rest/api.php. This PHP code will help you to understand how to interact with this API.

I've opened this thread to discuss specifically about this API. Do not hesitate to give me feedbacks and use case.

PLEASE KEEP THIS TOPIC IN ENGLISH.

Benjamin
Reply all
Reply to author
Forward
0 new messages