Unity Version Control Server API
Overview
The Unity Version Control server REST API allows you to consume and manage Unity Version Control
information (repositories, branches, changesets, code reviews, and more) directly from the server
over HTTP.
Servers
Unity Version Control Cloud hosts each organization in a single region. Use the base URI of the
region that hosts yours:
Region | Base URI | Server picker |
|---|---|---|
| US East - Virginia | | Server 1 |
| Europe West - Netherlands | | Server 2 |
| Asia North East - Japan | | Server 3 |
| Asia South East - Singapore | | Server 4 |
If you run an on-premises server, the API listens on the same port as the WebAdmin: for
unencrypted local access and for external HTTPS access.
71787179For more information about Unity Version Control, refer to our
documentation.
Download OpenAPI specification:
Get repository annotations for a specific revision
Code samples for "{title}":
Request example
curl -X POST \ -H "Content-Type: application/json" \ -d '{ "encryptionKey": "string"}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/repos/{repoName}/revisions/{revisionId}/annotate"
Response example
[ { "line": 0, "owner": "string", "changeset": 0, "branch": "string", "date": "2024-01-01T00:00:00Z", "comment": "string", "revisionId": 0, "parentRevisionId": 0 }]
GET /api/v2/organizations/{orgName}/api-keys
Authorizations
bearer
HTTP: bearer
HTTP Authorization Scheme: Bearer
POST /api/v2/organizations/{orgName}/api-keys
Code samples for "{title}":
Request example
curl -X POST \ -H "Content-Type: application/json" \ -d '{ "user": "string", "description": "string", "key": "string"}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v2/organizations/{orgName}/api-keys"
Response example
{ "user": "string", "description": "string", "key": "string"}
GET /api/v2/organizations/{orgName}/repositories/{repoName}/attributes
Code samples for "{title}":
Request example
curl -X GET \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v2/organizations/{orgName}/repositories/{repoName}/attributes"
Response example
{ "result": [ { "id": 0, "name": "string", "owner": "string", "comment": "string", "guid": "string", "repositoryId": "string", "date": "2024-01-01T00:00:00Z" } ], "nextOffset": 0, "previousOffset": 0, "direction": "forward"}
POST /api/v2/organizations/{orgName}/repositories/{repoName}/attributes
Code samples for "{title}":
Request example
curl -X POST \ -H "Content-Type: application/json" \ -d '{ "name": "string", "comment": "string"}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v2/organizations/{orgName}/repositories/{repoName}/attributes"
Response example
{ "attributeId": 0, "attributeName": "string", "attributeComment": "string", "target": { "name": "string", "id": 0, "type": "branch" }, "value": "string", "date": "2024-01-01T00:00:00Z"}
GET /api/v2/organizations/{orgName}/repositories/{repoName}/attributes/{attributeNameOrId}
Code samples for "{title}":
Request example
curl -X GET \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v2/organizations/{orgName}/repositories/{repoName}/attributes/{attributeNameOrId}"
Response example
{ "id": 0, "name": "string", "owner": "string", "comment": "string", "guid": "string", "repositoryId": "string", "date": "2024-01-01T00:00:00Z"}
PATCH /api/v2/organizations/{orgName}/repositories/{repoName}/attributes/{attributeNameOrId}
Authorizations
bearer
HTTP: bearer
HTTP Authorization Scheme: Bearer
Code samples for "{title}":
Request example
curl -X PATCH \ -H "Content-Type: application/json" \ -d '{ "name": "string", "comment": "string"}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v2/organizations/{orgName}/repositories/{repoName}/attributes/{attributeNameOrId}"
Response example
{ "id": 0, "name": "string", "owner": "string", "comment": "string", "guid": "string", "repositoryId": "string", "date": "2024-01-01T00:00:00Z"}
GET /api/v2/organizations/{orgName}/repositories/{repoName}/attributes/{requestTargetType}/{targetNameOrId}
Code samples for "{title}":
Request example
curl -X GET \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v2/organizations/{orgName}/repositories/{repoName}/attributes/{requestTargetType}/{targetNameOrId}"
Response example
{ "attributeId": 0, "attributeName": "string", "attributeComment": "string", "target": { "name": "string", "id": 0, "type": "branch" }, "value": "string", "date": "2024-01-01T00:00:00Z"}
DELETE /api/v2/organizations/{orgName}/repositories/{repoName}/attributes/{requestTargetType}/{targetNameOrId}/{attributeNameOrId}
Code samples for "{title}":
Request example
curl -X DELETE \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v2/organizations/{orgName}/repositories/{repoName}/attributes/{requestTargetType}/{targetNameOrId}/{attributeNameOrId}"
Response example
{ "type": "string", "title": "string", "status": 0, "detail": "string", "instance": "string"}
PUT /api/v2/organizations/{orgName}/repositories/{repoName}/attributes/{requestTargetType}/{targetNameOrId}/{attributeNameOrId}
Code samples for "{title}":
Request example
curl -X PUT \ -H "Content-Type: application/json" \ -d '{ "value": "string"}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v2/organizations/{orgName}/repositories/{repoName}/attributes/{requestTargetType}/{targetNameOrId}/{attributeNameOrId}"
Response example
{ "attributeId": 0, "attributeName": "string", "attributeComment": "string", "target": { "name": "string", "id": 0, "type": "branch" }, "value": "string", "date": "2024-01-01T00:00:00Z"}
Get repository main branch
Code samples for "{title}":
Request example
curl -X GET \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/repos/{repoName}/main-branch"
Response example
{ "id": 0, "name": "string", "repositoryId": "string", "headChangeset": 0, "date": "2024-01-01T00:00:00Z", "owner": "string", "comment": "string", "type": "string", "hasCodeReview": true, "codeReviewsCount": 0, "codeReviewIds": [ 0 ], "lastActivity": "2024-01-01T00:00:00Z", "headChangesetComment": "string", "canBeDeleted": true, "canBeDeletedIncludingChangesets": true, "changesetsCount": 0, "status": 0, "isMain": true, "mergeInfo": [ { "sourceChangesetId": 0, "sourceBranchId": 0, "sourceBranchName": "string", "dstChangesetId": 0, "dstBranchId": 0, "dstBranchName": "string", "dstIsMain": true, "mergeDate": "2024-01-01T00:00:00Z", "author": "string", "comment": "string" } ], "attributeValues": [ { "attributeId": 0, "attributeName": "string", "attributeComment": "string", "target": { "name": "string", "id": 0, "type": "branch" }, "value": "string", "date": "2024-01-01T00:00:00Z" } ], "isHidden": true}
Get repository branches
Authorizations
bearer
HTTP: bearer
HTTP Authorization Scheme: Bearer
Code samples for "{title}":
Request example
curl -X GET \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/repos/{repoName}/branches"
Response example
[ { "id": 0, "name": "string", "repositoryId": "string", "headChangeset": 0, "date": "2024-01-01T00:00:00Z", "owner": "string", "comment": "string", "type": "string", "hasCodeReview": true, "codeReviewsCount": 0, "codeReviewIds": [ 0 ], "lastActivity": "2024-01-01T00:00:00Z", "headChangesetComment": "string", "canBeDeleted": true, "canBeDeletedIncludingChangesets": true, "changesetsCount": 0, "status": 0, "isMain": true, "mergeInfo": [ { "sourceChangesetId": 0, "sourceBranchId": 0, "sourceBranchName": "string", "dstChangesetId": 0, "dstBranchId": 0, "dstBranchName": "string", "dstIsMain": true, "mergeDate": "2024-01-01T00:00:00Z", "author": "string", "comment": "string" } ], "attributeValues": [ { "attributeId": 0, "attributeName": "string", "attributeComment": "string", "target": { "name": "string", "id": 0, "type": "branch" }, "value": "string", "date": "2024-01-01T00:00:00Z" } ], "isHidden": true }]
POST /api/v1/organizations/{orgName}/repos/{repoName}/branches
Code samples for "{title}":
Request example
curl -X POST \ -H "Content-Type: application/json" \ -d '{ "name": "string", "changeset": 0, "comment": "string"}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/repos/{repoName}/branches"
Response example
{ "id": 0, "name": "string", "repositoryId": "string", "headChangeset": 0, "date": "2024-01-01T00:00:00Z", "owner": "string", "comment": "string", "type": "string", "hasCodeReview": true, "codeReviewsCount": 0, "codeReviewIds": [ 0 ], "lastActivity": "2024-01-01T00:00:00Z", "headChangesetComment": "string", "canBeDeleted": true, "canBeDeletedIncludingChangesets": true, "changesetsCount": 0, "status": 0, "isMain": true, "mergeInfo": [ { "sourceChangesetId": 0, "sourceBranchId": 0, "sourceBranchName": "string", "dstChangesetId": 0, "dstBranchId": 0, "dstBranchName": "string", "dstIsMain": true, "mergeDate": "2024-01-01T00:00:00Z", "author": "string", "comment": "string" } ], "attributeValues": [ { "attributeId": 0, "attributeName": "string", "attributeComment": "string", "target": { "name": "string", "id": 0, "type": "branch" }, "value": "string", "date": "2024-01-01T00:00:00Z" } ], "isHidden": true}
Get repository branch
Authorizations
bearer
HTTP: bearer
HTTP Authorization Scheme: Bearer
Code samples for "{title}":
Request example
curl -X GET \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/repos/{repoName}/branches/{branchName}"
Response example
{ "id": 0, "name": "string", "repositoryId": "string", "headChangeset": 0, "date": "2024-01-01T00:00:00Z", "owner": "string", "comment": "string", "type": "string", "hasCodeReview": true, "codeReviewsCount": 0, "codeReviewIds": [ 0 ], "lastActivity": "2024-01-01T00:00:00Z", "headChangesetComment": "string", "canBeDeleted": true, "canBeDeletedIncludingChangesets": true, "changesetsCount": 0, "status": 0, "isMain": true, "mergeInfo": [ { "sourceChangesetId": 0, "sourceBranchId": 0, "sourceBranchName": "string", "dstChangesetId": 0, "dstBranchId": 0, "dstBranchName": "string", "dstIsMain": true, "mergeDate": "2024-01-01T00:00:00Z", "author": "string", "comment": "string" } ], "attributeValues": [ { "attributeId": 0, "attributeName": "string", "attributeComment": "string", "target": { "name": "string", "id": 0, "type": "branch" }, "value": "string", "date": "2024-01-01T00:00:00Z" } ], "isHidden": true}
GET /api/v2/organizations/{orgName}/repositories/{repoName}/branches/{branchId}
Authorizations
bearer
HTTP: bearer
HTTP Authorization Scheme: Bearer
Code samples for "{title}":
Request example
curl -X GET \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v2/organizations/{orgName}/repositories/{repoName}/branches/{branchId}"
Response example
{ "id": 0, "name": "string", "repositoryId": "string", "headChangeset": 0, "date": "2024-01-01T00:00:00Z", "owner": "string", "comment": "string", "type": "string", "hasCodeReview": true, "codeReviewsCount": 0, "codeReviewIds": [ 0 ], "lastActivity": "2024-01-01T00:00:00Z", "headChangesetComment": "string", "canBeDeleted": true, "canBeDeletedIncludingChangesets": true, "changesetsCount": 0, "status": 0, "isMain": true, "mergeInfo": [ { "sourceChangesetId": 0, "sourceBranchId": 0, "sourceBranchName": "string", "dstChangesetId": 0, "dstBranchId": 0, "dstBranchName": "string", "dstIsMain": true, "mergeDate": "2024-01-01T00:00:00Z", "author": "string", "comment": "string" } ], "attributeValues": [ { "attributeId": 0, "attributeName": "string", "attributeComment": "string", "target": { "name": "string", "id": 0, "type": "branch" }, "value": "string", "date": "2024-01-01T00:00:00Z" } ], "isHidden": true}
PATCH /api/v2/organizations/{orgName}/repositories/{repoName}/branches/{branchId}
Code samples for "{title}":
Request example
curl -X PATCH \ -H "Content-Type: application/json" \ -d '{ "name": "string"}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v2/organizations/{orgName}/repositories/{repoName}/branches/{branchId}"
Response example
[ { "id": 0, "changesetId": 0, "repositoryId": "string", "parentChangesetId": 0, "branch": "string", "branchId": 0, "date": "2024-01-01T00:00:00Z", "guid": "string", "owner": "string", "comment": "string", "changesetType": "string", "hasCodeReview": true, "codeReviewsCount": 0, "codeReviewIds": [ 0 ], "labels": [ "string" ], "canBeDeleted": true, "mergeInfo": [ { "sourceChangesetId": 0, "sourceBranchId": 0, "sourceBranchName": "string", "dstChangesetId": 0, "dstBranchId": 0, "dstBranchName": "string", "dstIsMain": true, "mergeDate": "2024-01-01T00:00:00Z", "author": "string", "comment": "string" } ], "attributeValues": [ { "attributeId": 0, "attributeName": "string", "attributeComment": "string", "target": { "name": "string", "id": 0, "type": "branch" }, "value": "string", "date": "2024-01-01T00:00:00Z" } ] }]
GET /api/v2/organizations/{orgName}/repositories/{repoName}/branches
Code samples for "{title}":
Request example
curl -X GET \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v2/organizations/{orgName}/repositories/{repoName}/branches"
Response example
[ { "id": 0, "changesetId": 0, "repositoryId": "string", "parentChangesetId": 0, "branch": "string", "branchId": 0, "date": "2024-01-01T00:00:00Z", "guid": "string", "owner": "string", "comment": "string", "changesetType": "string", "hasCodeReview": true, "codeReviewsCount": 0, "codeReviewIds": [ 0 ], "labels": [ "string" ], "canBeDeleted": true, "mergeInfo": [ { "sourceChangesetId": 0, "sourceBranchId": 0, "sourceBranchName": "string", "dstChangesetId": 0, "dstBranchId": 0, "dstBranchName": "string", "dstIsMain": true, "mergeDate": "2024-01-01T00:00:00Z", "author": "string", "comment": "string" } ], "attributeValues": [ { "attributeId": 0, "attributeName": "string", "attributeComment": "string", "target": { "name": "string", "id": 0, "type": "branch" }, "value": "string", "date": "2024-01-01T00:00:00Z" } ] }]
POST /api/v2/organizations/{orgName}/repositories/{repoName}/branches
Code samples for "{title}":
Request example
curl -X POST \ -H "Content-Type: application/json" \ -d '{ "name": "string", "changeset": 0, "comment": "string"}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v2/organizations/{orgName}/repositories/{repoName}/branches"
Response example
{ "id": 0, "name": "string", "repositoryId": "string", "headChangeset": 0, "date": "2024-01-01T00:00:00Z", "owner": "string", "comment": "string", "type": "string", "hasCodeReview": true, "codeReviewsCount": 0, "codeReviewIds": [ 0 ], "lastActivity": "2024-01-01T00:00:00Z", "headChangesetComment": "string", "canBeDeleted": true, "canBeDeletedIncludingChangesets": true, "changesetsCount": 0, "status": 0, "isMain": true, "mergeInfo": [ { "sourceChangesetId": 0, "sourceBranchId": 0, "sourceBranchName": "string", "dstChangesetId": 0, "dstBranchId": 0, "dstBranchName": "string", "dstIsMain": true, "mergeDate": "2024-01-01T00:00:00Z", "author": "string", "comment": "string" } ], "attributeValues": [ { "attributeId": 0, "attributeName": "string", "attributeComment": "string", "target": { "name": "string", "id": 0, "type": "branch" }, "value": "string", "date": "2024-01-01T00:00:00Z" } ], "isHidden": true}
GET /api/v1/organizations/{orgName}/repos/{repoName}/changesets
Code samples for "{title}":
Request example
curl -X GET \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/repos/{repoName}/changesets"
Response example
[ { "id": 0, "changesetId": 0, "repositoryId": "string", "parentChangesetId": 0, "branch": "string", "branchId": 0, "date": "2024-01-01T00:00:00Z", "guid": "string", "owner": "string", "comment": "string", "changesetType": "string", "hasCodeReview": true, "codeReviewsCount": 0, "codeReviewIds": [ 0 ], "labels": [ "string" ], "canBeDeleted": true, "mergeInfo": [ { "sourceChangesetId": 0, "sourceBranchId": 0, "sourceBranchName": "string", "dstChangesetId": 0, "dstBranchId": 0, "dstBranchName": "string", "dstIsMain": true, "mergeDate": "2024-01-01T00:00:00Z", "author": "string", "comment": "string" } ], "attributeValues": [ { "attributeId": 0, "attributeName": "string", "attributeComment": "string", "target": { "name": "string", "id": 0, "type": "branch" }, "value": "string", "date": "2024-01-01T00:00:00Z" } ] }]
GET /api/v1/organizations/{orgName}/repos/{repoName}/changesets/{changesetId}
Authorizations
bearer
HTTP: bearer
HTTP Authorization Scheme: Bearer
Code samples for "{title}":
Request example
curl -X GET \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/repos/{repoName}/changesets/{changesetId}"
Response example
{ "id": 0, "changesetId": 0, "repositoryId": "string", "parentChangesetId": 0, "branch": "string", "branchId": 0, "date": "2024-01-01T00:00:00Z", "guid": "string", "owner": "string", "comment": "string", "changesetType": "string", "hasCodeReview": true, "codeReviewsCount": 0, "codeReviewIds": [ 0 ], "labels": [ "string" ], "canBeDeleted": true, "mergeInfo": [ { "sourceChangesetId": 0, "sourceBranchId": 0, "sourceBranchName": "string", "dstChangesetId": 0, "dstBranchId": 0, "dstBranchName": "string", "dstIsMain": true, "mergeDate": "2024-01-01T00:00:00Z", "author": "string", "comment": "string" } ], "attributeValues": [ { "attributeId": 0, "attributeName": "string", "attributeComment": "string", "target": { "name": "string", "id": 0, "type": "branch" }, "value": "string", "date": "2024-01-01T00:00:00Z" } ]}
GET /api/v2/organizations/{orgName}/repositories/{repoName}/changesets
Code samples for "{title}":
Request example
curl -X GET \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v2/organizations/{orgName}/repositories/{repoName}/changesets"
Response example
[ { "id": 0, "changesetId": 0, "repositoryId": "string", "parentChangesetId": 0, "branch": "string", "branchId": 0, "date": "2024-01-01T00:00:00Z", "guid": "string", "owner": "string", "comment": "string", "changesetType": "string", "hasCodeReview": true, "codeReviewsCount": 0, "codeReviewIds": [ 0 ], "labels": [ "string" ], "canBeDeleted": true, "mergeInfo": [ { "sourceChangesetId": 0, "sourceBranchId": 0, "sourceBranchName": "string", "dstChangesetId": 0, "dstBranchId": 0, "dstBranchName": "string", "dstIsMain": true, "mergeDate": "2024-01-01T00:00:00Z", "author": "string", "comment": "string" } ], "attributeValues": [ { "attributeId": 0, "attributeName": "string", "attributeComment": "string", "target": { "name": "string", "id": 0, "type": "branch" }, "value": "string", "date": "2024-01-01T00:00:00Z" } ] }]
DELETE /api/v2/organizations/{orgName}/repositories/{repoName}/changesets/{changesetId}
PATCH /api/v2/organizations/{orgName}/repositories/{repoName}/changesets/{changesetId}
Code samples for "{title}":
Request example
curl -X PATCH \ -H "Content-Type: application/json" \ -d '{ "comment": "string"}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v2/organizations/{orgName}/repositories/{repoName}/changesets/{changesetId}"
Response example
{ "id": 0, "changesetId": 0, "repositoryId": "string", "parentChangesetId": 0, "branch": "string", "branchId": 0, "date": "2024-01-01T00:00:00Z", "guid": "string", "owner": "string", "comment": "string", "changesetType": "string", "hasCodeReview": true, "codeReviewsCount": 0, "codeReviewIds": [ 0 ], "labels": [ "string" ], "canBeDeleted": true, "mergeInfo": [ { "sourceChangesetId": 0, "sourceBranchId": 0, "sourceBranchName": "string", "dstChangesetId": 0, "dstBranchId": 0, "dstBranchName": "string", "dstIsMain": true, "mergeDate": "2024-01-01T00:00:00Z", "author": "string", "comment": "string" } ], "attributeValues": [ { "attributeId": 0, "attributeName": "string", "attributeComment": "string", "target": { "name": "string", "id": 0, "type": "branch" }, "value": "string", "date": "2024-01-01T00:00:00Z" } ]}
POST /api/v1/organizations/{orgName}/repos/{repoName}/branch/{branchName}/checkin
Authorizations
bearer
HTTP: bearer
HTTP Authorization Scheme: Bearer
Code samples for "{title}":
Request example
curl -X POST \ -H "Content-Type: application/json" \ -d '{ "comment": "string", "changesetId": 0, "changes": [ { "changeType": "string", "itemType": "string", "path": "string", "content": "string", "md5": "string", "hash": { "value": "string", "algorithm": "none" }, "dstPath": "string", "symlinkPath": "string" } ]}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/repos/{repoName}/branch/{branchName}/checkin"
Response example
{ "changesetId": 0, "branchName": "string", "guid": "string", "timestamp": "2024-01-01T00:00:00Z", "repository": "string"}
POST /api/v1/organizations/{orgName}/repos/{repoName}/fileUpload/{fileUploadId}
Code samples for "{title}":
Request example
curl -X POST \ -H "Content-Type: application/octet-stream" \ -d '"string"' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/repos/{repoName}/fileUpload/{fileUploadId}"
Response example
{ "error": { "message": "string" }, "keyMessage": "string"}
GET /api/v1/organizations/{orgName}/repos/{repoName}/codereviews
Authorizations
bearer
HTTP: bearer
HTTP Authorization Scheme: Bearer
Code samples for "{title}":
Request example
curl -X GET \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/repos/{repoName}/codereviews"
Response example
[ { "id": 0, "object": { "type": "Branch", "targetId": 0, "spec": "string" }, "assignee": "string", "owner": "string", "timestamp": "2024-01-01T00:00:00Z", "modifiedTimestamp": "2024-01-01T00:00:00Z", "status": "Under review", "title": "string", "description": "string", "descriptionComment": { "type": "Comment", "id": 0, "guid": "string", "owner": "string", "timestamp": "2024-01-01T00:00:00Z", "itemId": 0, "itemName": "string", "revisionId": 0, "locationSpec": "string", "commentText": "string", "reviewId": 0, "parentCommentId": 0, "changesetId": 0, "appliedInChangesetId": 0, "branchChangesetId": 0 }, "commentsCount": 0, "issuesCount": 0, "unansweredQuestionsCount": 0, "userCommentsCount": 0, "comments": [ { "type": "Comment", "id": 0, "guid": "string", "owner": "string", "timestamp": "2024-01-01T00:00:00Z", "itemId": 0, "itemName": "string", "revisionId": 0, "locationSpec": "string", "commentText": "string", "reviewId": 0, "parentCommentId": 0, "changesetId": 0, "appliedInChangesetId": 0, "branchChangesetId": 0 } ], "reviewers": [ { "reviewer": "string", "status": "Under review", "isGroup": true } ], "mergeAllowed": true, "mergeIssues": "string", "mergeInfo": [ { "sourceChangesetId": 0, "sourceBranchId": 0, "sourceBranchName": "string", "dstChangesetId": 0, "dstBranchId": 0, "dstBranchName": "string", "dstIsMain": true, "mergeDate": "2024-01-01T00:00:00Z", "author": "string", "comment": "string" } ], "repositoryName": "string" }]
GET /api/v1/organizations/{orgName}/repos/{repoName}/codereview/{codeReviewId}
Authorizations
bearer
HTTP: bearer
HTTP Authorization Scheme: Bearer
Code samples for "{title}":
Request example
curl -X GET \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/repos/{repoName}/codereview/{codeReviewId}"
Response example
{ "id": 0, "object": { "type": "Branch", "targetId": 0, "spec": "string" }, "assignee": "string", "owner": "string", "timestamp": "2024-01-01T00:00:00Z", "modifiedTimestamp": "2024-01-01T00:00:00Z", "status": "Under review", "title": "string", "description": "string", "descriptionComment": { "type": "Comment", "id": 0, "guid": "string", "owner": "string", "timestamp": "2024-01-01T00:00:00Z", "itemId": 0, "itemName": "string", "revisionId": 0, "locationSpec": "string", "commentText": "string", "reviewId": 0, "parentCommentId": 0, "changesetId": 0, "appliedInChangesetId": 0, "branchChangesetId": 0 }, "commentsCount": 0, "issuesCount": 0, "unansweredQuestionsCount": 0, "userCommentsCount": 0, "comments": [ { "type": "Comment", "id": 0, "guid": "string", "owner": "string", "timestamp": "2024-01-01T00:00:00Z", "itemId": 0, "itemName": "string", "revisionId": 0, "locationSpec": "string", "commentText": "string", "reviewId": 0, "parentCommentId": 0, "changesetId": 0, "appliedInChangesetId": 0, "branchChangesetId": 0 } ], "reviewers": [ { "reviewer": "string", "status": "Under review", "isGroup": true } ], "mergeAllowed": true, "mergeIssues": "string", "mergeInfo": [ { "sourceChangesetId": 0, "sourceBranchId": 0, "sourceBranchName": "string", "dstChangesetId": 0, "dstBranchId": 0, "dstBranchName": "string", "dstIsMain": true, "mergeDate": "2024-01-01T00:00:00Z", "author": "string", "comment": "string" } ], "repositoryName": "string"}
PUT /api/v1/organizations/{orgName}/repos/{repoName}/codereview/{codeReviewId}
Code samples for "{title}":
Request example
curl -X PUT \ -H "Content-Type: application/json" \ -d '{ "title": "string"}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/repos/{repoName}/codereview/{codeReviewId}"
Response example
{ "id": 0, "object": { "type": "Branch", "targetId": 0, "spec": "string" }, "assignee": "string", "owner": "string", "timestamp": "2024-01-01T00:00:00Z", "modifiedTimestamp": "2024-01-01T00:00:00Z", "status": "Under review", "title": "string", "description": "string", "descriptionComment": { "type": "Comment", "id": 0, "guid": "string", "owner": "string", "timestamp": "2024-01-01T00:00:00Z", "itemId": 0, "itemName": "string", "revisionId": 0, "locationSpec": "string", "commentText": "string", "reviewId": 0, "parentCommentId": 0, "changesetId": 0, "appliedInChangesetId": 0, "branchChangesetId": 0 }, "commentsCount": 0, "issuesCount": 0, "unansweredQuestionsCount": 0, "userCommentsCount": 0, "comments": [ { "type": "Comment", "id": 0, "guid": "string", "owner": "string", "timestamp": "2024-01-01T00:00:00Z", "itemId": 0, "itemName": "string", "revisionId": 0, "locationSpec": "string", "commentText": "string", "reviewId": 0, "parentCommentId": 0, "changesetId": 0, "appliedInChangesetId": 0, "branchChangesetId": 0 } ], "reviewers": [ { "reviewer": "string", "status": "Under review", "isGroup": true } ], "mergeAllowed": true, "mergeIssues": "string", "mergeInfo": [ { "sourceChangesetId": 0, "sourceBranchId": 0, "sourceBranchName": "string", "dstChangesetId": 0, "dstBranchId": 0, "dstBranchName": "string", "dstIsMain": true, "mergeDate": "2024-01-01T00:00:00Z", "author": "string", "comment": "string" } ], "repositoryName": "string"}
POST /api/v1/organizations/{orgName}/repos/{repoName}/codereview
Code samples for "{title}":
Request example
curl -X POST \ -H "Content-Type: application/json" \ -d '{ "object": { "type": "Branch", "spec": "string" }, "title": "string", "status": "Under review", "assignee": "string"}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/repos/{repoName}/codereview"
Response example
{ "id": 0, "object": { "type": "Branch", "targetId": 0, "spec": "string" }, "assignee": "string", "owner": "string", "timestamp": "2024-01-01T00:00:00Z", "modifiedTimestamp": "2024-01-01T00:00:00Z", "status": "Under review", "title": "string", "description": "string", "descriptionComment": { "type": "Comment", "id": 0, "guid": "string", "owner": "string", "timestamp": "2024-01-01T00:00:00Z", "itemId": 0, "itemName": "string", "revisionId": 0, "locationSpec": "string", "commentText": "string", "reviewId": 0, "parentCommentId": 0, "changesetId": 0, "appliedInChangesetId": 0, "branchChangesetId": 0 }, "commentsCount": 0, "issuesCount": 0, "unansweredQuestionsCount": 0, "userCommentsCount": 0, "comments": [ { "type": "Comment", "id": 0, "guid": "string", "owner": "string", "timestamp": "2024-01-01T00:00:00Z", "itemId": 0, "itemName": "string", "revisionId": 0, "locationSpec": "string", "commentText": "string", "reviewId": 0, "parentCommentId": 0, "changesetId": 0, "appliedInChangesetId": 0, "branchChangesetId": 0 } ], "reviewers": [ { "reviewer": "string", "status": "Under review", "isGroup": true } ], "mergeAllowed": true, "mergeIssues": "string", "mergeInfo": [ { "sourceChangesetId": 0, "sourceBranchId": 0, "sourceBranchName": "string", "dstChangesetId": 0, "dstBranchId": 0, "dstBranchName": "string", "dstIsMain": true, "mergeDate": "2024-01-01T00:00:00Z", "author": "string", "comment": "string" } ], "repositoryName": "string"}
GET /api/v1/organizations/{orgName}/repos/{repoName}/codereview/{codeReviewId}/comment
Code samples for "{title}":
Request example
curl -X GET \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/repos/{repoName}/codereview/{codeReviewId}/comment"
Response example
{ "comments": [ { "type": "Comment", "id": 0, "guid": "string", "owner": "string", "timestamp": "2024-01-01T00:00:00Z", "itemId": 0, "itemName": "string", "revisionId": 0, "locationSpec": "string", "commentText": "string", "reviewId": 0, "parentCommentId": 0, "changesetId": 0, "appliedInChangesetId": 0, "branchChangesetId": 0 } ]}
POST /api/v1/organizations/{orgName}/repos/{repoName}/codereview/{codeReviewId}/comment
Authorizations
bearer
HTTP: bearer
HTTP Authorization Scheme: Bearer
Code samples for "{title}":
Request example
curl -X POST \ -H "Content-Type: application/json" \ -d '{ "revisionId": 0, "locationSpec": "string", "commentText": "string", "type": "Comment", "changesetId": 0}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/repos/{repoName}/codereview/{codeReviewId}/comment"
Response example
{ "type": "Comment", "id": 0, "guid": "string", "owner": "string", "timestamp": "2024-01-01T00:00:00Z", "itemId": 0, "itemName": "string", "revisionId": 0, "locationSpec": "string", "commentText": "string", "reviewId": 0, "parentCommentId": 0, "changesetId": 0, "appliedInChangesetId": 0, "branchChangesetId": 0}
POST /api/v1/organizations/{orgName}/repos/{repoName}/codereview/{codeReviewId}/comment/{parentCommentId}/reply
Authorizations
bearer
HTTP: bearer
HTTP Authorization Scheme: Bearer
Code samples for "{title}":
Request example
curl -X POST \ -H "Content-Type: application/json" \ -d '{ "type": "Comment", "commentText": "string"}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/repos/{repoName}/codereview/{codeReviewId}/comment/{parentCommentId}/reply"
Response example
{ "type": "Comment", "id": 0, "guid": "string", "owner": "string", "timestamp": "2024-01-01T00:00:00Z", "itemId": 0, "itemName": "string", "revisionId": 0, "locationSpec": "string", "commentText": "string", "reviewId": 0, "parentCommentId": 0, "changesetId": 0, "appliedInChangesetId": 0, "branchChangesetId": 0}
PUT /api/v1/organizations/{orgName}/repos/{repoName}/codereview/{codeReviewId}/comment/{codeReviewCommentId}
Code samples for "{title}":
Request example
curl -X PUT \ -H "Content-Type: application/json" \ -d '{ "newComment": "string"}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/repos/{repoName}/codereview/{codeReviewId}/comment/{codeReviewCommentId}"
Response example
{ "type": "Comment", "id": 0, "guid": "string", "owner": "string", "timestamp": "2024-01-01T00:00:00Z", "itemId": 0, "itemName": "string", "revisionId": 0, "locationSpec": "string", "commentText": "string", "reviewId": 0, "parentCommentId": 0, "changesetId": 0, "appliedInChangesetId": 0, "branchChangesetId": 0}
GET /api/v1/organizations/{orgName}/repos/{repoName}/codereview/{codeReviewId}/reviewers
POST /api/v1/organizations/{orgName}/repos/{repoName}/codereview/{codeReviewId}/reviewers
Code samples for "{title}":
Request example
curl -X POST \ -H "Content-Type: application/json" \ -d '{ "reviewers": [ "string" ]}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/repos/{repoName}/codereview/{codeReviewId}/reviewers"
Response example
{ "reviewer": "string", "status": "Under review", "isGroup": true}
PUT /api/v1/organizations/{orgName}/repos/{repoName}/codereview/{codeReviewId}/reviewer
Code samples for "{title}":
Request example
curl -X PUT \ -H "Content-Type: application/json" \ -d '{ "reviewer": "string"}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/repos/{repoName}/codereview/{codeReviewId}/reviewer"
Response example
{ "reviewer": "string", "status": "Under review", "isGroup": true}
DELETE /api/v1/organizations/{orgName}/repos/{repoName}/codereview/{codeReviewId}/reviewer/{reviewerName}
POST /api/v1/organizations/{orgName}/repos/{repoName}/codereview/{codeReviewId}/reviewer/{reviewerName}
Code samples for "{title}":
Request example
curl -X POST \ -H "Content-Type: application/json" \ -d '{ "status": "Under review"}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/repos/{repoName}/codereview/{codeReviewId}/reviewer/{reviewerName}"
Response example
{ "reviewer": "string", "status": "Under review", "isGroup": true}
PUT /api/v1/organizations/{orgName}/repos/{repoName}/codereview/{codeReviewId}/reviewers/{reviewerName}/status
Code samples for "{title}":
Request example
curl -X PUT \ -H "Content-Type: application/json" \ -d '{ "status": "Under review"}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/repos/{repoName}/codereview/{codeReviewId}/reviewers/{reviewerName}/status"
Response example
{ "reviewer": "string", "status": "Under review", "isGroup": true}
POST /api/v2/organizations/{orgName}/repositories/{repoName}/code-reviews
Code samples for "{title}":
Request example
curl -X POST \ -H "Content-Type: application/json" \ -d '{ "title": "string", "description": "string", "reviewers": [ { "reviewer": "string", "isGroup": true } ], "object": { "type": "Branch", "name": "string", "id": 0, "guid": "string" }}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v2/organizations/{orgName}/repositories/{repoName}/code-reviews"
Response example
{ "id": 0, "object": { "type": "Branch", "targetId": 0, "spec": "string" }, "assignee": "string", "owner": "string", "timestamp": "2024-01-01T00:00:00Z", "modifiedTimestamp": "2024-01-01T00:00:00Z", "status": "Under review", "title": "string", "description": "string", "descriptionComment": { "type": "Comment", "id": 0, "guid": "string", "owner": "string", "timestamp": "2024-01-01T00:00:00Z", "itemId": 0, "itemName": "string", "revisionId": 0, "locationSpec": "string", "commentText": "string", "reviewId": 0, "parentCommentId": 0, "changesetId": 0, "appliedInChangesetId": 0, "branchChangesetId": 0 }, "commentsCount": 0, "issuesCount": 0, "unansweredQuestionsCount": 0, "userCommentsCount": 0, "comments": [ { "type": "Comment", "id": 0, "guid": "string", "owner": "string", "timestamp": "2024-01-01T00:00:00Z", "itemId": 0, "itemName": "string", "revisionId": 0, "locationSpec": "string", "commentText": "string", "reviewId": 0, "parentCommentId": 0, "changesetId": 0, "appliedInChangesetId": 0, "branchChangesetId": 0 } ], "reviewers": [ { "reviewer": "string", "status": "Under review", "isGroup": true } ], "mergeAllowed": true, "mergeIssues": "string", "mergeInfo": [ { "sourceChangesetId": 0, "sourceBranchId": 0, "sourceBranchName": "string", "dstChangesetId": 0, "dstBranchId": 0, "dstBranchName": "string", "dstIsMain": true, "mergeDate": "2024-01-01T00:00:00Z", "author": "string", "comment": "string" } ], "repositoryName": "string"}
GET /api/v2/organizations/{orgName}/repositories/{repoName}/code-reviews
Code samples for "{title}":
Request example
curl -X GET \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v2/organizations/{orgName}/repositories/{repoName}/code-reviews"
Response example
[ { "id": 0, "object": { "type": "Branch", "targetId": 0, "spec": "string" }, "assignee": "string", "owner": "string", "timestamp": "2024-01-01T00:00:00Z", "modifiedTimestamp": "2024-01-01T00:00:00Z", "status": "Under review", "title": "string", "description": "string", "descriptionComment": { "type": "Comment", "id": 0, "guid": "string", "owner": "string", "timestamp": "2024-01-01T00:00:00Z", "itemId": 0, "itemName": "string", "revisionId": 0, "locationSpec": "string", "commentText": "string", "reviewId": 0, "parentCommentId": 0, "changesetId": 0, "appliedInChangesetId": 0, "branchChangesetId": 0 }, "commentsCount": 0, "issuesCount": 0, "unansweredQuestionsCount": 0, "userCommentsCount": 0, "comments": [ { "type": "Comment", "id": 0, "guid": "string", "owner": "string", "timestamp": "2024-01-01T00:00:00Z", "itemId": 0, "itemName": "string", "revisionId": 0, "locationSpec": "string", "commentText": "string", "reviewId": 0, "parentCommentId": 0, "changesetId": 0, "appliedInChangesetId": 0, "branchChangesetId": 0 } ], "reviewers": [ { "reviewer": "string", "status": "Under review", "isGroup": true } ], "mergeAllowed": true, "mergeIssues": "string", "mergeInfo": [ { "sourceChangesetId": 0, "sourceBranchId": 0, "sourceBranchName": "string", "dstChangesetId": 0, "dstBranchId": 0, "dstBranchName": "string", "dstIsMain": true, "mergeDate": "2024-01-01T00:00:00Z", "author": "string", "comment": "string" } ], "repositoryName": "string" }]
GET /api/v2/organizations/{orgName}/repositories/{repoName}/code-reviews/{codeReviewId}
Authorizations
bearer
HTTP: bearer
HTTP Authorization Scheme: Bearer
Code samples for "{title}":
Request example
curl -X GET \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v2/organizations/{orgName}/repositories/{repoName}/code-reviews/{codeReviewId}"
Response example
{ "id": 0, "object": { "type": "Branch", "targetId": 0, "spec": "string" }, "assignee": "string", "owner": "string", "timestamp": "2024-01-01T00:00:00Z", "modifiedTimestamp": "2024-01-01T00:00:00Z", "status": "Under review", "title": "string", "description": "string", "descriptionComment": { "type": "Comment", "id": 0, "guid": "string", "owner": "string", "timestamp": "2024-01-01T00:00:00Z", "itemId": 0, "itemName": "string", "revisionId": 0, "locationSpec": "string", "commentText": "string", "reviewId": 0, "parentCommentId": 0, "changesetId": 0, "appliedInChangesetId": 0, "branchChangesetId": 0 }, "commentsCount": 0, "issuesCount": 0, "unansweredQuestionsCount": 0, "userCommentsCount": 0, "comments": [ { "type": "Comment", "id": 0, "guid": "string", "owner": "string", "timestamp": "2024-01-01T00:00:00Z", "itemId": 0, "itemName": "string", "revisionId": 0, "locationSpec": "string", "commentText": "string", "reviewId": 0, "parentCommentId": 0, "changesetId": 0, "appliedInChangesetId": 0, "branchChangesetId": 0 } ], "reviewers": [ { "reviewer": "string", "status": "Under review", "isGroup": true } ], "mergeAllowed": true, "mergeIssues": "string", "mergeInfo": [ { "sourceChangesetId": 0, "sourceBranchId": 0, "sourceBranchName": "string", "dstChangesetId": 0, "dstBranchId": 0, "dstBranchName": "string", "dstIsMain": true, "mergeDate": "2024-01-01T00:00:00Z", "author": "string", "comment": "string" } ], "repositoryName": "string"}
GET /api/v2/organizations/{orgName}/code-reviews/latest
Code samples for "{title}":
Request example
curl -X GET \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v2/organizations/{orgName}/code-reviews/latest"
Response example
[ { "id": 0, "object": { "type": "Branch", "targetId": 0, "spec": "string" }, "assignee": "string", "owner": "string", "timestamp": "2024-01-01T00:00:00Z", "modifiedTimestamp": "2024-01-01T00:00:00Z", "status": "Under review", "title": "string", "description": "string", "descriptionComment": { "type": "Comment", "id": 0, "guid": "string", "owner": "string", "timestamp": "2024-01-01T00:00:00Z", "itemId": 0, "itemName": "string", "revisionId": 0, "locationSpec": "string", "commentText": "string", "reviewId": 0, "parentCommentId": 0, "changesetId": 0, "appliedInChangesetId": 0, "branchChangesetId": 0 }, "commentsCount": 0, "issuesCount": 0, "unansweredQuestionsCount": 0, "userCommentsCount": 0, "comments": [ { "type": "Comment", "id": 0, "guid": "string", "owner": "string", "timestamp": "2024-01-01T00:00:00Z", "itemId": 0, "itemName": "string", "revisionId": 0, "locationSpec": "string", "commentText": "string", "reviewId": 0, "parentCommentId": 0, "changesetId": 0, "appliedInChangesetId": 0, "branchChangesetId": 0 } ], "reviewers": [ { "reviewer": "string", "status": "Under review", "isGroup": true } ], "mergeAllowed": true, "mergeIssues": "string", "mergeInfo": [ { "sourceChangesetId": 0, "sourceBranchId": 0, "sourceBranchName": "string", "dstChangesetId": 0, "dstBranchId": 0, "dstBranchName": "string", "dstIsMain": true, "mergeDate": "2024-01-01T00:00:00Z", "author": "string", "comment": "string" } ], "repositoryName": "string" }]
POST /api/v2/organizations/{orgName}/repositories/{repoName}/code-reviews/retrieve
Authorizations
bearer
HTTP: bearer
HTTP Authorization Scheme: Bearer
Code samples for "{title}":
Request example
curl -X POST \ -H "Content-Type: application/json" \ -d '{ "filterOwner": [ "string" ], "filterReviewer": [ "string" ], "filterStatus": [ "underReview" ], "filterReviewerStatus": [ "underReview" ], "filterTargets": "string"}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v2/organizations/{orgName}/repositories/{repoName}/code-reviews/retrieve"
Response example
[ { "id": 0, "object": { "type": "Branch", "targetId": 0, "spec": "string" }, "assignee": "string", "owner": "string", "timestamp": "2024-01-01T00:00:00Z", "modifiedTimestamp": "2024-01-01T00:00:00Z", "status": "Under review", "title": "string", "description": "string", "descriptionComment": { "type": "Comment", "id": 0, "guid": "string", "owner": "string", "timestamp": "2024-01-01T00:00:00Z", "itemId": 0, "itemName": "string", "revisionId": 0, "locationSpec": "string", "commentText": "string", "reviewId": 0, "parentCommentId": 0, "changesetId": 0, "appliedInChangesetId": 0, "branchChangesetId": 0 }, "commentsCount": 0, "issuesCount": 0, "unansweredQuestionsCount": 0, "userCommentsCount": 0, "comments": [ { "type": "Comment", "id": 0, "guid": "string", "owner": "string", "timestamp": "2024-01-01T00:00:00Z", "itemId": 0, "itemName": "string", "revisionId": 0, "locationSpec": "string", "commentText": "string", "reviewId": 0, "parentCommentId": 0, "changesetId": 0, "appliedInChangesetId": 0, "branchChangesetId": 0 } ], "reviewers": [ { "reviewer": "string", "status": "Under review", "isGroup": true } ], "mergeAllowed": true, "mergeIssues": "string", "mergeInfo": [ { "sourceChangesetId": 0, "sourceBranchId": 0, "sourceBranchName": "string", "dstChangesetId": 0, "dstBranchId": 0, "dstBranchName": "string", "dstIsMain": true, "mergeDate": "2024-01-01T00:00:00Z", "author": "string", "comment": "string" } ], "repositoryName": "string" }]
POST /api/v2/organizations/{orgName}/repositories/{repoName}/code-reviews/{codeReviewId}/comments/{commentId}/resolve
Code samples for "{title}":
Request example
curl -X POST \ -H "Content-Type: application/json" \ -d '{ "changesetId": 0}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v2/organizations/{orgName}/repositories/{repoName}/code-reviews/{codeReviewId}/comments/{commentId}/resolve"
Response example
{ "type": "string", "title": "string", "status": 0, "detail": "string", "instance": "string"}
POST /api/v2/organizations/{orgName}/repositories/{repoName}/code-reviews/{codeReviewId}/reviewers
Authorizations
bearer
HTTP: bearer
HTTP Authorization Scheme: Bearer
Code samples for "{title}":
Request example
curl -X POST \ -H "Content-Type: application/json" \ -d '{ "reviewers": [ { "reviewer": "string", "isGroup": true } ]}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v2/organizations/{orgName}/repositories/{repoName}/code-reviews/{codeReviewId}/reviewers"
Response example
{ "reviewer": "string", "status": "Under review", "isGroup": true}
PUT /api/v2/organizations/{orgName}/repositories/{repoName}/code-reviews/{codeReviewId}/reviewers
Authorizations
bearer
HTTP: bearer
HTTP Authorization Scheme: Bearer
Code samples for "{title}":
Request example
curl -X PUT \ -H "Content-Type: application/json" \ -d '{ "reviewer": "string", "isGroup": true}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v2/organizations/{orgName}/repositories/{repoName}/code-reviews/{codeReviewId}/reviewers"
Response example
{ "reviewer": "string", "status": "Under review", "isGroup": true}
GET /api/v1/organizations/{orgName}/repos/{repoName}/diff/branch/{branchName}
Code samples for "{title}":
Request example
curl -X GET \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/repos/{repoName}/diff/branch/{branchName}"
Response example
{ "author": "string", "comment": "string", "timestamp": "2024-01-01T00:00:00Z", "source": "string", "destination": "string", "destinationId": 0, "objectType": "Branch", "repository": "string", "diffs": [ { "name": "string", "files": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ] } ]}
GET /api/v1/organizations/{orgName}/repos/{repoName}/diff/label/{labelName}
Code samples for "{title}":
Request example
curl -X GET \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/repos/{repoName}/diff/label/{labelName}"
Response example
{ "author": "string", "comment": "string", "timestamp": "2024-01-01T00:00:00Z", "source": "string", "destination": "string", "destinationId": 0, "objectType": "Branch", "repository": "string", "diffs": [ { "name": "string", "files": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ] } ]}
GET /api/v1/organizations/{orgName}/repos/{repoName}/diff/changeset/{source}
Code samples for "{title}":
Request example
curl -X GET \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/repos/{repoName}/diff/changeset/{source}"
Response example
{ "author": "string", "comment": "string", "timestamp": "2024-01-01T00:00:00Z", "source": "string", "destination": "string", "destinationId": 0, "objectType": "Branch", "repository": "string", "diffs": [ { "name": "string", "files": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ] } ]}
GET /api/v1/organizations/{orgName}/repos/{repoName}/diff/changeset/{source}/{destination}
Code samples for "{title}":
Request example
curl -X GET \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/repos/{repoName}/diff/changeset/{source}/{destination}"
Response example
{ "author": "string", "comment": "string", "timestamp": "2024-01-01T00:00:00Z", "source": "string", "destination": "string", "destinationId": 0, "objectType": "Branch", "repository": "string", "diffs": [ { "name": "string", "files": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ] } ]}
GET /api/v1/organizations/{orgName}/repos/{repoName}/diff/changeset/{csetGuid}
Code samples for "{title}":
Request example
curl -X GET \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/repos/{repoName}/diff/changeset/{csetGuid}"
Response example
{ "author": "string", "comment": "string", "timestamp": "2024-01-01T00:00:00Z", "source": "string", "destination": "string", "destinationId": 0, "objectType": "Branch", "repository": "string", "diffs": [ { "name": "string", "files": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ] } ]}
GET /api/v1/organizations/{orgName}/repos/{repoName}/diff/shelve/{shelveId}
Code samples for "{title}":
Request example
curl -X GET \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/repos/{repoName}/diff/shelve/{shelveId}"
Response example
{ "author": "string", "comment": "string", "timestamp": "2024-01-01T00:00:00Z", "source": "string", "destination": "string", "destinationId": 0, "objectType": "Branch", "repository": "string", "diffs": [ { "name": "string", "files": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ] } ]}
GET /api/v1/organizations/{orgName}/repos/{repoName}/extended-diff/branch/{branchName}
Authorizations
bearer
HTTP: bearer
HTTP Authorization Scheme: Bearer
Code samples for "{title}":
Request example
curl -X GET \ -H "X-Encryption-Key: <X-Encryption-Key>" \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/repos/{repoName}/extended-diff/branch/{branchName}"
Response example
{ "author": "string", "comment": "string", "timestamp": "2024-01-01T00:00:00Z", "source": "string", "sourceId": 0, "destination": "string", "destinationId": 0, "objectType": "Branch", "repository": "string", "merged": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": "string", "data": "string", "leftData": "string", "rightData": "string", "path": "string", "srcCset": 0, "dstCset": 0 }, "type": "Directory", "diffInfo": { "drawingInfo": { "left": { "diffRegions": null, "insideLineRegions": null }, "right": { "diffRegions": null, "insideLineRegions": null } }, "lineMapping": { "sourceEditor": [ null ], "destinationEditor": [ null ] }, "moveInfo": { "regions": { "left": null, "right": null }, "diffRegions": { "left": null, "right": null }, "insideLineRegions": { "left": null, "right": null } }, "semanticInfo": { "left": { "diffIcons": null }, "right": { "diffIcons": null } } } } ], "changed": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": "string", "data": "string", "leftData": "string", "rightData": "string", "path": "string", "srcCset": 0, "dstCset": 0 }, "type": "Directory", "diffInfo": { "drawingInfo": { "left": { "diffRegions": null, "insideLineRegions": null }, "right": { "diffRegions": null, "insideLineRegions": null } }, "lineMapping": { "sourceEditor": [ null ], "destinationEditor": [ null ] }, "moveInfo": { "regions": { "left": null, "right": null }, "diffRegions": { "left": null, "right": null }, "insideLineRegions": { "left": null, "right": null } }, "semanticInfo": { "left": { "diffIcons": null }, "right": { "diffIcons": null } } } } ], "added": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": "string", "data": "string", "leftData": "string", "rightData": "string", "path": "string", "srcCset": 0, "dstCset": 0 }, "type": "Directory", "diffInfo": { "drawingInfo": { "left": { "diffRegions": null, "insideLineRegions": null }, "right": { "diffRegions": null, "insideLineRegions": null } }, "lineMapping": { "sourceEditor": [ null ], "destinationEditor": [ null ] }, "moveInfo": { "regions": { "left": null, "right": null }, "diffRegions": { "left": null, "right": null }, "insideLineRegions": { "left": null, "right": null } }, "semanticInfo": { "left": { "diffIcons": null }, "right": { "diffIcons": null } } } } ], "moved": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": "string", "data": "string", "leftData": "string", "rightData": "string", "path": "string", "srcCset": 0, "dstCset": 0 }, "type": "Directory", "diffInfo": { "drawingInfo": { "left": { "diffRegions": null, "insideLineRegions": null }, "right": { "diffRegions": null, "insideLineRegions": null } }, "lineMapping": { "sourceEditor": [ null ], "destinationEditor": [ null ] }, "moveInfo": { "regions": { "left": null, "right": null }, "diffRegions": { "left": null, "right": null }, "insideLineRegions": { "left": null, "right": null } }, "semanticInfo": { "left": { "diffIcons": null }, "right": { "diffIcons": null } } } } ], "deleted": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": "string", "data": "string", "leftData": "string", "rightData": "string", "path": "string", "srcCset": 0, "dstCset": 0 }, "type": "Directory", "diffInfo": { "drawingInfo": { "left": { "diffRegions": null, "insideLineRegions": null }, "right": { "diffRegions": null, "insideLineRegions": null } }, "lineMapping": { "sourceEditor": [ null ], "destinationEditor": [ null ] }, "moveInfo": { "regions": { "left": null, "right": null }, "diffRegions": { "left": null, "right": null }, "insideLineRegions": { "left": null, "right": null } }, "semanticInfo": { "left": { "diffIcons": null }, "right": { "diffIcons": null } } } } ], "fsProtectionChanged": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": "string", "data": "string", "leftData": "string", "rightData": "string", "path": "string", "srcCset": 0, "dstCset": 0 }, "type": "Directory", "diffInfo": { "drawingInfo": { "left": { "diffRegions": null, "insideLineRegions": null }, "right": { "diffRegions": null, "insideLineRegions": null } }, "lineMapping": { "sourceEditor": [ null ], "destinationEditor": [ null ] }, "moveInfo": { "regions": { "left": null, "right": null }, "diffRegions": { "left": null, "right": null }, "insideLineRegions": { "left": null, "right": null } }, "semanticInfo": { "left": { "diffIcons": null }, "right": { "diffIcons": null } } } } ], "refactorGroups": [ { "merged": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "changed": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "added": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "moved": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "deleted": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ] } ], "mergeGroups": [ { "itemId": 0, "branchName": "string", "branchId": 0, "repoName": "string", "changed": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "merged": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "added": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "moved": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "deleted": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ] } ]}
GET /api/v1/organizations/{orgName}/repos/{repoName}/extended-diff/label/{labelName}
Authorizations
bearer
HTTP: bearer
HTTP Authorization Scheme: Bearer
Code samples for "{title}":
Request example
curl -X GET \ -H "X-Encryption-Key: <X-Encryption-Key>" \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/repos/{repoName}/extended-diff/label/{labelName}"
Response example
{ "author": "string", "comment": "string", "timestamp": "2024-01-01T00:00:00Z", "source": "string", "sourceId": 0, "destination": "string", "destinationId": 0, "objectType": "Branch", "repository": "string", "merged": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": "string", "data": "string", "leftData": "string", "rightData": "string", "path": "string", "srcCset": 0, "dstCset": 0 }, "type": "Directory", "diffInfo": { "drawingInfo": { "left": { "diffRegions": null, "insideLineRegions": null }, "right": { "diffRegions": null, "insideLineRegions": null } }, "lineMapping": { "sourceEditor": [ null ], "destinationEditor": [ null ] }, "moveInfo": { "regions": { "left": null, "right": null }, "diffRegions": { "left": null, "right": null }, "insideLineRegions": { "left": null, "right": null } }, "semanticInfo": { "left": { "diffIcons": null }, "right": { "diffIcons": null } } } } ], "changed": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": "string", "data": "string", "leftData": "string", "rightData": "string", "path": "string", "srcCset": 0, "dstCset": 0 }, "type": "Directory", "diffInfo": { "drawingInfo": { "left": { "diffRegions": null, "insideLineRegions": null }, "right": { "diffRegions": null, "insideLineRegions": null } }, "lineMapping": { "sourceEditor": [ null ], "destinationEditor": [ null ] }, "moveInfo": { "regions": { "left": null, "right": null }, "diffRegions": { "left": null, "right": null }, "insideLineRegions": { "left": null, "right": null } }, "semanticInfo": { "left": { "diffIcons": null }, "right": { "diffIcons": null } } } } ], "added": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": "string", "data": "string", "leftData": "string", "rightData": "string", "path": "string", "srcCset": 0, "dstCset": 0 }, "type": "Directory", "diffInfo": { "drawingInfo": { "left": { "diffRegions": null, "insideLineRegions": null }, "right": { "diffRegions": null, "insideLineRegions": null } }, "lineMapping": { "sourceEditor": [ null ], "destinationEditor": [ null ] }, "moveInfo": { "regions": { "left": null, "right": null }, "diffRegions": { "left": null, "right": null }, "insideLineRegions": { "left": null, "right": null } }, "semanticInfo": { "left": { "diffIcons": null }, "right": { "diffIcons": null } } } } ], "moved": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": "string", "data": "string", "leftData": "string", "rightData": "string", "path": "string", "srcCset": 0, "dstCset": 0 }, "type": "Directory", "diffInfo": { "drawingInfo": { "left": { "diffRegions": null, "insideLineRegions": null }, "right": { "diffRegions": null, "insideLineRegions": null } }, "lineMapping": { "sourceEditor": [ null ], "destinationEditor": [ null ] }, "moveInfo": { "regions": { "left": null, "right": null }, "diffRegions": { "left": null, "right": null }, "insideLineRegions": { "left": null, "right": null } }, "semanticInfo": { "left": { "diffIcons": null }, "right": { "diffIcons": null } } } } ], "deleted": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": "string", "data": "string", "leftData": "string", "rightData": "string", "path": "string", "srcCset": 0, "dstCset": 0 }, "type": "Directory", "diffInfo": { "drawingInfo": { "left": { "diffRegions": null, "insideLineRegions": null }, "right": { "diffRegions": null, "insideLineRegions": null } }, "lineMapping": { "sourceEditor": [ null ], "destinationEditor": [ null ] }, "moveInfo": { "regions": { "left": null, "right": null }, "diffRegions": { "left": null, "right": null }, "insideLineRegions": { "left": null, "right": null } }, "semanticInfo": { "left": { "diffIcons": null }, "right": { "diffIcons": null } } } } ], "fsProtectionChanged": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": "string", "data": "string", "leftData": "string", "rightData": "string", "path": "string", "srcCset": 0, "dstCset": 0 }, "type": "Directory", "diffInfo": { "drawingInfo": { "left": { "diffRegions": null, "insideLineRegions": null }, "right": { "diffRegions": null, "insideLineRegions": null } }, "lineMapping": { "sourceEditor": [ null ], "destinationEditor": [ null ] }, "moveInfo": { "regions": { "left": null, "right": null }, "diffRegions": { "left": null, "right": null }, "insideLineRegions": { "left": null, "right": null } }, "semanticInfo": { "left": { "diffIcons": null }, "right": { "diffIcons": null } } } } ], "refactorGroups": [ { "merged": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "changed": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "added": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "moved": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "deleted": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ] } ], "mergeGroups": [ { "itemId": 0, "branchName": "string", "branchId": 0, "repoName": "string", "changed": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "merged": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "added": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "moved": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "deleted": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ] } ]}
GET /api/v1/organizations/{orgName}/repos/{repoName}/extended-diff/changeset/{source}/{destination}
Authorizations
bearer
HTTP: bearer
HTTP Authorization Scheme: Bearer
Code samples for "{title}":
Request example
curl -X GET \ -H "X-Encryption-Key: <X-Encryption-Key>" \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/repos/{repoName}/extended-diff/changeset/{source}/{destination}"
Response example
{ "author": "string", "comment": "string", "timestamp": "2024-01-01T00:00:00Z", "source": "string", "sourceId": 0, "destination": "string", "destinationId": 0, "objectType": "Branch", "repository": "string", "merged": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": "string", "data": "string", "leftData": "string", "rightData": "string", "path": "string", "srcCset": 0, "dstCset": 0 }, "type": "Directory", "diffInfo": { "drawingInfo": { "left": { "diffRegions": null, "insideLineRegions": null }, "right": { "diffRegions": null, "insideLineRegions": null } }, "lineMapping": { "sourceEditor": [ null ], "destinationEditor": [ null ] }, "moveInfo": { "regions": { "left": null, "right": null }, "diffRegions": { "left": null, "right": null }, "insideLineRegions": { "left": null, "right": null } }, "semanticInfo": { "left": { "diffIcons": null }, "right": { "diffIcons": null } } } } ], "changed": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": "string", "data": "string", "leftData": "string", "rightData": "string", "path": "string", "srcCset": 0, "dstCset": 0 }, "type": "Directory", "diffInfo": { "drawingInfo": { "left": { "diffRegions": null, "insideLineRegions": null }, "right": { "diffRegions": null, "insideLineRegions": null } }, "lineMapping": { "sourceEditor": [ null ], "destinationEditor": [ null ] }, "moveInfo": { "regions": { "left": null, "right": null }, "diffRegions": { "left": null, "right": null }, "insideLineRegions": { "left": null, "right": null } }, "semanticInfo": { "left": { "diffIcons": null }, "right": { "diffIcons": null } } } } ], "added": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": "string", "data": "string", "leftData": "string", "rightData": "string", "path": "string", "srcCset": 0, "dstCset": 0 }, "type": "Directory", "diffInfo": { "drawingInfo": { "left": { "diffRegions": null, "insideLineRegions": null }, "right": { "diffRegions": null, "insideLineRegions": null } }, "lineMapping": { "sourceEditor": [ null ], "destinationEditor": [ null ] }, "moveInfo": { "regions": { "left": null, "right": null }, "diffRegions": { "left": null, "right": null }, "insideLineRegions": { "left": null, "right": null } }, "semanticInfo": { "left": { "diffIcons": null }, "right": { "diffIcons": null } } } } ], "moved": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": "string", "data": "string", "leftData": "string", "rightData": "string", "path": "string", "srcCset": 0, "dstCset": 0 }, "type": "Directory", "diffInfo": { "drawingInfo": { "left": { "diffRegions": null, "insideLineRegions": null }, "right": { "diffRegions": null, "insideLineRegions": null } }, "lineMapping": { "sourceEditor": [ null ], "destinationEditor": [ null ] }, "moveInfo": { "regions": { "left": null, "right": null }, "diffRegions": { "left": null, "right": null }, "insideLineRegions": { "left": null, "right": null } }, "semanticInfo": { "left": { "diffIcons": null }, "right": { "diffIcons": null } } } } ], "deleted": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": "string", "data": "string", "leftData": "string", "rightData": "string", "path": "string", "srcCset": 0, "dstCset": 0 }, "type": "Directory", "diffInfo": { "drawingInfo": { "left": { "diffRegions": null, "insideLineRegions": null }, "right": { "diffRegions": null, "insideLineRegions": null } }, "lineMapping": { "sourceEditor": [ null ], "destinationEditor": [ null ] }, "moveInfo": { "regions": { "left": null, "right": null }, "diffRegions": { "left": null, "right": null }, "insideLineRegions": { "left": null, "right": null } }, "semanticInfo": { "left": { "diffIcons": null }, "right": { "diffIcons": null } } } } ], "fsProtectionChanged": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": "string", "data": "string", "leftData": "string", "rightData": "string", "path": "string", "srcCset": 0, "dstCset": 0 }, "type": "Directory", "diffInfo": { "drawingInfo": { "left": { "diffRegions": null, "insideLineRegions": null }, "right": { "diffRegions": null, "insideLineRegions": null } }, "lineMapping": { "sourceEditor": [ null ], "destinationEditor": [ null ] }, "moveInfo": { "regions": { "left": null, "right": null }, "diffRegions": { "left": null, "right": null }, "insideLineRegions": { "left": null, "right": null } }, "semanticInfo": { "left": { "diffIcons": null }, "right": { "diffIcons": null } } } } ], "refactorGroups": [ { "merged": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "changed": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "added": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "moved": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "deleted": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ] } ], "mergeGroups": [ { "itemId": 0, "branchName": "string", "branchId": 0, "repoName": "string", "changed": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "merged": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "added": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "moved": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "deleted": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ] } ]}
GET /api/v1/organizations/{orgName}/repos/{repoName}/extended-diff/changeset/{csetGuid}
Code samples for "{title}":
Request example
curl -X GET \ -H "X-Encryption-Key: <X-Encryption-Key>" \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/repos/{repoName}/extended-diff/changeset/{csetGuid}"
Response example
{ "author": "string", "comment": "string", "timestamp": "2024-01-01T00:00:00Z", "source": "string", "sourceId": 0, "destination": "string", "destinationId": 0, "objectType": "Branch", "repository": "string", "merged": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": "string", "data": "string", "leftData": "string", "rightData": "string", "path": "string", "srcCset": 0, "dstCset": 0 }, "type": "Directory", "diffInfo": { "drawingInfo": { "left": { "diffRegions": null, "insideLineRegions": null }, "right": { "diffRegions": null, "insideLineRegions": null } }, "lineMapping": { "sourceEditor": [ null ], "destinationEditor": [ null ] }, "moveInfo": { "regions": { "left": null, "right": null }, "diffRegions": { "left": null, "right": null }, "insideLineRegions": { "left": null, "right": null } }, "semanticInfo": { "left": { "diffIcons": null }, "right": { "diffIcons": null } } } } ], "changed": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": "string", "data": "string", "leftData": "string", "rightData": "string", "path": "string", "srcCset": 0, "dstCset": 0 }, "type": "Directory", "diffInfo": { "drawingInfo": { "left": { "diffRegions": null, "insideLineRegions": null }, "right": { "diffRegions": null, "insideLineRegions": null } }, "lineMapping": { "sourceEditor": [ null ], "destinationEditor": [ null ] }, "moveInfo": { "regions": { "left": null, "right": null }, "diffRegions": { "left": null, "right": null }, "insideLineRegions": { "left": null, "right": null } }, "semanticInfo": { "left": { "diffIcons": null }, "right": { "diffIcons": null } } } } ], "added": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": "string", "data": "string", "leftData": "string", "rightData": "string", "path": "string", "srcCset": 0, "dstCset": 0 }, "type": "Directory", "diffInfo": { "drawingInfo": { "left": { "diffRegions": null, "insideLineRegions": null }, "right": { "diffRegions": null, "insideLineRegions": null } }, "lineMapping": { "sourceEditor": [ null ], "destinationEditor": [ null ] }, "moveInfo": { "regions": { "left": null, "right": null }, "diffRegions": { "left": null, "right": null }, "insideLineRegions": { "left": null, "right": null } }, "semanticInfo": { "left": { "diffIcons": null }, "right": { "diffIcons": null } } } } ], "moved": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": "string", "data": "string", "leftData": "string", "rightData": "string", "path": "string", "srcCset": 0, "dstCset": 0 }, "type": "Directory", "diffInfo": { "drawingInfo": { "left": { "diffRegions": null, "insideLineRegions": null }, "right": { "diffRegions": null, "insideLineRegions": null } }, "lineMapping": { "sourceEditor": [ null ], "destinationEditor": [ null ] }, "moveInfo": { "regions": { "left": null, "right": null }, "diffRegions": { "left": null, "right": null }, "insideLineRegions": { "left": null, "right": null } }, "semanticInfo": { "left": { "diffIcons": null }, "right": { "diffIcons": null } } } } ], "deleted": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": "string", "data": "string", "leftData": "string", "rightData": "string", "path": "string", "srcCset": 0, "dstCset": 0 }, "type": "Directory", "diffInfo": { "drawingInfo": { "left": { "diffRegions": null, "insideLineRegions": null }, "right": { "diffRegions": null, "insideLineRegions": null } }, "lineMapping": { "sourceEditor": [ null ], "destinationEditor": [ null ] }, "moveInfo": { "regions": { "left": null, "right": null }, "diffRegions": { "left": null, "right": null }, "insideLineRegions": { "left": null, "right": null } }, "semanticInfo": { "left": { "diffIcons": null }, "right": { "diffIcons": null } } } } ], "fsProtectionChanged": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": "string", "data": "string", "leftData": "string", "rightData": "string", "path": "string", "srcCset": 0, "dstCset": 0 }, "type": "Directory", "diffInfo": { "drawingInfo": { "left": { "diffRegions": null, "insideLineRegions": null }, "right": { "diffRegions": null, "insideLineRegions": null } }, "lineMapping": { "sourceEditor": [ null ], "destinationEditor": [ null ] }, "moveInfo": { "regions": { "left": null, "right": null }, "diffRegions": { "left": null, "right": null }, "insideLineRegions": { "left": null, "right": null } }, "semanticInfo": { "left": { "diffIcons": null }, "right": { "diffIcons": null } } } } ], "refactorGroups": [ { "merged": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "changed": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "added": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "moved": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "deleted": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ] } ], "mergeGroups": [ { "itemId": 0, "branchName": "string", "branchId": 0, "repoName": "string", "changed": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "merged": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "added": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "moved": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "deleted": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ] } ]}
GET /api/v1/organizations/{orgName}/repos/{repoName}/extended-diff/shelve/{shelveId}
Code samples for "{title}":
Request example
curl -X GET \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/repos/{repoName}/extended-diff/shelve/{shelveId}"
Response example
{ "author": "string", "comment": "string", "timestamp": "2024-01-01T00:00:00Z", "source": "string", "sourceId": 0, "destination": "string", "destinationId": 0, "objectType": "Branch", "repository": "string", "merged": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": "string", "data": "string", "leftData": "string", "rightData": "string", "path": "string", "srcCset": 0, "dstCset": 0 }, "type": "Directory", "diffInfo": { "drawingInfo": { "left": { "diffRegions": null, "insideLineRegions": null }, "right": { "diffRegions": null, "insideLineRegions": null } }, "lineMapping": { "sourceEditor": [ null ], "destinationEditor": [ null ] }, "moveInfo": { "regions": { "left": null, "right": null }, "diffRegions": { "left": null, "right": null }, "insideLineRegions": { "left": null, "right": null } }, "semanticInfo": { "left": { "diffIcons": null }, "right": { "diffIcons": null } } } } ], "changed": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": "string", "data": "string", "leftData": "string", "rightData": "string", "path": "string", "srcCset": 0, "dstCset": 0 }, "type": "Directory", "diffInfo": { "drawingInfo": { "left": { "diffRegions": null, "insideLineRegions": null }, "right": { "diffRegions": null, "insideLineRegions": null } }, "lineMapping": { "sourceEditor": [ null ], "destinationEditor": [ null ] }, "moveInfo": { "regions": { "left": null, "right": null }, "diffRegions": { "left": null, "right": null }, "insideLineRegions": { "left": null, "right": null } }, "semanticInfo": { "left": { "diffIcons": null }, "right": { "diffIcons": null } } } } ], "added": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": "string", "data": "string", "leftData": "string", "rightData": "string", "path": "string", "srcCset": 0, "dstCset": 0 }, "type": "Directory", "diffInfo": { "drawingInfo": { "left": { "diffRegions": null, "insideLineRegions": null }, "right": { "diffRegions": null, "insideLineRegions": null } }, "lineMapping": { "sourceEditor": [ null ], "destinationEditor": [ null ] }, "moveInfo": { "regions": { "left": null, "right": null }, "diffRegions": { "left": null, "right": null }, "insideLineRegions": { "left": null, "right": null } }, "semanticInfo": { "left": { "diffIcons": null }, "right": { "diffIcons": null } } } } ], "moved": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": "string", "data": "string", "leftData": "string", "rightData": "string", "path": "string", "srcCset": 0, "dstCset": 0 }, "type": "Directory", "diffInfo": { "drawingInfo": { "left": { "diffRegions": null, "insideLineRegions": null }, "right": { "diffRegions": null, "insideLineRegions": null } }, "lineMapping": { "sourceEditor": [ null ], "destinationEditor": [ null ] }, "moveInfo": { "regions": { "left": null, "right": null }, "diffRegions": { "left": null, "right": null }, "insideLineRegions": { "left": null, "right": null } }, "semanticInfo": { "left": { "diffIcons": null }, "right": { "diffIcons": null } } } } ], "deleted": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": "string", "data": "string", "leftData": "string", "rightData": "string", "path": "string", "srcCset": 0, "dstCset": 0 }, "type": "Directory", "diffInfo": { "drawingInfo": { "left": { "diffRegions": null, "insideLineRegions": null }, "right": { "diffRegions": null, "insideLineRegions": null } }, "lineMapping": { "sourceEditor": [ null ], "destinationEditor": [ null ] }, "moveInfo": { "regions": { "left": null, "right": null }, "diffRegions": { "left": null, "right": null }, "insideLineRegions": { "left": null, "right": null } }, "semanticInfo": { "left": { "diffIcons": null }, "right": { "diffIcons": null } } } } ], "fsProtectionChanged": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": "string", "data": "string", "leftData": "string", "rightData": "string", "path": "string", "srcCset": 0, "dstCset": 0 }, "type": "Directory", "diffInfo": { "drawingInfo": { "left": { "diffRegions": null, "insideLineRegions": null }, "right": { "diffRegions": null, "insideLineRegions": null } }, "lineMapping": { "sourceEditor": [ null ], "destinationEditor": [ null ] }, "moveInfo": { "regions": { "left": null, "right": null }, "diffRegions": { "left": null, "right": null }, "insideLineRegions": { "left": null, "right": null } }, "semanticInfo": { "left": { "diffIcons": null }, "right": { "diffIcons": null } } } } ], "refactorGroups": [ { "merged": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "changed": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "added": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "moved": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "deleted": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ] } ], "mergeGroups": [ { "itemId": 0, "branchName": "string", "branchId": 0, "repoName": "string", "changed": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "merged": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "added": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "moved": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "deleted": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ] } ]}
POST /api/v1/organizations/{orgName}/repos/{repoName}/diff/revision/{source}/{destination}
Code samples for "{title}":
Request example
curl -X POST \ -H "Content-Type: application/json" \ -d '{ "encryptionKey": "string"}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/repos/{repoName}/diff/revision/{source}/{destination}"
Response example
{ "path": "string", "comment": "string", "srcRev": { "changeset": 0, "branch": "string", "owner": "string" }, "dstRev": { "changeset": 0, "branch": "string", "owner": "string" }, "diffInfo": { "drawingInfo": { "left": { "diffRegions": [ { "initialLine": null, "endLine": null, "color": null, "borderColor": null } ], "insideLineRegions": [ { "line": null, "regions": null } ] }, "right": { "diffRegions": [ { "initialLine": null, "endLine": null, "color": null, "borderColor": null } ], "insideLineRegions": [ { "line": null, "regions": null } ] } }, "lineMapping": { "sourceEditor": [ 0 ], "destinationEditor": [ 0 ] }, "moveInfo": { "regions": { "left": [ { "initialLine": null, "endLine": null, "color": null, "borderColor": null } ], "right": [ { "initialLine": null, "endLine": null, "color": null, "borderColor": null } ] }, "diffRegions": { "left": [ { "initialLine": null, "endLine": null, "color": null, "borderColor": null } ], "right": [ { "initialLine": null, "endLine": null, "color": null, "borderColor": null } ] }, "insideLineRegions": { "left": [ { "line": null, "regions": null } ], "right": [ { "line": null, "regions": null } ] } }, "semanticInfo": { "left": { "diffIcons": [ { "diffIconType": null, "position": null } ] }, "right": { "diffIcons": [ { "diffIconType": null, "position": null } ] } } }}
GET /api/v1/organizations/{orgName}/repos/{repoName}/diff/xlink/{srcCsetId}/{dstCsetId}/{path}
Code samples for "{title}":
Request example
curl -X GET \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/repos/{repoName}/diff/xlink/{srcCsetId}/{dstCsetId}/{path}"
Response example
{ "path": "string", "comment": "string", "srcRev": { "changeset": 0, "branch": "string", "owner": "string" }, "dstRev": { "changeset": 0, "branch": "string", "owner": "string" }, "diffInfo": { "drawingInfo": { "left": { "diffRegions": [ { "initialLine": null, "endLine": null, "color": null, "borderColor": null } ], "insideLineRegions": [ { "line": null, "regions": null } ] }, "right": { "diffRegions": [ { "initialLine": null, "endLine": null, "color": null, "borderColor": null } ], "insideLineRegions": [ { "line": null, "regions": null } ] } }, "lineMapping": { "sourceEditor": [ 0 ], "destinationEditor": [ 0 ] }, "moveInfo": { "regions": { "left": [ { "initialLine": null, "endLine": null, "color": null, "borderColor": null } ], "right": [ { "initialLine": null, "endLine": null, "color": null, "borderColor": null } ] }, "diffRegions": { "left": [ { "initialLine": null, "endLine": null, "color": null, "borderColor": null } ], "right": [ { "initialLine": null, "endLine": null, "color": null, "borderColor": null } ] }, "insideLineRegions": { "left": [ { "line": null, "regions": null } ], "right": [ { "line": null, "regions": null } ] } }, "semanticInfo": { "left": { "diffIcons": [ { "diffIconType": null, "position": null } ] }, "right": { "diffIcons": [ { "diffIconType": null, "position": null } ] } } }}
GET /api/v2/organizations/{orgName}/repositories/{repoName}/diff/branches/{sourceBranchId}/{destinationBranchId}
Authorizations
bearer
HTTP: bearer
HTTP Authorization Scheme: Bearer
Code samples for "{title}":
Request example
curl -X GET \ -H "X-Encryption-Key: <X-Encryption-Key>" \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v2/organizations/{orgName}/repositories/{repoName}/diff/branches/{sourceBranchId}/{destinationBranchId}"
Response example
{ "author": "string", "comment": "string", "timestamp": "2024-01-01T00:00:00Z", "source": "string", "sourceId": 0, "destination": "string", "destinationId": 0, "objectType": "Branch", "repository": "string", "merged": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": "string", "data": "string", "leftData": "string", "rightData": "string", "path": "string", "srcCset": 0, "dstCset": 0 }, "type": "Directory", "diffInfo": { "drawingInfo": { "left": { "diffRegions": null, "insideLineRegions": null }, "right": { "diffRegions": null, "insideLineRegions": null } }, "lineMapping": { "sourceEditor": [ null ], "destinationEditor": [ null ] }, "moveInfo": { "regions": { "left": null, "right": null }, "diffRegions": { "left": null, "right": null }, "insideLineRegions": { "left": null, "right": null } }, "semanticInfo": { "left": { "diffIcons": null }, "right": { "diffIcons": null } } } } ], "changed": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": "string", "data": "string", "leftData": "string", "rightData": "string", "path": "string", "srcCset": 0, "dstCset": 0 }, "type": "Directory", "diffInfo": { "drawingInfo": { "left": { "diffRegions": null, "insideLineRegions": null }, "right": { "diffRegions": null, "insideLineRegions": null } }, "lineMapping": { "sourceEditor": [ null ], "destinationEditor": [ null ] }, "moveInfo": { "regions": { "left": null, "right": null }, "diffRegions": { "left": null, "right": null }, "insideLineRegions": { "left": null, "right": null } }, "semanticInfo": { "left": { "diffIcons": null }, "right": { "diffIcons": null } } } } ], "added": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": "string", "data": "string", "leftData": "string", "rightData": "string", "path": "string", "srcCset": 0, "dstCset": 0 }, "type": "Directory", "diffInfo": { "drawingInfo": { "left": { "diffRegions": null, "insideLineRegions": null }, "right": { "diffRegions": null, "insideLineRegions": null } }, "lineMapping": { "sourceEditor": [ null ], "destinationEditor": [ null ] }, "moveInfo": { "regions": { "left": null, "right": null }, "diffRegions": { "left": null, "right": null }, "insideLineRegions": { "left": null, "right": null } }, "semanticInfo": { "left": { "diffIcons": null }, "right": { "diffIcons": null } } } } ], "moved": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": "string", "data": "string", "leftData": "string", "rightData": "string", "path": "string", "srcCset": 0, "dstCset": 0 }, "type": "Directory", "diffInfo": { "drawingInfo": { "left": { "diffRegions": null, "insideLineRegions": null }, "right": { "diffRegions": null, "insideLineRegions": null } }, "lineMapping": { "sourceEditor": [ null ], "destinationEditor": [ null ] }, "moveInfo": { "regions": { "left": null, "right": null }, "diffRegions": { "left": null, "right": null }, "insideLineRegions": { "left": null, "right": null } }, "semanticInfo": { "left": { "diffIcons": null }, "right": { "diffIcons": null } } } } ], "deleted": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": "string", "data": "string", "leftData": "string", "rightData": "string", "path": "string", "srcCset": 0, "dstCset": 0 }, "type": "Directory", "diffInfo": { "drawingInfo": { "left": { "diffRegions": null, "insideLineRegions": null }, "right": { "diffRegions": null, "insideLineRegions": null } }, "lineMapping": { "sourceEditor": [ null ], "destinationEditor": [ null ] }, "moveInfo": { "regions": { "left": null, "right": null }, "diffRegions": { "left": null, "right": null }, "insideLineRegions": { "left": null, "right": null } }, "semanticInfo": { "left": { "diffIcons": null }, "right": { "diffIcons": null } } } } ], "fsProtectionChanged": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": "string", "data": "string", "leftData": "string", "rightData": "string", "path": "string", "srcCset": 0, "dstCset": 0 }, "type": "Directory", "diffInfo": { "drawingInfo": { "left": { "diffRegions": null, "insideLineRegions": null }, "right": { "diffRegions": null, "insideLineRegions": null } }, "lineMapping": { "sourceEditor": [ null ], "destinationEditor": [ null ] }, "moveInfo": { "regions": { "left": null, "right": null }, "diffRegions": { "left": null, "right": null }, "insideLineRegions": { "left": null, "right": null } }, "semanticInfo": { "left": { "diffIcons": null }, "right": { "diffIcons": null } } } } ], "refactorGroups": [ { "merged": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "changed": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "added": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "moved": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "deleted": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ] } ], "mergeGroups": [ { "itemId": 0, "branchName": "string", "branchId": 0, "repoName": "string", "changed": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "merged": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "added": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "moved": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "deleted": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ] } ]}
GET /api/v2/organizations/{orgName}/repositories/{repoName}/diff/changesets/{source}/{destination}
Authorizations
bearer
HTTP: bearer
HTTP Authorization Scheme: Bearer
Code samples for "{title}":
Request example
curl -X GET \ -H "X-Encryption-Key: <X-Encryption-Key>" \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v2/organizations/{orgName}/repositories/{repoName}/diff/changesets/{source}/{destination}"
Response example
{ "author": "string", "comment": "string", "timestamp": "2024-01-01T00:00:00Z", "source": "string", "sourceId": 0, "destination": "string", "destinationId": 0, "objectType": "Branch", "repository": "string", "merged": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": "string", "data": "string", "leftData": "string", "rightData": "string", "path": "string", "srcCset": 0, "dstCset": 0 }, "type": "Directory", "diffInfo": { "drawingInfo": { "left": { "diffRegions": null, "insideLineRegions": null }, "right": { "diffRegions": null, "insideLineRegions": null } }, "lineMapping": { "sourceEditor": [ null ], "destinationEditor": [ null ] }, "moveInfo": { "regions": { "left": null, "right": null }, "diffRegions": { "left": null, "right": null }, "insideLineRegions": { "left": null, "right": null } }, "semanticInfo": { "left": { "diffIcons": null }, "right": { "diffIcons": null } } } } ], "changed": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": "string", "data": "string", "leftData": "string", "rightData": "string", "path": "string", "srcCset": 0, "dstCset": 0 }, "type": "Directory", "diffInfo": { "drawingInfo": { "left": { "diffRegions": null, "insideLineRegions": null }, "right": { "diffRegions": null, "insideLineRegions": null } }, "lineMapping": { "sourceEditor": [ null ], "destinationEditor": [ null ] }, "moveInfo": { "regions": { "left": null, "right": null }, "diffRegions": { "left": null, "right": null }, "insideLineRegions": { "left": null, "right": null } }, "semanticInfo": { "left": { "diffIcons": null }, "right": { "diffIcons": null } } } } ], "added": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": "string", "data": "string", "leftData": "string", "rightData": "string", "path": "string", "srcCset": 0, "dstCset": 0 }, "type": "Directory", "diffInfo": { "drawingInfo": { "left": { "diffRegions": null, "insideLineRegions": null }, "right": { "diffRegions": null, "insideLineRegions": null } }, "lineMapping": { "sourceEditor": [ null ], "destinationEditor": [ null ] }, "moveInfo": { "regions": { "left": null, "right": null }, "diffRegions": { "left": null, "right": null }, "insideLineRegions": { "left": null, "right": null } }, "semanticInfo": { "left": { "diffIcons": null }, "right": { "diffIcons": null } } } } ], "moved": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": "string", "data": "string", "leftData": "string", "rightData": "string", "path": "string", "srcCset": 0, "dstCset": 0 }, "type": "Directory", "diffInfo": { "drawingInfo": { "left": { "diffRegions": null, "insideLineRegions": null }, "right": { "diffRegions": null, "insideLineRegions": null } }, "lineMapping": { "sourceEditor": [ null ], "destinationEditor": [ null ] }, "moveInfo": { "regions": { "left": null, "right": null }, "diffRegions": { "left": null, "right": null }, "insideLineRegions": { "left": null, "right": null } }, "semanticInfo": { "left": { "diffIcons": null }, "right": { "diffIcons": null } } } } ], "deleted": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": "string", "data": "string", "leftData": "string", "rightData": "string", "path": "string", "srcCset": 0, "dstCset": 0 }, "type": "Directory", "diffInfo": { "drawingInfo": { "left": { "diffRegions": null, "insideLineRegions": null }, "right": { "diffRegions": null, "insideLineRegions": null } }, "lineMapping": { "sourceEditor": [ null ], "destinationEditor": [ null ] }, "moveInfo": { "regions": { "left": null, "right": null }, "diffRegions": { "left": null, "right": null }, "insideLineRegions": { "left": null, "right": null } }, "semanticInfo": { "left": { "diffIcons": null }, "right": { "diffIcons": null } } } } ], "fsProtectionChanged": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": "string", "data": "string", "leftData": "string", "rightData": "string", "path": "string", "srcCset": 0, "dstCset": 0 }, "type": "Directory", "diffInfo": { "drawingInfo": { "left": { "diffRegions": null, "insideLineRegions": null }, "right": { "diffRegions": null, "insideLineRegions": null } }, "lineMapping": { "sourceEditor": [ null ], "destinationEditor": [ null ] }, "moveInfo": { "regions": { "left": null, "right": null }, "diffRegions": { "left": null, "right": null }, "insideLineRegions": { "left": null, "right": null } }, "semanticInfo": { "left": { "diffIcons": null }, "right": { "diffIcons": null } } } } ], "refactorGroups": [ { "merged": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "changed": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "added": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "moved": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "deleted": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ] } ], "mergeGroups": [ { "itemId": 0, "branchName": "string", "branchId": 0, "repoName": "string", "changed": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "merged": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "added": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "moved": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ], "deleted": [ { "mountId": "string", "itemId": 0, "path": "string", "srcPath": "string", "sourceRev": 0, "sourceRevSize": 0, "sourceChangeset": 0, "sourceBranch": 0, "sourceBranchName": "string", "dstRev": 0, "dstRevSize": 0, "dstChangeset": 0, "dstBranch": 0, "dstBranchName": "string", "timestamp": "2024-01-01T00:00:00Z", "repoName": "string", "xlink": { "id": null, "data": null, "leftData": null, "rightData": null, "path": null, "srcCset": null, "dstCset": null }, "type": "Directory", "diffInfo": { "drawingInfo": null, "lineMapping": null, "moveInfo": null, "semanticInfo": null } } ] } ]}