Please be aware that Rest.IP has been deprecated for a while and will not be usable in Stud.IP as of version 4.0. Please refer to the Stud.IP core API which can completely replace everything that Rest.IP does.
This plugin is supposed to be a working example of a RESTful webservice implementing authentication by OAuth.
Integration in Stud.IP
Clone this repository including it's submodules:
git clone --recursive firstname.lastname@example.org:studip/studip-rest.ip.git
Create a zip archive of the directory and install it via Stud.IP's plugin manager.
The API is located at installation_url/plugins.php/restipplugin/api for now.
Full german API documentation is available here.
Administration of consumers for root administrators
Root administrators can manage which external apps are allowed to access the api on a new page located in /admin/config.
Applications can be created, updated and deleted there. It is also possible to activate/deactivate a certain app. Access keys are managed here too.
Administration of applications for users
Users can manage which external apps are allowed to access their data on a new page located in /settings/config.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.