Skip to main content
GET
/
api
/
v1
/
git
/
credentials
Get credentials
curl --request GET \
  --url http://localhost:3000/api/v1/git/credentials \
  --cookie nut-session=
{
  "success": true,
  "data": {
    "hasCredentials": true,
    "provider": "<string>"
  }
}

Authorizations

nut-session
string
cookie
required

Session cookie authentication

Response

Credentials info

success
boolean
required
data
object