Rest Roles » History » Version 1

Version 1/4 - Next » - Current version
Jean-Philippe Lang, 2012-02-06 11:16


Roles

/roles.:format

GET

Returns the list of roles.

Examples:

GET /roles.xml

Response:

<?xml version="1.0" encoding="UTF-8"?>
<roles type="array">
  <role>
    <id>1</id>
    <name>Manager</name>
  </role>
  <role>
    <id>2</id>
    <name>Developer</name>
  </role>
</roles>