Skip to content

getRepoVars

Request

Security
authorization
Path
platformstringrequired
orgstringrequired
repostringrequired
Headers
authorizationanyrequired

SCM access token

mend-appIdany

(Optional) Id of your Mend application

curl -i -X GET \
  'https://developer-api.mend.io/api/v1/repos/{platform}/{org}/{repo}/vars' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'authorization: {authorization}' \
  -H 'mend-appId: {mend-appId}'

Responses

OK

Body*/*
totalCountinteger, (int32)
itemsArray of objects(DetailedVarResponseDto)
Response
{
  "totalCount": 0,
  "items": [
    {
      "varName": "string",
      "varValue": "string",
      "secretRef": "string",
      "addedAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z"
    }
  ]
}