Create a new instance of TFS SCM.
url* - URL in the below format:
<protocol>:<host>:<port>/<tfsroot>/<collection>/<project>
URL format for TFS 2016 and above:
<protocol>:<host>:<port>/<collection>/<project>
userName/password* - userName/password for authentication
changeSet - changeset you wish to sync.If Changeset is not provided, latest revision will be synced unless Label is specified.
label - Label you wish to sync. If Label is not provided, latest revision will be synced unless changeset is specified.
Security
bearerAuth
- Mock serverhttps://codeinsightapi.redocly.app/_mock/swagger/scmInstances/TFS
- Code Insight REST API Serverhttps://codeinsightapi.redocly.app/codeinsight/api/scmInstances/TFS
curl -i -X POST \
'https://codeinsightapi.redocly.app/_mock/swagger/scmInstances/TFS?projectId=1' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"url": "string",
"username": "abc",
"password": "abc",
"changeSet": "string",
"label": "string"
}'