Roles API.

See the Weblate's Web API documentation for detailed description of the API.

GET /api/roles/2/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2,
    "name": "Access repository",
    "permissions": [
        "vcs.access",
        "vcs.view",
        "translation.download"
    ],
    "url": "https://l10n.elementary.io/api/roles/2/?format=api"
}