A list of legacy roles.

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

{
    "count": 37692,
    "next": null,
    "previous": "http://galaxy.ansible.com/api/v1/roles/?format=api&page=3769",
    "results": [
        {
            "id": 43385,
            "upstream_id": null,
            "created": "2026-09-01T12:47:05.559986Z",
            "modified": "2026-09-01T12:47:05.601565Z",
            "imported": "2026-09-01T12:47:05.557136",
            "github_user": "AbanobAyad22",
            "username": "AbanobAyad22",
            "github_repo": "myfirstrole",
            "github_branch": "master",
            "commit": "36b382ec84b6039e53514ae2f7bbcaecdbde51d8",
            "commit_message": "Update author and description in main.yml",
            "name": "my role created by me",
            "description": "my nginx",
            "summary_fields": {
                "dependencies": [],
                "namespace": {
                    "id": 26684,
                    "name": "AbanobAyad22",
                    "avatar_url": "https://github.com/AbanobAyad22.png"
                },
                "provider_namespace": {
                    "id": 36117,
                    "name": "abanobayad22",
                    "pulp_href": "/api/pulp/api/v3/pulp_ansible/namespaces/36117/"
                },
                "repository": {
                    "name": "myfirstrole",
                    "original_name": "myfirstrole"
                },
                "tags": [],
                "versions": []
            },
            "download_count": 0
        },
        {
            "id": 43386,
            "upstream_id": null,
            "created": "2026-09-01T12:54:56.679000Z",
            "modified": "2026-09-01T12:54:56.722981Z",
            "imported": "2026-09-01T12:54:56.675970",
            "github_user": "AbanobAyad22",
            "username": "AbanobAyad22",
            "github_repo": "myfirstrole",
            "github_branch": "master",
            "commit": "36b382ec84b6039e53514ae2f7bbcaecdbde51d8",
            "commit_message": "Update author and description in main.yml",
            "name": "first_one",
            "description": "my nginx",
            "summary_fields": {
                "dependencies": [],
                "namespace": {
                    "id": 26684,
                    "name": "AbanobAyad22",
                    "avatar_url": "https://github.com/AbanobAyad22.png"
                },
                "provider_namespace": {
                    "id": 36117,
                    "name": "abanobayad22",
                    "pulp_href": "/api/pulp/api/v3/pulp_ansible/namespaces/36117/"
                },
                "repository": {
                    "name": "myfirstrole",
                    "original_name": "myfirstrole"
                },
                "tags": [],
                "versions": []
            },
            "download_count": 0
        }
    ]
}