RepositoryService

/api/v1/repositories/{repo}/refs

GET
https://argocd.example.com/api/v1/repositories/{repo}/refs

Parameters

repostringrequiredpath

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
branchesArray<string>
tagsArray<string>

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.