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": 1,
            "name": "Add suggestion",
            "permissions": [
                "suggestion.add"
            ],
            "url": "https://translations.documentfoundation.org/api/roles/1/?format=api"
        }
    ]
}