Skip to content

Instantly share code, notes, and snippets.

@sschum
Created October 1, 2014 13:10
Show Gist options
  • Save sschum/67ae5f2e9ac1616a9b69 to your computer and use it in GitHub Desktop.
Save sschum/67ae5f2e9ac1616a9b69 to your computer and use it in GitHub Desktop.
This is the part of osiam wiki for the extension interface
To get all persisted extension definition you can send a GET-Request to a OSIAM specific interface:
```http
http://OSIAMHOST:8080/osiam-resource-server/osiam/extension-definition
```
The response contains the list of all extension definitions that are persisted in the OSIAM database. This interface is also secured. That means that you need to put a valid access token into the authentication header.
The following shows you an example cURL command to get the extension definitions.
```sh
curl -H "Authorization: Bearer $YOUR_ACCESS_TOKEN" -X GET http://OSIAMHOST:8080/osiam-resource-server/osiam/extension-definition
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment