Project

General

Profile

Actions

Feature #11502

closed

Expose roles details via REST API

Added by Vincent Caron almost 12 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Category:
REST API
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

I recently needed a read-only access to the roles details via the REST API and implemented that - based on code from the original submission from #9725.

The patch adds a /roles/[id].:format route and a simple list of granted permissions for the requested role.

Also find attached a contribution to complete the existing doc at http://www.redmine.org/projects/redmine/wiki/Rest_Roles.


Files

role-rest-get.patch (1.68 KB) role-rest-get.patch Vincent Caron, 2012-07-24 19:00
role-rest-get-doc.txt (1002 Bytes) role-rest-get-doc.txt Vincent Caron, 2012-07-24 19:00

Related issues

Related to Redmine - Defect #12472: Roles REST API does not accept API authenticationClosedJean-Philippe Lang

Actions
Actions

Also available in: Atom PDF