GET /katello/api/content_views/909058347/repositories 200 { "total": 1, "subtotal": 1, "selectable": 1, "page": 1, "per_page": 20, "error": null, "search": null, "sort": { "by": "name", "order": "asc" }, "results": [ { "backend_identifier": "2", "relative_path": "ACME_Corporation/dev/fedora_17_dev_label", "container_repository_name": null, "full_path": "https://mordor.lagrange.example.com/pulp/content/ACME_Corporation/dev/fedora_17_dev_label/", "library_instance_id": 367202338, "version_href": null, "remote_href": null, "publication_href": null, "content_counts": { "rpm": 2, "erratum": 1, "package_group": 0, "srpm": 0, "module_stream": 1 }, "mirroring_policy": "mirror_content_only", "id": 920815232, "name": "Fedora 17 x86_64", "label": "fedora_17_x86_64_label", "description": "My description", "content_view_versions": [], "filters": [], "last_sync": null, "content_view": { "id": 909058347, "name": "Published Library and dev view" }, "content_view_version": { "id": 172022917, "name": "Published Library and dev view 1.0", "content_view_id": 909058347 }, "kt_environment": { "id": 292811013, "name": "Dev" }, "content_type": "yum", "url": "http://myrepo.com", "arch": "noarch", "os_versions": null, "content_id": "1", "generic_remote_options": null, "major": null, "minor": null, "product": { "id": 785257261, "cp_id": "123123123001", "name": "Fedora", "orphaned": false, "redhat": false, "sync_plan": null }, "content_label": "fedora", "last_sync_words": null } ], "org_repository_count": 46 }
Param name | Description |
---|---|
organization_id
optional |
ID of an organization to show repositories in Validations:
|
product_id
optional |
ID of a product to show repositories of Validations:
|
environment_id
optional |
ID of an environment to show repositories in Validations:
|
content_view_id
optional |
ID of a content view to show repositories in Validations:
|
content_view_version_id
optional |
ID of a content view version to show repositories in Validations:
|
deb_id
optional |
Id of a deb package to find repositories that contain the deb Validations:
|
erratum_id
optional |
Id of an erratum to find repositories that contain the erratum Validations:
|
rpm_id
optional |
Id of a rpm package to find repositories that contain the rpm Validations:
|
file_id
optional |
Id of a file to find repositories that contain the file Validations:
|
ansible_collection_id
optional |
Id of an ansible collection to find repositories that contain the ansible collection Validations:
|
library
optional |
show repositories in Library and the default content view Validations:
|
archived
optional |
show archived repositories Validations:
|
content_type
optional |
Limit the repository type. Available types endpoint: /katello/api/repositories/repository_types Validations:
|
name
optional |
name of the repository Validations:
|
label
optional |
label of the repository Validations:
|
description
optional |
description of the repository Validations:
|
available_for
optional |
interpret specified object to return only Repositories that can be associated with specified object. Only 'content_view' & 'content_view_version' are supported. Validations:
|
with_content
optional |
Filter repositories by content unit type (erratum, docker_tag, etc.). Check the “Indexed?” types here: /katello/api/repositories/repository_types Validations:
|
download_policy
optional |
limit to only repositories with this download policy Validations:
|
username
optional |
only show the repositories readable by this user with this username Validations:
|
search
optional |
Search string Validations:
|
page
optional |
Page number, starting at 1 Validations:
|
per_page
optional |
Number of results per page to return Validations:
|
order
optional |
Sort field and order, eg. 'id DESC' Validations:
|
full_result
optional |
Whether or not to show all results Validations:
|
sort_by
optional |
Field to sort the results on Validations:
|
sort_order
optional |
How to order the sorted results (e.g. ASC for ascending) Validations:
|
Field name | Type | Possible values |
---|---|---|
container_repository_name | string | |
content_label | string | |
content_type | string | |
content_view_id | integer | |
description | text | |
distribution_arch | string | |
distribution_bootable | boolean | |
distribution_family | string | |
distribution_variant | string | |
distribution_version | string | |
download_policy | string | |
label | string | |
name | string | |
product | string | |
product_id | integer | |
product_name | string | |
redhat | true, false |