openapi: 3.2.0 info: title: 'Automation Hub Distributions: Artifacts 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: 'Distributions: Artifacts' paths: /api/automation-hub/pulp/api/v3/distributions/core/artifacts/: get: operationId: distributions_core_artifacts_list description: ViewSet for ArtifactDistribution. summary: List artifact distributions parameters: - in: query name: base_path schema: type: string description: Filter results where base_path matches value - in: query name: base_path__contains schema: type: string description: Filter results where base_path contains value - in: query name: base_path__icontains schema: type: string description: Filter results where base_path contains value - in: query name: base_path__in schema: type: array items: type: string description: Filter results where base_path is in a comma-separated list of values explode: false style: form - name: limit required: false in: query description: Number of results to return per page. schema: type: integer - in: query name: name schema: type: string description: Filter results where name matches value - in: query name: name__contains schema: type: string description: Filter results where name contains value - in: query name: name__icontains schema: type: string description: Filter results where name contains value - in: query name: name__iexact schema: type: string description: Filter results where name matches value - in: query name: name__in schema: type: array items: type: string description: Filter results where name is in a comma-separated list of values explode: false style: form - in: query name: name__iregex schema: type: string description: Filter results where name matches regex value - in: query name: name__istartswith schema: type: string description: Filter results where name starts with value - in: query name: name__regex schema: type: string description: Filter results where name matches regex value - in: query name: name__startswith schema: type: string description: Filter results where name starts with value - name: offset required: false in: query description: The initial index from which to return the results. schema: type: integer - in: query name: ordering schema: type: array items: type: string enum: - -base_path - -hidden - -name - -pk - -pulp_created - -pulp_id - -pulp_labels - -pulp_last_updated - -pulp_type - base_path - hidden - name - pk - pulp_created - pulp_id - pulp_labels - pulp_last_updated - pulp_type description: 'Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)' explode: false style: form - in: query name: pulp_href__in schema: type: array items: type: string description: Multiple values may be separated by commas. explode: false style: form - in: query name: pulp_id__in schema: type: array items: type: string format: uuid description: Multiple values may be separated by commas. explode: false style: form - in: query name: pulp_label_select schema: type: string description: Filter labels by search string - in: query name: q schema: type: string - in: query name: repository schema: type: string format: uuid description: Filter results where repository matches value - in: query name: repository__in schema: type: array items: type: string format: uuid description: Filter results where repository is in a comma-separated list of values explode: false style: form - in: query name: with_content schema: type: string description: Filter distributions based on the content served by them - 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: - 'Distributions: Artifacts' responses: '200': content: application/json: schema: $ref: '#/components/schemas/PaginatedArtifactDistributionResponseList' description: '' /api/automation-hub/pulp/api/v3/distributions/core/artifacts/{pulp_id}/: get: operationId: distributions_core_artifacts_read description: ViewSet for ArtifactDistribution. summary: Inspect an artifact distribution parameters: - in: path name: pulp_id schema: type: string format: uuid description: A UUID string identifying this artifact distribution. 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: - 'Distributions: Artifacts' responses: '200': content: application/json: schema: $ref: '#/components/schemas/ArtifactDistributionResponse' description: '' components: schemas: PaginatedArtifactDistributionResponseList: 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/ArtifactDistributionResponse' ArtifactDistributionResponse: type: object description: A serializer for ArtifactDistribution. properties: base_path: type: string description: The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. "foo" and "foo/bar") pulp_created: type: string format: date-time readOnly: true description: Timestamp of creation. pulp_last_updated: type: string format: date-time readOnly: true description: 'Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.' base_url: type: string readOnly: true description: The URL for accessing the publication as defined by this distribution. pulp_labels: type: object additionalProperties: type: - string - 'null' name: type: string description: A unique name. Ex, `rawhide` and `stable`. pulp_href: type: string format: uri readOnly: true content_guard: type: - string - 'null' format: uri description: An optional content-guard. hidden: type: boolean default: false description: Whether this distribution should be shown in the content app. required: - base_path - name