Rpm

Repos Upstream Rpm Read

Retrieve a RedHat upstream config for this repository.

Request

gethttps://api.cloudsmith.io/v1/repos/{owner}/{identifier}/upstream/rpm/{slug_perm}

Response

Responses

OK

object

object

auth_mode
string
optional
Allowed values: None, Username and Password
Defaults to None
auth_secret
string | null
optional
length ≤ 4096
auth_username
string | null
optional
length ≤ 64
created_at
date-time
optional
disable_reason
string
optional
Allowed values: N/A, Upstream points to its own repository, Missing upstream source, Upstream was disabled by request of user
Defaults to N/A
distro_version
string
required
extra_header_1
string | null
optional
^[-\w]+$
length ≤ 64
extra_header_2
string | null
optional
^[-\w]+$
length ≤ 64
extra_value_1
string | null
optional
^[^\n\r]+$
length ≤ 128
extra_value_2
string | null
optional
^[^\n\r]+$
length ≤ 128
gpg_key_inline
string | null
optional
gpg_key_url
uri | null
optional
length ≤ 254
gpg_verification
string
optional
Allowed values: Allow All, Warn on Invalid, Reject Invalid
Defaults to Allow All
include_sources
boolean
optional
is_active
boolean
optional
mode
string
optional
Allowed values: Proxy Only, Cache and Proxy
Defaults to Proxy Only
name
string
required
^\w[\w \-'\.\/()]+$
length between 1 and 64
pending_validation
boolean
optional
priority
integer
optional
length between 1 and 32767
slug_perm
slug
optional
^[-a-zA-Z0-9_]+$
length ≥ 1
updated_at
date-time
optional
upstream_url
uri
required
length between 1 and 200
verification_status
string
optional
Allowed values: Unknown, Invalid, Valid, Invalid (No Key)
Defaults to Unknown
verify_ssl
boolean
optional

Request could not be processed (see detail).

object

object

detail
string
required
length ≥ 1
fields
object
optional

Missing or invalid parameters (see detail).

object

object

detail
string
required
length ≥ 1
fields
object
optional