API v2 missing in galaxy-ng

API v2 is missing from galaxy-ng, where did it go?

https://galaxy.ansible.com/api/

HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "available_versions": {
        "v3": "v3/",
        "pulp-v3": "pulp/api/v3/",
        "v1": "v1/"
    },
    "server_version": "4.9.0dev",
    "galaxy_ng_version": "4.9.0dev",
    "galaxy_ng_commit": "master:9f4ddc6c",
    "galaxy_importer_version": "0.4.13",
    "pulp_core_version": "3.28.12",
    "pulp_ansible_version": "0.19.0",
    "pulp_container_version": "2.15.2"
}
1 Like

Just adding on that lack of v2 support caught me my surprise as well, and I’m now scrambling to add v3 support to my project because I expected there would be overlap in support for some time (just as there is in the ansible-galaxy client).

I’m no longer sure where I got that information on, it might have been in the DaWGs working group in March/early April (guessing from the date of https://github.com/ansible-community/antsibull-core/pull/45). Fortunately, for consumers, the v3 API isn’t that different from the v2 API (the complexity mainly comes from supporting both).

1 Like