Update a Dart upstream config for this repository.
Update a Dart upstream config for this repository.
Request body
The authentication mode to use when accessing this upstream.
Secret to provide with requests to upstream.
Username to provide with requests to upstream.
The key for extra header #1 to send to upstream.
The key for extra header #2 to send to upstream.
The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.
The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.
Whether or not this upstream is active and ready for requests.
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.
A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream.
Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date.
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.
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.
Response
OK
The authentication mode to use when accessing this upstream.
Secret to provide with requests to upstream.
Username to provide with requests to upstream.
Whether the upstream is available for use.
Whether the upstream can be reindexed.
The datetime the upstream source was created.
Human-readable explanation of why this upstream is disabled
The key for extra header #1 to send to upstream.
The key for extra header #2 to send to upstream.
The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.
The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.
Whether the upstream has failed signature verification.
The number of packages available in this upstream source
The current indexing status of this upstream source
Whether or not this upstream is active and ready for requests.
The last time this upstream source was indexed
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.
A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream.
When true, this upstream source is pending validation.
Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date.
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.
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.
Changes
No recorded changes to this endpoint across all 1 revision of this API.