Skip to content

scmInstances

Request

Fetch details of scm instances of a project.

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

ID of the project

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

ID of the SCM instance

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

Responses

Ok

Bodyapplication/json
propertyListArray of objects
scmtypestring
Response
{ "propertyList": [ {} ], "scmtype": "string" }