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": 2,
    "next": null,
    "previous": null,
    "results": [
        {
            "name": "Add suggestion",
            "permissions": [
                "suggestion.add"
            ],
            "url": "https://i18n.tweaked.cc/api/roles/1/?format=api"
        },
        {
            "name": "Access repository",
            "permissions": [
                "vcs.access",
                "vcs.view",
                "translation.download"
            ],
            "url": "https://i18n.tweaked.cc/api/roles/2/?format=api"
        }
    ]
}