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:

{
  "id": 1,
  "name": "sample_secret_name",
  "image": null,
  "event": [
    "push",
    "tag",
    "deployment"
  ]
}

Is there a mistake on this page? Please let us know or edit this page.