GET /katello/api/content_views/419082953/content_view_versions
200
{
"total": 1,
"subtotal": 1,
"selectable": 1,
"page": 1,
"per_page": 20,
"error": null,
"search": null,
"sort": {
"by": "version",
"order": "ASC"
},
"results": [
{
"version": "3.0",
"major": 3,
"minor": 0,
"composite_content_view_ids": [],
"published_in_composite_content_view_ids": [],
"content_view_id": 419082953,
"default": false,
"description": null,
"id": 234564707,
"name": "Published Library - dev - staging view 3.0",
"created_at": "2022-11-08 19:09:32 UTC",
"updated_at": "2022-11-08 19:09:32 UTC",
"content_view": {
"id": 419082953,
"name": "Published Library - dev - staging view",
"label": "published_dev_staging_view",
"generated_for": "none"
},
"composite_content_views": [],
"composite_content_view_versions": [],
"published_in_composite_content_views": [],
"environments": [
{
"id": 562075838,
"name": "Library",
"label": "library_label",
"publish_date": "3 minutes",
"permissions": {
"readable": true,
"promotable_or_removable": true,
"all_hosts_editable": true,
"all_keys_editable": true
},
"host_count": 0,
"activation_key_count": 0
},
{
"id": 292811013,
"name": "Dev",
"label": "dev_label",
"publish_date": "3 minutes",
"permissions": {
"readable": true,
"promotable_or_removable": true,
"all_hosts_editable": true,
"all_keys_editable": true
},
"host_count": 0,
"activation_key_count": 1
},
{
"id": 1028819239,
"name": "Staging",
"label": "staging_label",
"publish_date": "3 minutes",
"permissions": {
"readable": true,
"promotable_or_removable": true,
"all_hosts_editable": true,
"all_keys_editable": true
},
"host_count": 0,
"activation_key_count": 0
}
],
"repositories": [],
"last_event": null,
"active_history": [],
"ansible_collection_count": 0,
"deb_count": 0,
"docker_manifest_count": 0,
"docker_manifest_list_count": 0,
"docker_tag_count": 0,
"file_count": 0,
"ostree_ref_count": 0,
"python_package_count": 0,
"rpm_count": 0,
"modulemd_count": 0,
"erratum_count": 0,
"package_group_count": 0,
"srpm_count": 0,
"module_stream_count": 0,
"package_count": 0,
"component_view_count": 0,
"ansible_collection_repository_count": 0,
"deb_repository_count": 0,
"docker_repository_count": 0,
"file_repository_count": 0,
"ostree_repository_count": 0,
"python_repository_count": 0,
"yum_repository_count": 0,
"errata_counts": {
"security": 0,
"bugfix": 0,
"enhancement": 0,
"total": 0
},
"permissions": {
"deletable": true
}
}
]
}
| Param name | Description |
|---|---|
|
content_view_id optional |
Content view identifier Validations:
|
|
environment_id optional |
Filter versions by environment Validations:
|
|
version optional |
Filter versions by version number Validations:
|
|
composite_version_id optional |
Filter versions that are components in the specified composite version Validations:
|
|
organization_id optional |
Organization identifier Validations:
|
|
triggered_by_id optional |
Filter composite versions whose publish was triggered by the specified component version 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 |
|---|---|---|
| content_view_id | integer | |
| repository | string | |
| version | string |