Roles API.

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

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

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