A list of legacy roles.

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

{
    "count": 37521,
    "next": null,
    "previous": "http://galaxy.ansible.com/api/v1/roles/?format=api&page=3752",
    "results": [
        {
            "id": 43194,
            "upstream_id": null,
            "created": "2026-07-02T09:25:50.427057Z",
            "modified": "2026-07-02T10:21:15.444637Z",
            "imported": "2026-07-02T10:21:15.422304",
            "github_user": "kowshik411",
            "username": "kowshik411",
            "github_repo": "testing-roles",
            "github_branch": "main",
            "commit": "ef625416eb0d557a8225f2989550db7bc2d0ec7e",
            "commit_message": "Added detailed readme and meta tags in main.yml of meta\n",
            "name": "testing-roles",
            "description": "It is a test role as part of my ansible learning journey which does installing apache2 and copying our index.html into the webserver to host the same.",
            "summary_fields": {
                "dependencies": [],
                "namespace": {
                    "id": 28148,
                    "name": "kowshik411",
                    "avatar_url": "https://github.com/kowshik411.png"
                },
                "provider_namespace": {
                    "id": 37560,
                    "name": "kowshik411",
                    "pulp_href": "/api/pulp/api/v3/pulp_ansible/namespaces/37560/"
                },
                "repository": {
                    "name": "testing-roles",
                    "original_name": "testing-roles"
                },
                "tags": [
                    "apache",
                    "apache2",
                    "webserver",
                    "http",
                    "ubuntu",
                    "debian",
                    "static",
                    "html",
                    "deploy"
                ],
                "versions": []
            },
            "download_count": 1
        }
    ]
}