A list of legacy roles.

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

{
    "count": 36884,
    "next": null,
    "previous": "http://galaxy.ansible.com/api/v1/roles/?format=api&owner__name=elastic&page=3688",
    "results": [
        {
            "id": 42419,
            "upstream_id": null,
            "created": "2026-02-04T09:29:59.608553Z",
            "modified": "2026-02-04T09:29:59.765598Z",
            "imported": "2026-02-04T09:29:59.605615",
            "github_user": "swapniltathe",
            "username": "swapniltathe",
            "github_repo": "role-handlerdemo",
            "github_branch": "main",
            "commit": "e99d8af736712a4d1c4df89e267ff07d349f40e1",
            "commit_message": "Init",
            "name": "role-handlerdemo",
            "description": "Handler example",
            "summary_fields": {
                "dependencies": [],
                "namespace": {
                    "id": 26161,
                    "name": "swapniltathe",
                    "avatar_url": "https://github.com/swapniltathe.png"
                },
                "provider_namespace": {
                    "id": 35603,
                    "name": "swapniltathe",
                    "pulp_href": "/api/pulp/api/v3/pulp_ansible/namespaces/35603/"
                },
                "repository": {
                    "name": "role-handlerdemo",
                    "original_name": "role-handlerdemo"
                },
                "tags": [],
                "versions": []
            },
            "download_count": 3
        },
        {
            "id": 42420,
            "upstream_id": null,
            "created": "2026-02-04T09:34:33.576427Z",
            "modified": "2026-02-04T09:34:33.638462Z",
            "imported": "2026-02-04T09:34:33.573257",
            "github_user": "AniketB-Devops",
            "username": "AniketB-Devops",
            "github_repo": "MyRole",
            "github_branch": "main",
            "commit": "d2abad51c84fbca97a1184764d080226c110bf53",
            "commit_message": "Add files via upload",
            "name": "MyRole",
            "description": "your role description",
            "summary_fields": {
                "dependencies": [],
                "namespace": {
                    "id": 26163,
                    "name": "AniketB-Devops",
                    "avatar_url": "https://github.com/AniketB-Devops.png"
                },
                "provider_namespace": {
                    "id": 35605,
                    "name": "aniketb_devops",
                    "pulp_href": "/api/pulp/api/v3/pulp_ansible/namespaces/35605/"
                },
                "repository": {
                    "name": "MyRole",
                    "original_name": "MyRole"
                },
                "tags": [],
                "versions": []
            },
            "download_count": 1
        },
        {
            "id": 42421,
            "upstream_id": null,
            "created": "2026-02-04T09:38:09.657803Z",
            "modified": "2026-02-04T09:38:09.713554Z",
            "imported": "2026-02-04T09:38:09.641598",
            "github_user": "Anjanikalsani",
            "username": "Anjanikalsani",
            "github_repo": "ansiblerole_vw",
            "github_branch": "main",
            "commit": "3482ac1699092d98dd29f67780b85fbe5d232d27",
            "commit_message": "Add files via upload",
            "name": "ansiblerole_vw",
            "description": "emp",
            "summary_fields": {
                "dependencies": [],
                "namespace": {
                    "id": 26167,
                    "name": "Anjanikalsani",
                    "avatar_url": "https://github.com/Anjanikalsani.png"
                },
                "provider_namespace": {
                    "id": 35609,
                    "name": "anjanikalsani",
                    "pulp_href": "/api/pulp/api/v3/pulp_ansible/namespaces/35609/"
                },
                "repository": {
                    "name": "ansiblerole_vw",
                    "original_name": "ansiblerole_vw"
                },
                "tags": [],
                "versions": []
            },
            "download_count": 2
        },
        {
            "id": 42422,
            "upstream_id": null,
            "created": "2026-02-04T12:33:57.309348Z",
            "modified": "2026-02-04T12:33:57.360722Z",
            "imported": "2026-02-04T12:33:57.300110",
            "github_user": "varunmahishi0204",
            "username": "varunmahishi0204",
            "github_repo": "ansible-series",
            "github_branch": "main",
            "commit": "4d4d37b1836434d81ec4b37685868a77d8421fa2",
            "commit_message": "initial files\n",
            "name": "ansible-series",
            "description": "your role description",
            "summary_fields": {
                "dependencies": [],
                "namespace": {
                    "id": 26169,
                    "name": "varunmahishi0204",
                    "avatar_url": "https://github.com/varunmahishi0204.png"
                },
                "provider_namespace": {
                    "id": 35611,
                    "name": "varunmahishi0204",
                    "pulp_href": "/api/pulp/api/v3/pulp_ansible/namespaces/35611/"
                },
                "repository": {
                    "name": "ansible-series",
                    "original_name": "ansible-series"
                },
                "tags": [],
                "versions": []
            },
            "download_count": 1
        }
    ]
}