RepositoryService

ListWriteRepositories gets a list of all configured write repositories

GET
https://argocd.example.com/api/v1/write-repositories

Parameters

repostringquery

Repo URL for query.

forceRefreshbooleanquery

Whether to force a cache refresh on repo's connection state.

appProjectstringquery

App project for query.

Response

A successful response.

Response fields application/json

RepositoryList is a collection of Repositories.

Show child attributes
azureActiveDirectoryEndpointstring
azureServicePrincipalClientIdstring
azureServicePrincipalClientSecretstring
azureServicePrincipalTenantIdstring
bearerTokenstring
Show child attributes

Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.

+protobuf.options.marshal=false +protobuf.as=Timestamp +protobuf.options.(gogoproto.goproto_stringer)=false

messagestring
statusstring
depthinteger<int64>

Depth specifies the depth for shallow clones. A value of 0 or omitting the field indicates a full clone.

enableLfsboolean

EnableLFS specifies whether git-lfs support should be enabled for this repo. Only valid for Git repositories.

enableOCIboolean
forceHttpBasicAuthboolean
gcpServiceAccountKeystring
githubAppEnterpriseBaseUrlstring
githubAppIDinteger<int64>
githubAppInstallationIDinteger<int64>
githubAppPrivateKeystring
inheritedCredsboolean
insecureboolean
insecureIgnoreHostKeyboolean
insecureOCIForceHttpboolean

InsecureOCIForceHttp specifies whether the connection to the repository uses TLS at all. If true, no TLS. This flag is applicable for OCI repos only.

namestring
noProxystring
passwordstring
projectstring
proxystring
repostring
sshPrivateKeystring

SSHPrivateKey contains the PEM data for authenticating at the repo server. Only used with Git repos.

tlsClientCertDatastring
tlsClientCertKeystring
typestring

Type specifies the type of the repo. Can be either "git" or "helm. "git" is assumed if empty or absent.

useAzureWorkloadIdentityboolean
usernamestring
webhookManifestCacheWarmDisabledboolean

WebhookManifestCacheWarmDisabled disables manifest cache warming during webhook processing for this repository. When set, webhook handlers will only trigger reconciliation for affected applications and skip Redis cache operations for unaffected ones. Recommended for large monorepos with plain YAML manifests.

metadatav1ListMeta

ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.

Show child attributes
continuestring

continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message.

remainingItemCountinteger<int64>
resourceVersionstring
shardInfov1ShardInfo

ShardInfo describes the shard selector that was applied to produce a list response. Its presence on a list response indicates the list is a filtered subset.

Show child attributes
selectorstring

An unexpected error response.

Response fields application/json
codeinteger<int32>
Show child attributes
type_urlstring
valuestring<byte>
errorstring
messagestring

Authorization

bearerapiKey in header

A token sent as Authorization: Bearer <token>. API Docs shows how to get one.