Skip to main content
POST
/
api
/
repositories
/
check
Check Repository
curl --request POST \
  --url https://api.example.com/api/repositories/check \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "repo_url": "<string>",
  "repo_access_token": "<string>"
}
'
{
  "accessible": true,
  "requires_auth": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-API-Key
string | null

Cookies

antidote_session
string | null

Body

application/json
repo_url
string
required
repo_access_token
string | null

Response

Successful Response

accessible
boolean
required
requires_auth
boolean
required