GET /katello/api/alternate_content_sources 200 { "total": 5, "subtotal": 5, "selectable": 5, "page": 1, "per_page": 20, "error": null, "search": null, "sort": { "by": "name", "order": "asc" }, "results": [ { "name": "File ACS", "alternate_content_source_type": "custom", "content_type": "file", "base_url": "https://fixtures.pulpproject.org/", "subpaths": [], "upstream_username": "admin", "smart_proxies": [], "verify_ssl": true, "use_http_proxies": null, "id": 175019167, "label": "file_acs_fixture", "description": null, "ssl_ca_cert": { "id": 70104267, "name": "Fedora CA" }, "ssl_client_cert": { "id": 60750479, "name": "Fedora Cert" }, "ssl_client_key": { "id": 81778079, "name": "Fedora Key" }, "last_refresh": null }, { "name": "File Simplified ACS", "alternate_content_source_type": "simplified", "content_type": "file", "products": [], "smart_proxies": [], "use_http_proxies": null, "id": 364480250, "label": "file_simplified_acs_fixture", "description": null, "last_refresh": null }, { "name": "Yum ACS", "alternate_content_source_type": "custom", "content_type": "yum", "base_url": "https://fixtures.pulpproject.org/", "subpaths": [ "content/", "isos/", "packages/" ], "upstream_username": "admin", "smart_proxies": [], "verify_ssl": true, "use_http_proxies": null, "id": 209079975, "label": "yum_acs_fixture", "description": null, "ssl_ca_cert": { "id": 70104267, "name": "Fedora CA" }, "ssl_client_cert": { "id": 60750479, "name": "Fedora Cert" }, "ssl_client_key": { "id": 81778079, "name": "Fedora Key" }, "last_refresh": null }, { "name": "Yum ACS RHUI", "alternate_content_source_type": "rhui", "content_type": "yum", "base_url": "https://fixtures.pulpproject.org/", "subpaths": [], "upstream_username": "admin", "smart_proxies": [], "verify_ssl": true, "use_http_proxies": null, "id": 350917440, "label": "yum_acs_fixture_rhui", "description": null, "ssl_ca_cert": { "id": 70104267, "name": "Fedora CA" }, "ssl_client_cert": { "id": 60750479, "name": "Fedora Cert" }, "ssl_client_key": { "id": 81778079, "name": "Fedora Key" }, "last_refresh": null }, { "name": "Yum Simplified ACS", "alternate_content_source_type": "simplified", "content_type": "yum", "products": [], "smart_proxies": [], "use_http_proxies": null, "id": 508877521, "label": "yum_simplified_acs_fixture", "description": null, "last_refresh": null } ] }
Param name | Description |
---|---|
name
optional |
Name of the alternate content source 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 |
---|---|---|
alternate_content_source_type | string | |
base_url | string | |
content_type | string | |
description | text | |
label | string | |
name | string | |
product_id | integer | |
product_name | string | |
smart_proxy_id | integer | |
smart_proxy_name | string | |
subpath | string | |
upstream_username | string |