username:passwordAuthorization: Basic *****************curl --location --request GET '/repos///pulls//versions//diff' \
--header 'Authorization: Basic <encoded-value>'{
"Start": "",
"End": "",
"NumFiles": 1,
"TotalAddition": 1,
"TotalDeletion": 0,
"Files": [
{
"Name": "1new",
"NameHash": "46247b679df88b5fd4c78526f57e03ca7151f365",
"OldName": "1new",
"Index": 1,
"Addition": 1,
"Deletion": 0,
"Type": 1,
"IsCreated": true,
"IsDeleted": false,
"IsBin": false,
"IsLFSFile": false,
"IsRenamed": false,
"IsAmbiguous": false,
"IsSubmodule": false,
"Sections": [
{
"FileName": "1new",
"Name": "",
"Lines": [
{
"LeftIdx": 0,
"RightIdx": 0,
"Match": 0,
"Type": 4,
"Content": "@@ -0,0 +1 @@",
"Comments": null,
"SectionInfo": {
"Path": "1new",
"LastLeftIdx": 0,
"LastRightIdx": 0,
"LeftIdx": 0,
"RightIdx": 1,
"LeftHunkSize": 0,
"RightHunkSize": 0
}
},
{
"LeftIdx": 0,
"RightIdx": 1,
"Match": -1,
"Type": 2,
"Content": "+q23123",
"Comments": null,
"SectionInfo": null
}
]
}
],
"IsIncomplete": false,
"IsIncompleteLineTooLong": false,
"IsProtected": false,
"IsGenerated": false,
"IsVendored": false,
"IsViewed": false,
"HasChangedSinceLastReview": false,
"Language": ""
}
],
"IsIncomplete": false,
"NumViewedFiles": 0
}