Get the list of versions attached to the fileId
get/repository/items/{fileId}/versions
Returns the version history for the specified file.
1{2 "value": {3 "links": [4 {5 "method": "GET",6 "rel": "self",7 "href": "/healthClinicalAcceleration/repository/items/a76f30da-5662-4456-9689-7664de187395/versions?start=0&limit=4",8 "uri": "/healthClinicalAcceleration/repository/items/a76f30da-5662-4456-9689-7664de187395/versions?start=0&limit=4",9 "type": "application/vnd.sas.collection",10 "itemType": "application/vnd.sas.clinical.version+json"11 },12 {13 "method": "GET",14 "rel": "collection",15 "href": "/healthClinicalAcceleration/repository/items/a76f30da-5662-4456-9689-7664de187395/versions",16 "uri": "/healthClinicalAcceleration/repository/items/a76f30da-5662-4456-9689-7664de187395/versions",17 "type": "application/vnd.sas.collection",18 "itemType": "application/vnd.sas.clinical.version+json"19 }20 ],21 "name": "versions",22 "accept": "application/vnd.sas.clinical.version+json",23 "start": 0,24 "count": 4,25 "items": [26 {27 "version": 1,28 "fileId": "8ab1344f-86e3-422a-8f80-a6124b8bebc2",29 "path": "/Test Context/test file three.rtf",30 "fileVersion": "6.1",31 "createdBy": "sastest1",32 "createdByDisplayName": "SAS Test User 1 (sastest1)",33 "size": 368,34 "creationTimeStamp": "2023-08-31T20:44:58Z",35 "signed": true,36 "latest": false37 },38 {39 "version": 1,40 "fileId": "8ab1344f-86e3-422a-8f80-a6124b8bebc2",41 "path": "/Test Context/test file three.rtf",42 "fileVersion": "2.0",43 "createdBy": "sastest1",44 "createdByDisplayName": "SAS Test User 1 (sastest1)",45 "size": 368,46 "creationTimeStamp": "2023-08-31T20:38:25Z",47 "signed": true,48 "latest": false49 },50 {51 "version": 1,52 "fileId": "8ab1344f-86e3-422a-8f80-a6124b8bebc2",53 "path": "/Test Context/test file three.rtf",54 "fileVersion": "1.1",55 "createdBy": "sastest1",56 "createdByDisplayName": "SAS Test User 1 (sastest1)",57 "size": 368,58 "creationTimeStamp": "2023-08-31T20:38:11Z",59 "signed": false,60 "latest": false61 },62 {63 "version": 1,64 "fileId": "8ab1344f-86e3-422a-8f80-a6124b8bebc2",65 "path": "/Test Context/test file three.rtf",66 "fileVersion": "1.0",67 "createdBy": "sastest1",68 "createdByDisplayName": "SAS Test User 1 (sastest1)",69 "size": 368,70 "creationTimeStamp": "2023-08-31T16:18:01Z",71 "signed": false,72 "latest": false73 }74 ],75 "limit": 4,76 "version": 277 }78}
| Status | Meaning | Description | ||
|---|---|---|---|---|
| 200 | OK | OK | Schema |