A list of legacy namespaces.

The community UI has a view to list all legacy authors. Each author is clickable and brings the browser to a page with a list of roles created by the author.

Rather than make a hacky unmaintable viewset that aggregates usernames from the roles, this viewset goes directly to the legacy namespace/user table.

We do not want to create this view from v3 namespaces because many/most legacy namespaces do not conform to the v3 namespace character requirements.

TODO: allow edits of the avatar url TODO: allow mapping to a real namespace

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

{
    "count": 25309,
    "next": null,
    "previous": "http://galaxy.ansible.com/api/v1/namespaces/?format=api&page=253",
    "results": [
        {
            "id": 25412,
            "url": "",
            "summary_fields": {
                "owners": [
                    {
                        "id": 34265,
                        "username": "hugocosme"
                    }
                ],
                "provider_namespaces": [
                    {
                        "id": 34863,
                        "name": "hugocosme",
                        "pulp_href": "/api/pulp/api/v3/pulp_ansible/namespaces/34863/"
                    }
                ]
            },
            "created": "2025-12-13T15:53:46.491680Z",
            "modified": "2025-12-13T15:53:46.492762Z",
            "name": "hugocosme",
            "avatar_url": "https://github.com/hugocosme.png",
            "related": {
                "provider_namespaces": null,
                "content": null,
                "owners": "/api/v1/namespaces/25412/owners/"
            }
        },
        {
            "id": 25413,
            "url": "",
            "summary_fields": {
                "owners": [
                    {
                        "id": 34266,
                        "username": "r-able"
                    }
                ],
                "provider_namespaces": [
                    {
                        "id": 34864,
                        "name": "r_able",
                        "pulp_href": "/api/pulp/api/v3/pulp_ansible/namespaces/34864/"
                    }
                ]
            },
            "created": "2025-12-13T16:00:46.387480Z",
            "modified": "2025-12-13T16:00:46.389342Z",
            "name": "r-able",
            "avatar_url": "https://github.com/r-able.png",
            "related": {
                "provider_namespaces": null,
                "content": null,
                "owners": "/api/v1/namespaces/25413/owners/"
            }
        },
        {
            "id": 25414,
            "url": "",
            "summary_fields": {
                "owners": [
                    {
                        "id": 34267,
                        "username": "sohaldeepkaur"
                    }
                ],
                "provider_namespaces": [
                    {
                        "id": 34865,
                        "name": "sohaldeepkaur",
                        "pulp_href": "/api/pulp/api/v3/pulp_ansible/namespaces/34865/"
                    }
                ]
            },
            "created": "2025-12-13T16:32:00.315447Z",
            "modified": "2025-12-13T16:32:00.316853Z",
            "name": "sohaldeepkaur",
            "avatar_url": "https://github.com/sohaldeepkaur.png",
            "related": {
                "provider_namespaces": null,
                "content": null,
                "owners": "/api/v1/namespaces/25414/owners/"
            }
        },
        {
            "id": 25415,
            "url": "",
            "summary_fields": {
                "owners": [
                    {
                        "id": 34268,
                        "username": "sureshkanuganti"
                    }
                ],
                "provider_namespaces": [
                    {
                        "id": 34866,
                        "name": "sureshkanuganti",
                        "pulp_href": "/api/pulp/api/v3/pulp_ansible/namespaces/34866/"
                    }
                ]
            },
            "created": "2025-12-14T08:54:24.342538Z",
            "modified": "2025-12-14T08:54:24.344011Z",
            "name": "sureshkanuganti",
            "avatar_url": "https://github.com/sureshkanuganti.png",
            "related": {
                "provider_namespaces": null,
                "content": null,
                "owners": "/api/v1/namespaces/25415/owners/"
            }
        },
        {
            "id": 25416,
            "url": "",
            "summary_fields": {
                "owners": [
                    {
                        "id": 34269,
                        "username": "m-julio"
                    }
                ],
                "provider_namespaces": [
                    {
                        "id": 34867,
                        "name": "m_julio",
                        "pulp_href": "/api/pulp/api/v3/pulp_ansible/namespaces/34867/"
                    }
                ]
            },
            "created": "2025-12-14T10:41:52.332131Z",
            "modified": "2025-12-14T10:41:52.333413Z",
            "name": "m-julio",
            "avatar_url": "https://github.com/m-julio.png",
            "related": {
                "provider_namespaces": null,
                "content": null,
                "owners": "/api/v1/namespaces/25416/owners/"
            }
        },
        {
            "id": 25417,
            "url": "",
            "summary_fields": {
                "owners": [
                    {
                        "id": 34270,
                        "username": "radiofer"
                    }
                ],
                "provider_namespaces": [
                    {
                        "id": 34868,
                        "name": "radiofer",
                        "pulp_href": "/api/pulp/api/v3/pulp_ansible/namespaces/34868/"
                    }
                ]
            },
            "created": "2025-12-14T11:30:27.652330Z",
            "modified": "2025-12-14T11:30:27.660430Z",
            "name": "radiofer",
            "avatar_url": "https://github.com/radiofer.png",
            "related": {
                "provider_namespaces": null,
                "content": null,
                "owners": "/api/v1/namespaces/25417/owners/"
            }
        },
        {
            "id": 25418,
            "url": "",
            "summary_fields": {
                "owners": [
                    {
                        "id": 34271,
                        "username": "grisar"
                    }
                ],
                "provider_namespaces": [
                    {
                        "id": 34869,
                        "name": "grisar",
                        "pulp_href": "/api/pulp/api/v3/pulp_ansible/namespaces/34869/"
                    }
                ]
            },
            "created": "2025-12-14T11:58:26.662347Z",
            "modified": "2025-12-14T11:58:26.663473Z",
            "name": "grisar",
            "avatar_url": "https://github.com/grisar.png",
            "related": {
                "provider_namespaces": null,
                "content": null,
                "owners": "/api/v1/namespaces/25418/owners/"
            }
        },
        {
            "id": 25419,
            "url": "",
            "summary_fields": {
                "owners": [
                    {
                        "id": 34272,
                        "username": "silopolis"
                    }
                ],
                "provider_namespaces": [
                    {
                        "id": 34870,
                        "name": "silopolis",
                        "pulp_href": "/api/pulp/api/v3/pulp_ansible/namespaces/34870/"
                    }
                ]
            },
            "created": "2025-12-14T14:11:11.577759Z",
            "modified": "2025-12-14T14:11:11.578950Z",
            "name": "silopolis",
            "avatar_url": "https://github.com/silopolis.png",
            "related": {
                "provider_namespaces": null,
                "content": null,
                "owners": "/api/v1/namespaces/25419/owners/"
            }
        },
        {
            "id": 25420,
            "url": "",
            "summary_fields": {
                "owners": [
                    {
                        "id": 34273,
                        "username": "kaustavGitH"
                    }
                ],
                "provider_namespaces": [
                    {
                        "id": 34871,
                        "name": "kaustavgith",
                        "pulp_href": "/api/pulp/api/v3/pulp_ansible/namespaces/34871/"
                    }
                ]
            },
            "created": "2025-12-14T14:53:38.038421Z",
            "modified": "2025-12-14T14:53:38.039646Z",
            "name": "kaustavGitH",
            "avatar_url": "https://github.com/kaustavGitH.png",
            "related": {
                "provider_namespaces": null,
                "content": null,
                "owners": "/api/v1/namespaces/25420/owners/"
            }
        }
    ]
}