Secret Info

Returns the repository secret. Please note this api requires write access to the repository, and the request parameter {secret} is not the secret’s id but secret name.

GET /api/repos/{owner}/{repo}/secrets/{secret}

Example Response Body:

1
2
3
4
5
6
{
  "id": 1,
  "repo_id": 42,
  "name": "docker_username",
  "pull_request": false
}