A list of legacy roles.

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

{
    "count": 37581,
    "next": null,
    "previous": "http://galaxy.ansible.com/api/v1/roles/?format=api&page=3758",
    "results": [
        {
            "id": 43256,
            "upstream_id": null,
            "created": "2026-07-23T16:51:35.502665Z",
            "modified": "2026-07-23T16:51:35.543241Z",
            "imported": "2026-07-23T16:51:35.500128",
            "github_user": "Maleesha29",
            "username": "Maleesha29",
            "github_repo": "dummy-role",
            "github_branch": "main",
            "commit": "bb647c4863419d75a75fea48a7e5a2ab8cb08165",
            "commit_message": "initial files\n",
            "name": "dummy-role",
            "description": "your role description",
            "summary_fields": {
                "dependencies": [],
                "namespace": {
                    "id": 28374,
                    "name": "Maleesha29",
                    "avatar_url": "https://github.com/Maleesha29.png"
                },
                "provider_namespace": {
                    "id": 37782,
                    "name": "maleesha29",
                    "pulp_href": "/api/pulp/api/v3/pulp_ansible/namespaces/37782/"
                },
                "repository": {
                    "name": "dummy-role",
                    "original_name": "dummy-role"
                },
                "tags": [],
                "versions": []
            },
            "download_count": 0
        }
    ]
}