A list of legacy roles.

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

{
    "count": 37851,
    "next": null,
    "previous": "http://galaxy.ansible.com/api/v1/roles/?format=api&page=3785",
    "results": [
        {
            "id": 43591,
            "upstream_id": null,
            "created": "2026-11-01T22:33:28.990931Z",
            "modified": "2026-11-01T22:33:29.031234Z",
            "imported": "2026-11-01T22:33:28.988701",
            "github_user": "pluggero",
            "username": "pluggero",
            "github_repo": "ansible-role-fail2ban",
            "github_branch": "main",
            "commit": "fdda08cbf1d1413a015b5975756e68e4669c8f90",
            "commit_message": "initial commit\n",
            "name": "fail2ban",
            "description": "Install and configure fail2ban on various Linux distributions.",
            "summary_fields": {
                "dependencies": [],
                "namespace": {
                    "id": 19312,
                    "name": "pluggero",
                    "avatar_url": "https://github.com/pluggero.png"
                },
                "provider_namespace": {
                    "id": 28805,
                    "name": "pluggero",
                    "pulp_href": "/api/pulp/api/v3/pulp_ansible/namespaces/28805/"
                },
                "repository": {
                    "name": "ansible-role-fail2ban",
                    "original_name": "ansible-role-fail2ban"
                },
                "tags": [],
                "versions": [
                    {
                        "id": "84b98b54-02a5-45ae-84d0-b60681a7aa20",
                        "name": "1.0.0",
                        "release_date": "2026-11-01T23:13:14+01:00"
                    }
                ]
            },
            "download_count": 0
        }
    ]
}