Confused about some PAH API strings

Posted on

Hello. I'm trying to use the Personal Automation Hub API and I'm confused about the two parameters needed to gather the correct information from the API.

API:

/pulp_ansible/galaxy/{path}/api/v2/collections/
/pulp_ansible/galaxy/{path}/api/v3/plugin/ansible/content/{distro_base_path}/collections/

What are the parameters:

{path} and {distro_base_path}

I can find no mention of their content in the API documentation and the only reference I can see for {path} is mentioned in pulp ansible support as:

"The must be included, which corresponds to the base_path of an Ansible Distribution. Clients using the Galaxy API will only receive content served by that Ansible Distribution."

But I have no clue what kind of data goes into this part. Are we speaking of "v#"? Or a dot noted number like 2.14? or ????

I'm lost and need some assistance. I'm basically trying to get all the name of the collections in a namespace.

Thanks.

Glen Collins

Responses