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 "id": 1,
3 "repo_id": 42,
4 "name": "docker_username",
5 "pull_request": false
6 }