A list of legacy roles.

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

{
    "count": 37402,
    "next": null,
    "previous": "http://galaxy.ansible.com/api/v1/roles/?format=api&page=3740",
    "results": [
        {
            "id": 42997,
            "upstream_id": null,
            "created": "2026-05-25T11:50:47.612705Z",
            "modified": "2026-05-25T11:50:47.653512Z",
            "imported": "2026-05-25T11:50:47.610238",
            "github_user": "MrLaurensHEdu",
            "username": "MrLaurensHEdu",
            "github_repo": "ansible-role-webserver",
            "github_branch": "main",
            "commit": "79d95780854a8c66d6b85fd739f32e9182ee02a2",
            "commit_message": "README toegevoegd voor Ansible Galaxy\n",
            "name": "webserver",
            "description": "Webserver rol voor week 4 lab",
            "summary_fields": {
                "dependencies": [],
                "namespace": {
                    "id": 27670,
                    "name": "MrLaurensHEdu",
                    "avatar_url": "https://github.com/MrLaurensHEdu.png"
                },
                "provider_namespace": {
                    "id": 37091,
                    "name": "mrlaurenshedu",
                    "pulp_href": "/api/pulp/api/v3/pulp_ansible/namespaces/37091/"
                },
                "repository": {
                    "name": "ansible-role-webserver",
                    "original_name": "ansible-role-webserver"
                },
                "tags": [],
                "versions": []
            },
            "download_count": 1
        },
        {
            "id": 42998,
            "upstream_id": null,
            "created": "2026-05-25T11:51:14.947718Z",
            "modified": "2026-05-25T11:51:14.992973Z",
            "imported": "2026-05-25T11:51:14.945247",
            "github_user": "MrLaurensHEdu",
            "username": "MrLaurensHEdu",
            "github_repo": "ansible-role-database",
            "github_branch": "main",
            "commit": "c176fe1327ede8c4514fbdcf370f9a6e2d0f2565",
            "commit_message": "README toegevoegd voor Ansible Galaxy\n",
            "name": "database",
            "description": "Database rol voor week 4 lab",
            "summary_fields": {
                "dependencies": [],
                "namespace": {
                    "id": 27670,
                    "name": "MrLaurensHEdu",
                    "avatar_url": "https://github.com/MrLaurensHEdu.png"
                },
                "provider_namespace": {
                    "id": 37091,
                    "name": "mrlaurenshedu",
                    "pulp_href": "/api/pulp/api/v3/pulp_ansible/namespaces/37091/"
                },
                "repository": {
                    "name": "ansible-role-database",
                    "original_name": "ansible-role-database"
                },
                "tags": [],
                "versions": []
            },
            "download_count": 1
        }
    ]
}