A list of legacy roles.

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

{
    "count": 36871,
    "next": null,
    "previous": "http://galaxy.ansible.com/api/v1/roles/?format=api&page=3687",
    "results": [
        {
            "id": 42409,
            "upstream_id": null,
            "created": "2026-02-03T10:12:29.920988Z",
            "modified": "2026-02-03T10:12:29.974575Z",
            "imported": "2026-02-03T10:12:29.916604",
            "github_user": "vvknda7",
            "username": "vvknda7",
            "github_repo": "ansible_httpd_code",
            "github_branch": "main",
            "commit": "ff854af9bff5ad9f91f8e1860f161371d400cd5c",
            "commit_message": "new\n",
            "name": "ansible_httpd_code",
            "description": "httpd install and proper location permission",
            "summary_fields": {
                "dependencies": [],
                "namespace": {
                    "id": 26126,
                    "name": "vvknda7",
                    "avatar_url": "https://github.com/vvknda7.png"
                },
                "provider_namespace": {
                    "id": 35568,
                    "name": "vvknda7",
                    "pulp_href": "/api/pulp/api/v3/pulp_ansible/namespaces/35568/"
                },
                "repository": {
                    "name": "ansible_httpd_code",
                    "original_name": "ansible_httpd_code"
                },
                "tags": [],
                "versions": []
            },
            "download_count": 1
        }
    ]
}