ansible / galaxy-dev

Ansible Automation Hub
11 stars 13 forks source link

API: Add support for repository management #210

Open chouseknecht opened 4 years ago

chouseknecht commented 4 years ago
bmbouter commented 4 years ago

Call sync with: https://pulp-ansible.readthedocs.io/en/latest/restapi.html#operation/repositories_ansible_ansible_sync

Call modify with: https://pulp-ansible.readthedocs.io/en/latest/restapi.html#operation/repositories_ansible_ansible_modify

Create a repository with: https://pulp-ansible.readthedocs.io/en/latest/restapi.html#operation/repositories_ansible_ansible_create

Create a Remote for syncing collection type content here: https://pulp-ansible.readthedocs.io/en/latest/restapi.html#tag/remotes:-collection

Create a Remote for syncing role content here: https://pulp-ansible.readthedocs.io/en/latest/restapi.html#operation/remotes_ansible_ansible_create

Create a Distribution (with it's "base_path") here: https://pulp-ansible.readthedocs.io/en/latest/restapi.html#operation/distributions_ansible_ansible_create and you can see url the client should use as the "client_url" field on it. You can point it at a Repository or RepositoryVersion and it will serve that content.