Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
An alternative, RESTful approach to web services for Stud.IP implementing OAuth
branch: master

This branch is 253 commits behind studip:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
assets
classes
migrations
routes
vendor
.gitmodules
README.md
RestipPlugin.class.php
bootstrap.php
plugin.manifest

README.md

REST.ip

Description

This plugin is supposed to be a working example of a RESTful webservice implementing authentication by OAuth.

Integration in Stud.IP

New API

The API is located at installation_url/plugins.php/restipplugin/api for now.

Full API documentation will follow.

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.

Credits

  • RESTful state is implemented using Slim
  • OAuth is implemented using oauth-php on the server side
Something went wrong with that request. Please try again.