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/4003/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 4003,
    "url": "",
    "summary_fields": {
        "owners": [
            {
                "id": 3936,
                "username": "pavelpikta"
            },
            {
                "id": 3937,
                "username": "tgadiev"
            },
            {
                "id": 3938,
                "username": "arno49"
            },
            {
                "id": 3939,
                "username": "ibarysev"
            },
            {
                "id": 3720,
                "username": "kharkevich"
            }
        ],
        "provider_namespaces": [
            {
                "id": 6998,
                "name": "lean_delivery",
                "pulp_href": "/api/pulp/api/v3/pulp_ansible/namespaces/6998/"
            }
        ]
    },
    "created": "2023-05-08T21:08:37.238232Z",
    "modified": "2023-12-11T20:40:35.299023Z",
    "name": "lean-delivery",
    "avatar_url": "https://galaxy.ansible.com/api/pulp/api/v3/content/ansible/namespaces/018e5610-60c1-705f-8b84-fd8b2c18593f/avatar/",
    "related": {
        "provider_namespaces": null,
        "content": null,
        "owners": "/api/v1/namespaces/4003/owners/"
    }
}