A list of legacy roles.

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

{
    "count": 37383,
    "next": null,
    "previous": "http://galaxy.ansible.com/api/v1/roles/?format=api&page=3738",
    "results": [
        {
            "id": 42974,
            "upstream_id": null,
            "created": "2026-05-19T09:14:49.274733Z",
            "modified": "2026-05-19T09:14:49.315021Z",
            "imported": "2026-05-19T09:14:49.272142",
            "github_user": "shameenmhd10-art",
            "username": "shameenmhd10-art",
            "github_repo": "ansible-role-nginx",
            "github_branch": "main",
            "commit": "2a48564fc6f3d0f51d330ec41021b0c1eda779dd",
            "commit_message": "Initial nginx ansible role\n",
            "name": "nginx",
            "description": "your role description",
            "summary_fields": {
                "dependencies": [],
                "namespace": {
                    "id": 27600,
                    "name": "shameenmhd10-art",
                    "avatar_url": "https://github.com/shameenmhd10-art.png"
                },
                "provider_namespace": {
                    "id": 37021,
                    "name": "shameenmhd10_art",
                    "pulp_href": "/api/pulp/api/v3/pulp_ansible/namespaces/37021/"
                },
                "repository": {
                    "name": "ansible-role-nginx",
                    "original_name": "ansible-role-nginx"
                },
                "tags": [],
                "versions": []
            },
            "download_count": 1
        },
        {
            "id": 42975,
            "upstream_id": null,
            "created": "2026-05-19T09:18:33.203424Z",
            "modified": "2026-05-19T09:18:33.301920Z",
            "imported": "2026-05-19T09:18:33.200936",
            "github_user": "babil123",
            "username": "babil123",
            "github_repo": "nginx_role-galaxy",
            "github_branch": "main",
            "commit": "4ad43f69462121c2112a586e50511a3ce78f3275",
            "commit_message": "Initial nginx role\n",
            "name": "nginx_role-galaxy",
            "description": "Role to install and start nginx",
            "summary_fields": {
                "dependencies": [],
                "namespace": {
                    "id": 24503,
                    "name": "babil123",
                    "avatar_url": "https://github.com/babil123.png"
                },
                "provider_namespace": {
                    "id": 33963,
                    "name": "babil123",
                    "pulp_href": "/api/pulp/api/v3/pulp_ansible/namespaces/33963/"
                },
                "repository": {
                    "name": "nginx_role-galaxy",
                    "original_name": "nginx_role-galaxy"
                },
                "tags": [],
                "versions": []
            },
            "download_count": 0
        },
        {
            "id": 42976,
            "upstream_id": null,
            "created": "2026-05-19T09:21:55.309405Z",
            "modified": "2026-05-19T09:21:55.347696Z",
            "imported": "2026-05-19T09:21:55.306678",
            "github_user": "shanifm2002",
            "username": "shanifm2002",
            "github_repo": "ansible",
            "github_branch": "main",
            "commit": "e4520fbe5927f08c7d346b765de623db50c3a333",
            "commit_message": " first commit\n",
            "name": "ansible",
            "description": "your role description",
            "summary_fields": {
                "dependencies": [],
                "namespace": {
                    "id": 27599,
                    "name": "shanifm2002",
                    "avatar_url": "https://github.com/shanifm2002.png"
                },
                "provider_namespace": {
                    "id": 37020,
                    "name": "shanifm2002",
                    "pulp_href": "/api/pulp/api/v3/pulp_ansible/namespaces/37020/"
                },
                "repository": {
                    "name": "ansible",
                    "original_name": "ansible"
                },
                "tags": [],
                "versions": []
            },
            "download_count": 1
        }
    ]
}