A list of legacy roles.

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

{
    "count": 36723,
    "next": null,
    "previous": "http://galaxy.ansible.com/api/v1/roles/?format=api&page=3672",
    "results": [
        {
            "id": 42178,
            "upstream_id": null,
            "created": "2025-12-31T05:27:45.742138Z",
            "modified": "2025-12-31T05:27:45.791154Z",
            "imported": "2025-12-31T05:27:45.737999",
            "github_user": "shyama-jp",
            "username": "shyama-jp",
            "github_repo": "example-role",
            "github_branch": "main",
            "commit": "0828aae3e56cb3ef9484d667f36474d5e1f53b85",
            "commit_message": "first commit\n",
            "name": "example-role",
            "description": "your role description",
            "summary_fields": {
                "dependencies": [],
                "namespace": {
                    "id": 25687,
                    "name": "shyama-jp",
                    "avatar_url": "https://github.com/shyama-jp.png"
                },
                "provider_namespace": {
                    "id": 35141,
                    "name": "shyama_jp",
                    "pulp_href": "/api/pulp/api/v3/pulp_ansible/namespaces/35141/"
                },
                "repository": {
                    "name": "example-role",
                    "original_name": "example-role"
                },
                "tags": [],
                "versions": []
            },
            "download_count": 1
        },
        {
            "id": 42179,
            "upstream_id": null,
            "created": "2025-12-31T06:34:40.928085Z",
            "modified": "2025-12-31T06:34:40.994949Z",
            "imported": "2025-12-31T06:34:40.924980",
            "github_user": "Vinaysoam",
            "username": "Vinaysoam",
            "github_repo": "apache",
            "github_branch": "master",
            "commit": "58874d0c79c8d680b42479a4078a893c444c4643",
            "commit_message": "apache\n",
            "name": "https://github.com/Vinaysoam/apache",
            "description": "Apache web server configuration",
            "summary_fields": {
                "dependencies": [],
                "namespace": {
                    "id": 17678,
                    "name": "Vinaysoam",
                    "avatar_url": "https://github.com/Vinaysoam.png"
                },
                "provider_namespace": {
                    "id": 27252,
                    "name": "vinaysoam",
                    "pulp_href": "/api/pulp/api/v3/pulp_ansible/namespaces/27252/"
                },
                "repository": {
                    "name": "apache",
                    "original_name": "apache"
                },
                "tags": [],
                "versions": []
            },
            "download_count": 1
        },
        {
            "id": 42180,
            "upstream_id": null,
            "created": "2025-12-31T06:36:34.259891Z",
            "modified": "2025-12-31T06:36:34.316407Z",
            "imported": "2025-12-31T06:36:34.257197",
            "github_user": "pavan-1309",
            "username": "pavan-1309",
            "github_repo": "ansible-webserver-role",
            "github_branch": "main",
            "commit": "fc46f6b472a5c239865da42f333d5e39ecb48486",
            "commit_message": "first commit\n",
            "name": "ansible-webserver-role",
            "description": "your role description",
            "summary_fields": {
                "dependencies": [],
                "namespace": {
                    "id": 25673,
                    "name": "pavan-1309",
                    "avatar_url": "https://github.com/pavan-1309.png"
                },
                "provider_namespace": {
                    "id": 35127,
                    "name": "pavan_1309",
                    "pulp_href": "/api/pulp/api/v3/pulp_ansible/namespaces/35127/"
                },
                "repository": {
                    "name": "ansible-webserver-role",
                    "original_name": "ansible-webserver-role"
                },
                "tags": [],
                "versions": []
            },
            "download_count": 1
        }
    ]
}