Syncope's REST API has changed from version <placeholder> to <placeholder>. These (sub)pages will give you an overview of old and new REST URLs.
These changes will only affect REST URLs, content models have not been changed.
Role Interface
Old URL |
New URL |
Comment |
---|---|---|
GET /role/list |
GET /roles |
Returns a list of all known roles |
GET /role/read/{roleId} |
GET /roles/{roleId} |
Returns a single role definition matching the provided roleID |
GET /role/selfRead/{roleId} |
GET /roles/{roleId} |
Authorization mechanisms will be independent of URL |
GET /role/parent/{roleId} |
GET /roles/{roleId}/parent |
Returns null or a single parent role definition |
GET /role/children/{roleId} |
GET /roles/{roleId}/children |
Returns a list of children role definitions |
POST /role/create |
POST /roles/ |
Creates a new (root) role. (Returns URL to new role definition?) |
POST /role/create |
POST /roles/{parentRoleId} |
Creates a new (child) role. Returns new role definition. |
POST /role/update |
PUT /roles/{roleId} |
Updates role. |
GET /role/delete/{roleId} |
DELETE /roles/{roleId} |
Deletes role. |