Get the list of versions attached to the fileId

get/repository/items/{fileId}/versions
Internal-Use Only

Returns the version history for the specified file.

Request Samples

1

Response Samples

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

Path Parameters

NameTypeRequiredDescription
fileId
string
true

The unique identifier for the file item.

Examples:
"a76f30da-5662-4456-9689-7664de187395"

Responses

StatusMeaningDescription
200OKOKSchema