Roles API.

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

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

{
    "count": 2,
    "next": null,
    "previous": null,
    "results": [
        {
            "name": "Add suggestion",
            "permissions": [
                "suggestion.add"
            ],
            "url": "https://l10n.opensuse.org/api/roles/1/"
        },
        {
            "name": "Access repository",
            "permissions": [
                "vcs.access",
                "vcs.view"
            ],
            "url": "https://l10n.opensuse.org/api/roles/2/"
        }
    ]
}