Spaces

Get a specific Git credential

get/{spaceId}/git-credentials/{id}/v2

Request

  • Base URL
    https://demo.octopus.app/api
  • URL
    https://demo.octopus.app/api/{spaceId}/git-credentials/{id}/v2
  • Auth
    • API key in header X-Octopus-ApiKey
    • or API key in query parameter ApiKey
    • or API key in header X-NuGet-ApiKey

Path parameters

spaceIdstring required

The ID of the space containing the resource(s).

idstring required

Id of the Git credential to get

Response

The requested Git Credential

Example response

{
  "GitCredential": {
    "SpaceId": "Spaces-1"
  }
}

Changes

No recorded changes to this operation across all 13 revisions of this API.