For the moment, our REST API use Apache to provide secure authentification.

You need to add your restrictions in the <Location /ocsapi></Location>. You can restrict access by IP or by user / pass authentification. Please, Refer to apache documentation for this part.

In the future we plan to use a restful process and stop rely on apache configuration.

By default, the API base URI is the following one : http://myocsserver/ocsapi/v1