PUT /katello/api/alternate_content_sources/209079975 { "name": "Yum ACS", "smart_proxy_ids": [ 767380118 ], "http_proxy_id": 1022235473, "ssl_ca_cert_id": 70104267, "ssl_client_cert_id": 60750479, "ssl_client_key_id": 81778079, "content_type": "yum", "base_url": "not a path", "subpaths": [ "content/", "isos/", "packages/" ], "alternate_content_source_type": "custom", "verify_ssl": true, "upstream_username": "admin", "upstream_password": "changeme", "alternate_content_source": { "name": "Yum ACS", "ssl_ca_cert_id": 70104267, "ssl_client_cert_id": 60750479, "ssl_client_key_id": 81778079, "base_url": "not a path", "subpaths": [ "content/", "isos/", "packages/" ], "content_type": "yum", "alternate_content_source_type": "custom", "verify_ssl": true, "upstream_username": "admin", "upstream_password": "changeme", "smart_proxy_ids": [ 767380118 ] } } 422 { "displayMessage": "Validation failed: Base url not a path is not a valid path", "errors": { "base_url": [ "not a path is not a valid path" ] } }
Param name | Description |
---|---|
name
optional |
Name of the alternate content source Validations:
|
description
optional |
Description for the alternate content source Validations:
|
base_url
optional |
Base URL for finding alternate content Validations:
|
subpaths
optional |
Path suffixes for finding alternate content Validations:
|
smart_proxy_ids
optional |
Ids of smart proxies to associate Validations:
|
smart_proxy_names
optional |
Names of smart proxies to associate Validations:
|
upstream_username
optional |
Basic authentication username Validations:
|
upstream_password
optional |
Basic authentication password Validations:
|
ssl_ca_cert_id
optional |
Identifier of the content credential containing the SSL CA Cert Validations:
|
ssl_client_cert_id
optional |
Identifier of the content credential containing the SSL Client Cert Validations:
|
ssl_client_key_id
optional |
Identifier of the content credential containing the SSL Client Key Validations:
|
verify_ssl
optional |
If SSL should be verified for the upstream URL Validations:
|
use_http_proxies
optional |
If the smart proxies' assigned HTTP proxies should be used Validations:
|
product_ids
optional |
IDs of products to copy repository information from into a Simplified Alternate Content Source. Products must include at least one repository of the chosen content type. Validations:
|
id
required |
Alternate content source ID Validations:
|