A list of legacy roles.

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

{
    "count": 37261,
    "next": null,
    "previous": "http://galaxy.ansible.com/api/v1/roles/?format=api&page=3726",
    "results": [
        {
            "id": 42844,
            "upstream_id": null,
            "created": "2026-04-21T14:15:30.435928Z",
            "modified": "2026-04-21T14:15:30.580749Z",
            "imported": "2026-04-21T14:15:30.432130",
            "github_user": "eirikns",
            "username": "eirikns",
            "github_repo": "ansible-role-journald",
            "github_branch": "main",
            "commit": "49cbbab52b071f5c49fb4bd44a88cb51dbce3ca9",
            "commit_message": "Initial commit\n",
            "name": "journald",
            "description": "Configure journald on Ubuntu and Debian.\n",
            "summary_fields": {
                "dependencies": [],
                "namespace": {
                    "id": 27175,
                    "name": "eirikns",
                    "avatar_url": "https://github.com/eirikns.png"
                },
                "provider_namespace": {
                    "id": 36600,
                    "name": "eirikns",
                    "pulp_href": "/api/pulp/api/v3/pulp_ansible/namespaces/36600/"
                },
                "repository": {
                    "name": "ansible-role-journald",
                    "original_name": "ansible-role-journald"
                },
                "tags": [
                    "journald",
                    "logging",
                    "systemd"
                ],
                "versions": [
                    {
                        "id": "807fe871-6376-417b-be9e-b6bc229dc124",
                        "name": "0.1.0",
                        "release_date": "2026-04-21T16:12:18+02:00"
                    }
                ]
            },
            "download_count": 1
        }
    ]
}