openapi: 3.2.0 info: title: 'Automation Hub Pulp_Ansible: Api V1 Roles Versions API' version: v3 description: Fetch, Upload, Organize, and Distribute Ansible Collections contact: name: Automation Hub Team email: ansible-galaxy-team@redhat.com url: https://www.ansible.com/products/automation-hub license: name: GPLv2+ url: https://raw.githubusercontent.com/ansible/galaxy_ng/main/LICENSE x-logo: url: https://pulp.plan.io/attachments/download/517478/pulp_logo_word_rectangle.svg x-pulp-app-versions: core: 3.49.40 galaxy: 4.12.0dev ansible: 0.25.1 container: 2.19.5 certguard: 3.49.40 file: 3.49.40 x-pulp-domain-enabled: false servers: - url: http://automation-hub-backend-cwa.automation-hub-prod.svc.cluster.local:8000/ tags: - name: 'Pulp_Ansible: Api V1 Roles Versions' paths: /pulp_ansible/galaxy/{path}/api/v1/roles/{role_pk}/versions/: get: operationId: api_v1_roles_versions_list description: APIView for Role Versions. parameters: - name: limit required: false in: query description: Number of results to return per page. schema: type: integer - name: offset required: false in: query description: The initial index from which to return the results. schema: type: integer - in: path name: path schema: type: string required: true - in: path name: role_pk schema: type: string required: true - in: query name: fields schema: type: array items: type: string description: A list of fields to include in the response. - in: query name: exclude_fields schema: type: array items: type: string description: A list of fields to exclude from the response. tags: - 'Pulp_Ansible: Api V1 Roles Versions' responses: '200': content: application/json: schema: $ref: '#/components/schemas/PaginatedGalaxyRoleVersionResponseList' description: '' summary: Api v1 roles versions list x-summary-source: derived components: schemas: GalaxyRoleVersionResponse: type: object description: A serializer for Galaxy's representation of Role versions. properties: name: type: string source: type: string description: Get source. readOnly: true required: - name PaginatedGalaxyRoleVersionResponseList: type: object required: - count - results properties: count: type: integer example: 123 next: type: - string - 'null' format: uri example: http://api.example.org/accounts/?offset=400&limit=100 previous: type: - string - 'null' format: uri example: http://api.example.org/accounts/?offset=200&limit=100 results: type: array items: $ref: '#/components/schemas/GalaxyRoleVersionResponse'