Skip to content

scmInstances

Request

Test connection api for scm instances

Security
bearerAuth
Query
projectIdinteger, (int64), >= 1required

ID of the project

Example:projectId=1
scmTypestringrequired
Default:"GIT"
Enum:"GIT""TFS""PERFORCE""SUBVERSION"
instanceIdinteger, (int64), >= 0required

ID of the SCM instance

Example:instanceId=0
curl -i -X POST \
  'https://codeinsightapi.redocly.app/_mock/swagger/scmInstances?projectId=1&scmType=GIT&instanceId=0' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Ok