Skip to content

Subversion scmInstances

Request

Create a new instance of Subversion SCM.
url* - URL in the format: <protocol>://<host>/<svnroot>/<repository>
userName/password - userName/password or leave blank for anonymous connection
revisionNumber - revision for which you want to create workspace and run scan on the same.

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

ID of the project

Example:projectId=1
Bodyapplication/jsonrequired
urlstring, [ 0 .. 2400 ] charactersrequired

url

userNamestring, [ 0 .. 255 ] characters

userName

Example:"abc"
passwordstring, [ 0 .. 255 ] characters

password

Example:"abc"
revisionNumberstring, [ 0 .. 255 ] characters

revisionNumber

curl -i -X POST \
  'https://codeinsightapi.redocly.app/_mock/swagger/scmInstances/Subversion?projectId=1' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "url": "string",
    "userName": "abc",
    "password": "abc",
    "revisionNumber": "string"
  }'

Responses

Created