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
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 } } ] } ]}
GET /api/v2/organizations/{orgName}/repositories/{repoName}/diff/labels/{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/labels/{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 } } ] } ]}
POST /api/v2/organizations/{orgName}/repositories/{repoName}/hidden-branches
Authorizations
bearer
HTTP: bearer
HTTP Authorization Scheme: Bearer
GET /api/v1/organizations/{orgName}/repos/{repoName}/changeset/{changesetId}/history/{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}/changeset/{changesetId}/history/{path}"
Response example
[ { "name": "string", "prevName": "string", "changeset": 0, "owner": "string", "date": "2024-01-01T00:00:00Z", "branch": "string", "branchId": 0, "comment": "string", "revision": 0, "parentRevision": 0, "type": "Added", "size": 0 }]
GET /api/v1/organizations/{orgName}/repos/{repoName}/branch/{branchName}/history/{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}/branch/{branchName}/history/{path}"
Response example
[ { "name": "string", "prevName": "string", "changeset": 0, "owner": "string", "date": "2024-01-01T00:00:00Z", "branch": "string", "branchId": 0, "comment": "string", "revision": 0, "parentRevision": 0, "type": "Added", "size": 0 }]
GET /api/v1/organizations/{orgName}/repos/{repoName}/label/{labelName}/history/{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}/label/{labelName}/history/{path}"
Response example
[ { "name": "string", "prevName": "string", "changeset": 0, "owner": "string", "date": "2024-01-01T00:00:00Z", "branch": "string", "branchId": 0, "comment": "string", "revision": 0, "parentRevision": 0, "type": "Added", "size": 0 }]
GET /api/v1/organizations/{orgName}/repos/{repoName}/{type}/{name}/items/{path}
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}/{type}/{name}/items/{path}"
Response example
{ "revision": 0, "revisionGuid": "string", "item": "string", "size": 0, "branch": "string", "branchId": 0, "changeset": 0, "comment": "string", "owner": "string", "date": "2024-01-01T00:00:00Z", "repository": "string", "type": "Directory", "children": [ { "revision": 0, "revisionGuid": "string", "item": "string", "size": 0, "branch": "string", "branchId": 0, "changeset": 0, "comment": "string", "owner": "string", "date": "2024-01-01T00:00:00Z", "repository": "string", "type": "Directory", "children": [ { "revision": 0, "revisionGuid": "string", "item": "string", "size": 0, "branch": "string", "branchId": 0, "changeset": 0, "comment": "string", "owner": "string", "date": "2024-01-01T00:00:00Z", "repository": "string", "type": "Directory", "children": [ null ], "xLinkRelative": true, "xLinkPath": "string", "xLinkRoot": "string", "lock": { "id": null, "name": null, "status": null, "holderBranchName": null, "holderBranchId": null, "destinationBranchName": null, "destinationBranchId": null, "owner": null, "date": null, "itemId": null }, "itemId": 0 } ], "xLinkRelative": true, "xLinkPath": "string", "xLinkRoot": "string", "lock": { "id": "string", "name": "string", "status": "Retained", "holderBranchName": "string", "holderBranchId": 0, "destinationBranchName": "string", "destinationBranchId": 0, "owner": "string", "date": "2024-01-01T00:00:00Z", "itemId": 0 }, "itemId": 0 } ], "xLinkRelative": true, "xLinkPath": "string", "xLinkRoot": "string", "lock": { "id": "string", "name": "string", "status": "Retained", "holderBranchName": "string", "holderBranchId": 0, "destinationBranchName": "string", "destinationBranchId": 0, "owner": "string", "date": "2024-01-01T00:00:00Z", "itemId": 0 }, "itemId": 0}
GET /api/v2/organizations/{orgName}/repositories/{repoName}/branches/{branchId}/items/{path}
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}/items/{path}"
Response example
{ "revision": 0, "revisionGuid": "string", "item": "string", "size": 0, "branch": "string", "branchId": 0, "changeset": 0, "comment": "string", "owner": "string", "date": "2024-01-01T00:00:00Z", "repository": "string", "type": "Directory", "children": [ { "revision": 0, "revisionGuid": "string", "item": "string", "size": 0, "branch": "string", "branchId": 0, "changeset": 0, "comment": "string", "owner": "string", "date": "2024-01-01T00:00:00Z", "repository": "string", "type": "Directory", "children": [ { "revision": 0, "revisionGuid": "string", "item": "string", "size": 0, "branch": "string", "branchId": 0, "changeset": 0, "comment": "string", "owner": "string", "date": "2024-01-01T00:00:00Z", "repository": "string", "type": "Directory", "children": [ null ], "xLinkRelative": true, "xLinkPath": "string", "xLinkRoot": "string", "lock": { "id": null, "name": null, "status": null, "holderBranchName": null, "holderBranchId": null, "destinationBranchName": null, "destinationBranchId": null, "owner": null, "date": null, "itemId": null }, "itemId": 0 } ], "xLinkRelative": true, "xLinkPath": "string", "xLinkRoot": "string", "lock": { "id": "string", "name": "string", "status": "Retained", "holderBranchName": "string", "holderBranchId": 0, "destinationBranchName": "string", "destinationBranchId": 0, "owner": "string", "date": "2024-01-01T00:00:00Z", "itemId": 0 }, "itemId": 0 } ], "xLinkRelative": true, "xLinkPath": "string", "xLinkRoot": "string", "lock": { "id": "string", "name": "string", "status": "Retained", "holderBranchName": "string", "holderBranchId": 0, "destinationBranchName": "string", "destinationBranchId": 0, "owner": "string", "date": "2024-01-01T00:00:00Z", "itemId": 0 }, "itemId": 0}
GET /api/v1/organizations/{orgName}/repos/{repoName}/labels
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}/labels"
Response example
[ { "id": 0, "name": "string", "repositoryId": "string", "changeset": 0, "date": "2024-01-01T00:00:00Z", "owner": "string", "comment": "string", "type": "string", "guid": "string", "hasCodeReview": true, "codeReviewsCount": 0, "codeReviewIds": [ 0 ], "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}/labels
Code samples for "{title}":
Request example
curl -X POST \ -H "Content-Type: application/json" \ -d '{ "name": "string", "changeset": 0, "comment": "string", "applyLabelToXLinkRepositories": true}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/repos/{repoName}/labels"
Response example
{ "error": { "message": "string" }, "keyMessage": "string"}
GET /api/v1/organizations/{orgName}/repos/{repoName}/labels/{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}/labels/{labelName}"
Response example
{ "id": 0, "name": "string", "repositoryId": "string", "changeset": 0, "date": "2024-01-01T00:00:00Z", "owner": "string", "comment": "string", "type": "string", "guid": "string", "hasCodeReview": true, "codeReviewsCount": 0, "codeReviewIds": [ 0 ], "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}/labels
Code samples for "{title}":
Request example
curl -X GET \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v2/organizations/{orgName}/repositories/{repoName}/labels"
Response example
{ "id": 0, "name": "string", "repositoryId": "string", "changeset": 0, "date": "2024-01-01T00:00:00Z", "owner": "string", "comment": "string", "type": "string", "guid": "string", "hasCodeReview": true, "codeReviewsCount": 0, "codeReviewIds": [ 0 ], "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}/labels
Code samples for "{title}":
Request example
curl -X POST \ -H "Content-Type: application/json" \ -d '{ "name": "string", "changeset": 0, "comment": "string", "applyLabelToXLinkRepositories": true}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v2/organizations/{orgName}/repositories/{repoName}/labels"
Response example
{ "id": 0, "name": "string", "repositoryId": "string", "changeset": 0, "date": "2024-01-01T00:00:00Z", "owner": "string", "comment": "string", "type": "string", "guid": "string", "hasCodeReview": true, "codeReviewsCount": 0, "codeReviewIds": [ 0 ], "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}/labels/{labelId}
Code samples for "{title}":
Request example
curl -X GET \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v2/organizations/{orgName}/repositories/{repoName}/labels/{labelId}"
Response example
{ "id": 0, "name": "string", "repositoryId": "string", "changeset": 0, "date": "2024-01-01T00:00:00Z", "owner": "string", "comment": "string", "type": "string", "guid": "string", "hasCodeReview": true, "codeReviewsCount": 0, "codeReviewIds": [ 0 ], "attributeValues": [ { "attributeId": 0, "attributeName": "string", "attributeComment": "string", "target": { "name": "string", "id": 0, "type": "branch" }, "value": "string", "date": "2024-01-01T00:00:00Z" } ]}
PATCH /api/v2/organizations/{orgName}/repositories/{repoName}/labels/{labelId}
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}/labels/{labelId}"
Response example
{ "error": { "message": "string" }, "keyMessage": "string"}
GET /api/v2/organizations/{orgName}/lock-rules
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}/lock-rules"
Response example
{ "name": "string", "rules": "string", "targetBranch": "string", "excludedBranches": [ "string" ], "repositoryRules": [ { "name": "string", "rules": "string", "targetBranch": "string", "excludedBranches": [ "string" ], "destinationBranches": [ "string" ], "repositoryType": "Unknown" } ], "destinationBranches": [ "string" ]}
POST /api/v2/organizations/{orgName}/lock-rules
Code samples for "{title}":
Request example
curl -X POST \ -H "Content-Type: application/json" \ -d '{ "name": "string", "rules": "string", "targetBranch": "string", "excludedBranches": [ "string" ], "destinationBranches": [ "string" ], "repositoryType": "Unknown"}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v2/organizations/{orgName}/lock-rules"
Response example
{ "name": "string", "rules": "string", "targetBranch": "string", "excludedBranches": [ "string" ], "destinationBranches": [ "string" ], "repositoryType": "Unknown"}
POST /api/v1/organizations/{orgName}/login
Code samples for "{title}":
Request example
curl -X POST \ -H "Content-Type: application/json" \ -d '{ "user": "string", "password": "string"}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/login"
Response example
{ "accessToken": "string", "refreshToken": "string"}
POST /api/v1/organizations/{orgName}/login/verify
Code samples for "{title}":
Request example
curl -X POST \ -H "Content-Type: application/json" \ -d '{ "email": "string", "authToken": "string"}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/login/verify"
Response example
{ "accessToken": "string", "refreshToken": "string"}
POST /api/v1/organizations/{orgName}/logout
Code samples for "{title}":
Request example
curl -X POST \ -H "Content-Type: application/json" \ -d '{ "accessToken": "string", "refreshToken": "string"}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/logout"
Response example
{ "error": { "message": "string" }, "keyMessage": "string"}
GET /api/v2/organizations/{orgName}/mergebots
Authorizations
bearer
HTTP: bearer
HTTP Authorization Scheme: Bearer
POST /api/v2/organizations/{orgName}/mergebots
Code samples for "{title}":
Request example
curl -X POST \ -H "Content-Type: application/json" \ -d '{ "name": "string", "description": "string", "type": "string", "key": "string", "started": true, "configuration": null}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v2/organizations/{orgName}/mergebots"
Response example
{ "name": "string", "description": "string", "type": "string", "key": "string", "started": true, "configuration": null}
GET /api/v2/organizations/{orgName}/mergebots/{mergebotName}
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}/mergebots/{mergebotName}"
Response example
{ "name": "string", "description": "string", "type": "string", "key": "string", "started": true, "configuration": null}
PATCH /api/v2/organizations/{orgName}/mergebots/{mergebotName}
Code samples for "{title}":
Request example
curl -X PATCH \ -H "Content-Type: application/json" \ -d '{ "name": "string", "description": "string", "type": "string", "key": "string", "started": true, "configuration": null}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v2/organizations/{orgName}/mergebots/{mergebotName}"
Response example
{ "name": "string", "description": "string", "type": "string", "key": "string", "started": true, "configuration": null}
GET /api/v2/organizations/{orgName}/mergebots/plugs
Authorizations
bearer
HTTP: bearer
HTTP Authorization Scheme: Bearer
DELETE /api/v2/organizations/{orgName}/mergebots/plugs
Authorizations
bearer
HTTP: bearer
HTTP Authorization Scheme: Bearer
POST /api/v2/organizations/{orgName}/mergebots/plugs
Code samples for "{title}":
Request example
curl -X POST \ -H "Content-Type: application/json" \ -d '{ "name": "string", "plug": "string", "type": "string", "key": "string", "started": true, "configuration": null}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v2/organizations/{orgName}/mergebots/plugs"
Response example
{ "name": "string", "plug": "string", "type": "string", "key": "string", "started": true, "configuration": null}
GET /api/v2/organizations/{orgName}/mergebots/plugs/{plugName}
Authorizations
bearer
HTTP: bearer
HTTP Authorization Scheme: Bearer
PATCH /api/v2/organizations/{orgName}/mergebots/plugs/{plugName}
Code samples for "{title}":
Request example
curl -X PATCH \ -H "Content-Type: application/json" \ -d '{ "name": "string", "plug": "string", "type": "string", "key": "string", "started": true, "configuration": null}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v2/organizations/{orgName}/mergebots/plugs/{plugName}"
Response example
{ "name": "string", "plug": "string", "type": "string", "key": "string", "started": true, "configuration": null}
GET /api/v2/organizations/{orgName}/mergebots/merge-reports
Code samples for "{title}":
Request example
curl -X GET \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v2/organizations/{orgName}/mergebots/merge-reports"
Response example
[ { "mergebotName": "string", "repositoryName": "string", "date": "2024-01-01T00:00:00Z", "branchId": 0, "properties": [ { "type": "string", "value": "string" } ] }]
GET /api/v2/organizations/{orgName}/mergebots/merge-reports/{mergebotName}
Code samples for "{title}":
Request example
curl -X GET \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v2/organizations/{orgName}/mergebots/merge-reports/{mergebotName}"
Response example
[ { "mergebotName": "string", "repositoryName": "string", "date": "2024-01-01T00:00:00Z", "branchId": 0, "properties": [ { "type": "string", "value": "string" } ] }]
POST /api/v1/organizations/{orgName}/repos/{repoName}/mergeto/report
Authorizations
bearer
HTTP: bearer
HTTP Authorization Scheme: Bearer
Code samples for "{title}":
Request example
curl -X POST \ -H "Content-Type: application/json" \ -d '{ "sourceType": "Branch", "source": "string", "destination": "string", "comment": "string", "createShelve": true, "ensureNoDstChanges": true, "skipMergeRulesCheckCreatingShelve": true, "encryption": "None", "encryptionPassword": "string"}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/repos/{repoName}/mergeto/report"
Response example
{ "result": "string"}
POST /api/v1/organizations/{orgName}/repos/{repoName}/mergeto
Authorizations
bearer
HTTP: bearer
HTTP Authorization Scheme: Bearer
Code samples for "{title}":
Request example
curl -X POST \ -H "Content-Type: application/json" \ -d '{ "sourceType": "Branch", "source": "string", "destination": "string", "comment": "string", "createShelve": true, "ensureNoDstChanges": true, "skipMergeRulesCheckCreatingShelve": true, "encryption": "None", "encryptionPassword": "string"}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/repos/{repoName}/mergeto"
Response example
{ "status": "OK", "message": "string", "changesetNumber": 0, "xlinkChangesets": [ { "repositoryName": "string", "changesetId": 0 } ]}
POST /api/v1/organizations/{orgName}/permissions
Authorizations
bearer
HTTP: bearer
HTTP Authorization Scheme: Bearer
Code samples for "{title}":
Request example
curl -X POST \ -H "Content-Type: application/json" \ -d '{ "branchIds": [ 0 ], "branchNames": [ "string" ], "permission": { "name": "string", "isGroup": true, "granted": [ "string" ], "denied": [ "string" ], "overrideGranted": [ "string" ], "overrideDenied": [ "string" ], "inheritanceGranted": [ "string" ], "inheritanceDenied": [ "string" ] }, "permissions": [ { "name": "string", "isGroup": true, "granted": [ "string" ], "denied": [ "string" ], "overrideGranted": [ "string" ], "overrideDenied": [ "string" ], "inheritanceGranted": [ "string" ], "inheritanceDenied": [ "string" ] } ], "repositoryName": "string", "branchName": "string", "branchId": 0, "labelName": "string", "labelId": 0, "attributeName": "string", "attributeId": 0, "path": "string", "tag": "string"}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/permissions"
Response example
{ "granted": 0, "denied": 0, "overrideGranted": 0, "overrideDenied": 0}
PUT /api/v1/organizations/{orgName}/permissions
Authorizations
bearer
HTTP: bearer
HTTP Authorization Scheme: Bearer
Code samples for "{title}":
Request example
curl -X PUT \ -H "Content-Type: application/json" \ -d '{ "branchIds": [ 0 ], "branchNames": [ "string" ], "permission": { "name": "string", "isGroup": true, "granted": [ "string" ], "denied": [ "string" ], "overrideGranted": [ "string" ], "overrideDenied": [ "string" ], "inheritanceGranted": [ "string" ], "inheritanceDenied": [ "string" ] }, "permissions": [ { "name": "string", "isGroup": true, "granted": [ "string" ], "denied": [ "string" ], "overrideGranted": [ "string" ], "overrideDenied": [ "string" ], "inheritanceGranted": [ "string" ], "inheritanceDenied": [ "string" ] } ], "repositoryName": "string", "branchName": "string", "branchId": 0, "labelName": "string", "labelId": 0, "attributeName": "string", "attributeId": 0, "path": "string", "tag": "string"}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/permissions"
Response example
{ "type": "string", "title": "string", "status": 0, "detail": "string", "instance": "string"}
PATCH /api/v1/organizations/{orgName}/permissions
Authorizations
bearer
HTTP: bearer
HTTP Authorization Scheme: Bearer
Code samples for "{title}":
Request example
curl -X PATCH \ -H "Content-Type: application/json" \ -d '{ "branchIds": [ 0 ], "branchNames": [ "string" ], "permission": { "name": "string", "isGroup": true, "granted": [ "string" ], "denied": [ "string" ], "overrideGranted": [ "string" ], "overrideDenied": [ "string" ], "inheritanceGranted": [ "string" ], "inheritanceDenied": [ "string" ] }, "permissions": [ { "name": "string", "isGroup": true, "granted": [ "string" ], "denied": [ "string" ], "overrideGranted": [ "string" ], "overrideDenied": [ "string" ], "inheritanceGranted": [ "string" ], "inheritanceDenied": [ "string" ] } ], "repositoryName": "string", "branchName": "string", "branchId": 0, "labelName": "string", "labelId": 0, "attributeName": "string", "attributeId": 0, "path": "string", "tag": "string"}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/permissions"
Response example
{ "type": "string", "title": "string", "status": 0, "detail": "string", "instance": "string"}
POST /api/v1/organizations/{orgName}/groups/{groupName}/permissions
Authorizations
bearer
HTTP: bearer
HTTP Authorization Scheme: Bearer
Code samples for "{title}":
Request example
curl -X POST \ -H "Content-Type: application/json" \ -d '{ "branchIds": [ 0 ], "branchNames": [ "string" ], "permission": { "name": "string", "isGroup": true, "granted": [ "string" ], "denied": [ "string" ], "overrideGranted": [ "string" ], "overrideDenied": [ "string" ], "inheritanceGranted": [ "string" ], "inheritanceDenied": [ "string" ] }, "permissions": [ { "name": "string", "isGroup": true, "granted": [ "string" ], "denied": [ "string" ], "overrideGranted": [ "string" ], "overrideDenied": [ "string" ], "inheritanceGranted": [ "string" ], "inheritanceDenied": [ "string" ] } ], "repositoryName": "string", "branchName": "string", "branchId": 0, "labelName": "string", "labelId": 0, "attributeName": "string", "attributeId": 0, "path": "string", "tag": "string"}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/groups/{groupName}/permissions"
Response example
{ "granted": 0, "denied": 0, "overrideGranted": 0, "overrideDenied": 0}
POST /api/v1/organizations/{orgName}/users/{userName}/permissions
Authorizations
bearer
HTTP: bearer
HTTP Authorization Scheme: Bearer
Code samples for "{title}":
Request example
curl -X POST \ -H "Content-Type: application/json" \ -d '{ "branchIds": [ 0 ], "branchNames": [ "string" ], "permission": { "name": "string", "isGroup": true, "granted": [ "string" ], "denied": [ "string" ], "overrideGranted": [ "string" ], "overrideDenied": [ "string" ], "inheritanceGranted": [ "string" ], "inheritanceDenied": [ "string" ] }, "permissions": [ { "name": "string", "isGroup": true, "granted": [ "string" ], "denied": [ "string" ], "overrideGranted": [ "string" ], "overrideDenied": [ "string" ], "inheritanceGranted": [ "string" ], "inheritanceDenied": [ "string" ] } ], "repositoryName": "string", "branchName": "string", "branchId": 0, "labelName": "string", "labelId": 0, "attributeName": "string", "attributeId": 0, "path": "string", "tag": "string"}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/users/{userName}/permissions"
Response example
{ "granted": 0, "denied": 0, "overrideGranted": 0, "overrideDenied": 0}
GET /api/v1/organizations/{orgName}/personal-access-tokens
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}/personal-access-tokens"
Response example
[ { "id": "string", "owner": "string", "description": "string", "createdAt": "2024-01-01T00:00:00Z", "validUntil": "2024-01-01T00:00:00Z", "lastSeen": "2024-01-01T00:00:00Z" }]
POST /api/v1/organizations/{orgName}/personal-access-tokens
Code samples for "{title}":
Request example
curl -X POST \ -H "Content-Type: application/json" \ -d '{ "description": "string", "lifetime": "string"}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/personal-access-tokens"
Response example
{ "id": "string", "owner": "string", "description": "string", "createdAt": "2024-01-01T00:00:00Z", "validUntil": "2024-01-01T00:00:00Z", "lastSeen": "2024-01-01T00:00:00Z"}
GET /api/v1/organizations/{orgName}/personal-access-tokens/{tokenId}
Authorizations
bearer
HTTP: bearer
HTTP Authorization Scheme: Bearer
GET /api/v1/organizations/{orgName}/personal-access-tokens/allow-list
Authorizations
bearer
HTTP: bearer
HTTP Authorization Scheme: Bearer
PATCH /api/v1/organizations/{orgName}/personal-access-tokens/allow-list
Code samples for "{title}":
Request example
curl -X PATCH \ -H "Content-Type: application/json" \ -d '{ "usersToRemove": [ "string" ], "groupsToRemove": [ "string" ], "usersToAdd": [ "string" ], "groupsToAdd": [ "string" ]}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/personal-access-tokens/allow-list"
Response example
{ "users": [ "string" ], "groups": [ "string" ]}
GET /api/v1/organizations/{orgName}/repos/{repoName}
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}"
Response example
{ "id": "string", "guid": "string", "name": "string", "owner": "string", "lastActivity": "2024-01-01T00:00:00Z", "mainBranch": "string", "mainBranchId": 0, "type": "string", "lastPermissionModifiedTime": "2024-01-01T00:00:00Z"}
PATCH /api/v1/organizations/{orgName}/repos/{repoName}
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"}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/repos/{repoName}"
Response example
{ "id": "string", "guid": "string", "name": "string", "owner": "string", "lastActivity": "2024-01-01T00:00:00Z", "mainBranch": "string", "mainBranchId": 0, "type": "string", "lastPermissionModifiedTime": "2024-01-01T00:00:00Z"}
GET /api/v1/organizations/{orgName}/repos/by-guid/{repoGuidParameter}
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/by-guid/{repoGuidParameter}"
Response example
{ "id": "string", "guid": "string", "name": "string", "owner": "string", "lastActivity": "2024-01-01T00:00:00Z", "mainBranch": "string", "mainBranchId": 0, "type": "string", "lastPermissionModifiedTime": "2024-01-01T00:00:00Z"}
PATCH /api/v1/organizations/{orgName}/repos/by-guid/{repoGuidParameter}
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"}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/repos/by-guid/{repoGuidParameter}"
Response example
{ "id": "string", "guid": "string", "name": "string", "owner": "string", "lastActivity": "2024-01-01T00:00:00Z", "mainBranch": "string", "mainBranchId": 0, "type": "string", "lastPermissionModifiedTime": "2024-01-01T00:00:00Z"}
GET /api/v1/organizations/{orgName}/repos
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"
Response example
[ { "id": "string", "guid": "string", "name": "string", "owner": "string", "lastActivity": "2024-01-01T00:00:00Z", "mainBranch": "string", "mainBranchId": 0, "type": "string", "lastPermissionModifiedTime": "2024-01-01T00:00:00Z" }]
Patches a single repository's permissions. Only the SEIDs specified in the request will get affected. The rest of the already existing permissions on the repository will remain unchanged.
Authorizations
bearer
HTTP: bearer
HTTP Authorization Scheme: Bearer
Code samples for "{title}":
Request example
curl -X PATCH \ -H "Content-Type: application/json" \ -d '{ "permissionsToEdit": [ { "user": "string", "group": "string", "permissions": { "granted": 0, "denied": 0, "overrideGranted": 0, "overrideDenied": 0 } } ]}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/repos/{repo}/permissions"
Response example
{ "error": { "message": "string" }, "keyMessage": "string"}
POST /api/v1/organizations/{organizationName}/clone
Authorizations
bearer
HTTP: bearer
HTTP Authorization Scheme: Bearer
Code samples for "{title}":
Request example
curl -X POST \ -H "Content-Type: application/json" \ -d '{ "source": { "server": "string", "repositoryName": "string", "repositoryGuid": "string", "branchGuid": "string", "branchName": "string", "credentials": { "user": "string", "token": "string" } }, "repositoryName": "string"}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{organizationName}/clone"
Response example
{ "repository": { "id": "string", "guid": "string", "name": "string", "owner": "string", "lastActivity": "2024-01-01T00:00:00Z", "mainBranch": "string", "mainBranchId": 0, "type": "string", "lastPermissionModifiedTime": "2024-01-01T00:00:00Z" }, "cloneGuid": "string"}
GET /api/v1/organizations/{orgName}/repos/{repoName}/revisions/{revisionId}/data
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}/revisions/{revisionId}/data"
Response example
{ "error": { "message": "string" }, "keyMessage": "string"}
GET /api/v1/organizations/{orgName}/repos/{repoName}/revisions/data
POST /api/v1/organizations/{orgName}/repos/{repoName}/revisions/data
Code samples for "{title}":
Request example
curl -X POST \ -H "X-Encryption-Key: <X-Encryption-Key>" \ -H "Content-Type: application/json" \ -d '{ "revisionIds": [ 0 ]}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/repos/{repoName}/revisions/data"
Response example
{ "error": { "message": "string" }, "keyMessage": "string"}
POST /api/v1/organizations/{orgName}/repos/{repoName}/revisions/raw
Authorizations
bearer
HTTP: bearer
HTTP Authorization Scheme: Bearer
Code samples for "{title}":
Request example
curl -X POST \ -H "X-Encryption-Key: <X-Encryption-Key>" \ -H "Content-Type: application/json" \ -d '{ "revisions": [ { "id": 0, "item": "string" } ]}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v1/organizations/{orgName}/repos/{repoName}/revisions/raw"
Response example
{ "error": { "message": "string" }, "keyMessage": "string"}
GET /api/v1/organizations/{orgName}/repos/{repoName}/revisions/{revisionId}/raw
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}/revisions/{revisionId}/raw"
Response example
{ "error": { "message": "string" }, "keyMessage": "string"}
GET /api/v2/organizations/{orgName}/repositories/{repoName}/revisions/{revisionId}/{requestType}
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}/revisions/{revisionId}/{requestType}"
Response example
{ "error": { "message": "string" }, "keyMessage": "string"}
POST /api/v2/organizations/{orgName}/repositories/{repoName}/revisions/{revisionId}/{requestType}
Authorizations
bearer
HTTP: bearer
HTTP Authorization Scheme: Bearer
Code samples for "{title}":
Request example
curl -X POST \ -H "Content-Type: application/json" \ -d '{ "encryptionKey": "string", "item": "string"}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v2/organizations/{orgName}/repositories/{repoName}/revisions/{revisionId}/{requestType}"
Response example
{ "error": { "message": "string" }, "keyMessage": "string"}
POST /api/v2/organizations/{orgName}/repositories/{repoName}/revisions/validate-key
Code samples for "{title}":
Request example
curl -X POST \ -H "Content-Type: application/json" \ -d '{ "encryptionKey": "string", "item": "string"}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v2/organizations/{orgName}/repositories/{repoName}/revisions/validate-key"
Response example
{ "error": { "message": "string" }, "keyMessage": "string"}
GET /api/v2/organizations/{orgName}/subscriptions
Authorizations
bearer
HTTP: bearer
HTTP Authorization Scheme: Bearer
GET /api/v2/organizations/{orgName}/repositories/{repoName}/subscriptions
Authorizations
bearer
HTTP: bearer
HTTP Authorization Scheme: Bearer
GET /api/v2/organizations/{orgName}/repositories/{repoName}/{objectType}/{objectId}/subscriptions
Code samples for "{title}":
Request example
curl -X GET \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v2/organizations/{orgName}/repositories/{repoName}/{objectType}/{objectId}/subscriptions"
Response example
[ { "user": "string", "isGroup": true, "groupMembers": [ "string" ], "objectType": "Review", "objectId": 0, "reason": "UserIsUnsubscribed" }]
POST /api/v2/organizations/{orgName}/repositories/{repoName}/{objectType}/{objectId}/subscriptions
Code samples for "{title}":
Request example
curl -X POST \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v2/organizations/{orgName}/repositories/{repoName}/{objectType}/{objectId}/subscriptions"
Response example
{ "user": "string", "isGroup": true, "groupMembers": [ "string" ], "objectType": "Review", "objectId": 0, "reason": "UserIsUnsubscribed"}
GET /api/v2/organizations/{orgName}/triggers
Authorizations
bearer
HTTP: bearer
HTTP Authorization Scheme: Bearer
POST /api/v2/organizations/{orgName}/triggers
Code samples for "{title}":
Request example
curl -X POST \ -H "Content-Type: application/json" \ -d '{ "name": "string", "types": [ "string" ], "path": "string", "filter": "string", "repositoryType": "string"}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v2/organizations/{orgName}/triggers"
Response example
PUT /api/v2/organizations/{orgName}/triggers/{id}
Code samples for "{title}":
Request example
curl -X PUT \ -H "Content-Type: application/json" \ -d '{ "name": "string", "types": [ "string" ], "path": "string", "filter": "string", "repositoryType": "string"}' \ "https://prd-azure-eastus-01-cloud.plasticscm.com:7178/api/v2/organizations/{orgName}/triggers/{id}"
Response example
GET /api/v1/organizations/{orgName}/users/{userName}/profile
Authorizations
bearer
HTTP: bearer
HTTP Authorization Scheme: Bearer
GET /api/v1/organizations/{orgName}/users/profiletemplate
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}/users/profiletemplate"
Response example
[ { "name": "string", "displayName": "string", "type": "string", "description": "string", "items": [ { "name": "string", "displayName": "string", "type": "string", "description": "string", "items": [ { "name": null, "displayName": null, "type": null, "description": null, "items": null } ] } ] }]