POST
/
repos
/
import
/
check
curl --request POST \
  --url https://api.diversion.dev/v0/repos/import/check \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "git_url": "<string>"
}'
This response has no body data.

Authorizations

Authorization
string
header
required

This API uses OAuth 2 with the implicit grant flow

Body

application/json

Details of a git repo to import into Diversion

git_url
string

URL to the git repo. May be omitted if repo_id already has it set.