A list of legacy roles.

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

{
    "count": 37552,
    "next": null,
    "previous": "http://galaxy.ansible.com/api/v1/roles/?format=api&page=3755",
    "results": [
        {
            "id": 43226,
            "upstream_id": null,
            "created": "2026-07-12T15:15:33.656771Z",
            "modified": "2026-07-12T15:15:33.701998Z",
            "imported": "2026-07-12T15:15:33.652763",
            "github_user": "halif",
            "username": "halif",
            "github_repo": "ansible-role-patroni",
            "github_branch": "main",
            "commit": "b6caae8b7910d0b3d4890a02e97c0cec1094bde8",
            "commit_message": "Initial commit: Patroni PostgresPro 1C role\n",
            "name": "patroni_postgrespro",
            "description": "Отказоустойчивый кластер Patroni + PostgresPro 1C",
            "summary_fields": {
                "dependencies": [],
                "namespace": {
                    "id": 11774,
                    "name": "halif",
                    "avatar_url": "https://github.com/halif.png"
                },
                "provider_namespace": {
                    "id": 21416,
                    "name": "halif",
                    "pulp_href": "/api/pulp/api/v3/pulp_ansible/namespaces/21416/"
                },
                "repository": {
                    "name": "ansible-role-patroni",
                    "original_name": "ansible-role-patroni"
                },
                "tags": [
                    "database",
                    "postgresql",
                    "patroni",
                    "clustering",
                    "high-availability",
                    "1c"
                ],
                "versions": []
            },
            "download_count": 0
        },
        {
            "id": 43227,
            "upstream_id": null,
            "created": "2026-07-12T15:39:46.908360Z",
            "modified": "2026-07-12T15:39:46.940534Z",
            "imported": "2026-07-12T15:39:46.905988",
            "github_user": "Jysh06",
            "username": "Jysh06",
            "github_repo": "Ansible-Galaxy-Demo",
            "github_branch": "main",
            "commit": "a75fa82688e88061cb0ce767388b8779dcbff2e6",
            "commit_message": "Move role to repository root\n",
            "name": "Ansible-Galaxy-Demo",
            "description": "your role description",
            "summary_fields": {
                "dependencies": [],
                "namespace": {
                    "id": 28281,
                    "name": "Jysh06",
                    "avatar_url": "https://github.com/Jysh06.png"
                },
                "provider_namespace": {
                    "id": 37692,
                    "name": "jysh06",
                    "pulp_href": "/api/pulp/api/v3/pulp_ansible/namespaces/37692/"
                },
                "repository": {
                    "name": "Ansible-Galaxy-Demo",
                    "original_name": "Ansible-Galaxy-Demo"
                },
                "tags": [],
                "versions": []
            },
            "download_count": 0
        }
    ]
}