Update a Debian upstream config for this repository.

Update a Debian upstream config for this repository.

Path Params
string
required
string
required
string
required
Body Params
string
Defaults to None

The authentication mode to use when accessing this upstream.

string | null

Secret to provide with requests to upstream.

string | null

Username to provide with requests to upstream.

string
length between 1 and 64

The component to fetch from the upstream

distro_versions
array of strings
required

The distribution version that packages found on this upstream could be associated with.

distro_versions*
string | null

The key for extra header #1 to send to upstream.

string | null

The key for extra header #2 to send to upstream.

string | null

The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.

string | null

The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.

string | null

A public GPG key to associate with packages found on this upstream. When using the Cloudsmith setup script, this GPG key will be automatically imported on your deployment machines to allow upstream packages to validate and install.

uri | null

When provided, Cloudsmith will fetch, validate, and associate a public GPG key found at the provided URL. When using the Cloudsmith setup script, this GPG key will be automatically imported on your deployment machines to allow upstream packages to validate and install.

string
Defaults to Allow All

The GPG signature verification mode for this upstream.

boolean

When true, source packages will be available from this upstream.

boolean

Whether or not this upstream is active and ready for requests.

string
Defaults to Proxy Only

The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode.

string
required
length between 1 and 64

A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream.

integer
1 to 32767

Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date.

string | null

The distribution to fetch from the upstream

uri
required
length between 1 and 200

The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository.

boolean

If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams.

Responses

Language
Credentials
Click Try It! to start a request and see the response here! Or choose an example:
application/json

Cloudsmith is the new standard in Package / Artifact Management and Software Distribution

With support for all major package formats, you can trust us to manage your software supply chain.


Start My Free Trial Now
Cookie Declaration (Manage Cookies)