A list of legacy roles.

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

{
    "count": 37092,
    "next": null,
    "previous": "http://galaxy.ansible.com/api/v1/roles/?format=api&page=3709",
    "results": [
        {
            "id": 42641,
            "upstream_id": null,
            "created": "2026-03-15T19:44:10.444787Z",
            "modified": "2026-03-15T19:44:10.479155Z",
            "imported": "2026-03-15T19:44:10.441542",
            "github_user": "vamsiawsdevops",
            "username": "vamsiawsdevops",
            "github_repo": "dummy-role",
            "github_branch": "master",
            "commit": "9b5db4bd7d152bddf57dfce7bb3e39866d14cb96",
            "commit_message": "initial files\n",
            "name": "dummy-role",
            "description": "your role description",
            "summary_fields": {
                "dependencies": [],
                "namespace": {
                    "id": 26763,
                    "name": "vamsiawsdevops",
                    "avatar_url": "https://github.com/vamsiawsdevops.png"
                },
                "provider_namespace": {
                    "id": 36195,
                    "name": "vamsiawsdevops",
                    "pulp_href": "/api/pulp/api/v3/pulp_ansible/namespaces/36195/"
                },
                "repository": {
                    "name": "dummy-role",
                    "original_name": "dummy-role"
                },
                "tags": [],
                "versions": []
            },
            "download_count": 1
        },
        {
            "id": 42642,
            "upstream_id": null,
            "created": "2026-03-15T19:53:44.124895Z",
            "modified": "2026-03-15T19:53:44.208598Z",
            "imported": "2026-03-15T19:53:44.122190",
            "github_user": "rrelict",
            "username": "rrelict",
            "github_repo": "ansible-role-dufs",
            "github_branch": "main",
            "commit": "69a1a06930067178b6ccbf6a9c41a6d0481e4495",
            "commit_message": "Add initial README for ansible-role-dufs",
            "name": "dufs",
            "description": "Install and configure `dufs` WebDAV server on Debian.",
            "summary_fields": {
                "dependencies": [],
                "namespace": {
                    "id": 26765,
                    "name": "rrelict",
                    "avatar_url": "https://github.com/rrelict.png"
                },
                "provider_namespace": {
                    "id": 36197,
                    "name": "rrelict",
                    "pulp_href": "/api/pulp/api/v3/pulp_ansible/namespaces/36197/"
                },
                "repository": {
                    "name": "ansible-role-dufs",
                    "original_name": "ansible-role-dufs"
                },
                "tags": [
                    "webdav",
                    "file-server",
                    "dufs"
                ],
                "versions": [
                    {
                        "id": "d8977e44-750d-4173-92b7-06728bc9750f",
                        "name": "v1.0.0",
                        "release_date": "2026-03-15T20:46:15+01:00"
                    }
                ]
            },
            "download_count": 1
        }
    ]
}