# ListRepositories gets a list of all configured repositories ListRepositories gets a list of all configured repositories. Endpoint: GET /gitops/api/v1/agents/{agentIdentifier}/repositories Version: 1.0 Security: x-api-key ## Path parameters: - `agentIdentifier` (string, required) Agent identifier for entity. ## Query parameters: - `accountIdentifier` (string) Account Identifier for the Entity. - `orgIdentifier` (string) Organization Identifier for the Entity. - `projectIdentifier` (string) Project Identifier for the Entity. - `identifier` (string) - `query.repo` (string) Repo URL for query. - `query.forceRefresh` (boolean) Whether to force a cache refresh on repo's connection state. - `query.project` (string) The associated project project. ## Response 200 fields (application/json): - `metadata` (object) ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}. - `metadata.selfLink` (string) - `metadata.resourceVersion` (string) - `metadata.continue` (string) 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. - `metadata.remainingItemCount` (string) - `items` (array) - `items.repo` (string) - `items.username` (string) - `items.password` (string) - `items.sshPrivateKey` (string) SSHPrivateKey contains the PEM data for authenticating at the repo server. Only used with Git repos. - `items.connectionState` (object) - `items.connectionState.status` (string) - `items.connectionState.message` (string) - `items.connectionState.attemptedAt` (object) 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 - `items.connectionState.attemptedAt.seconds` (string) Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive. - `items.connectionState.attemptedAt.nanos` (integer) Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. This field may be limited in precision depending on context. - `items.connectionState.attemptedAtTs` (string) - `items.insecureIgnoreHostKey` (boolean) - `items.insecure` (boolean) - `items.enableLfs` (boolean) EnableLFS specifies whether git-lfs support should be enabled for this repo. Only valid for Git repositories. - `items.tlsClientCertData` (string) - `items.tlsClientCertKey` (string) - `items.type` (string) Type specifies the type of the repo. Can be either "git" or "helm. "git" is assumed if empty or absent. - `items.name` (string) - `items.inheritedCreds` (boolean) - `items.enableOCI` (boolean) - `items.githubAppPrivateKey` (string) - `items.githubAppID` (string) - `items.githubAppInstallationID` (string) - `items.githubAppEnterpriseBaseUrl` (string) - `items.proxy` (string) - `items.project` (string) - `items.connectionType` (string) - `items.forceHttpBasicAuth` (boolean) - `items.noProxy` (string) ## Response default fields (application/json): - `error` (string) - `code` (integer) - `message` (string) - `details` (array) - `details.type_url` (string) A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in ). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme , , or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than , (or the empty scheme) might be used with implementation specific semantics. - `details.value` (string) Must be a valid serialized protocol buffer of the above specified type.