Get the specified version of the file with the matching ID

get/repository/items/{fileId}/versions/{fileVersion}

Returns the specified version of the specified file.

Request Samples

Response Samples

1{
2 "value": {
3 "version": 1,
4 "fileId": "8ab1344f-86e3-422a-8f80-a6124b8bebc2",
5 "path": "/Test Context/test file three.rtf",
6 "fileVersion": "6.1",
7 "createdBy": "sastest1",
8 "createdByDisplayName": "SAS Test User 1 (sastest1)",
9 "size": 368,
10 "creationTimeStamp": "2023-08-31T20:44:58Z",
11 "signed": true,
12 "latest": false
13 }
14}

Path Parameters

fileId
string
true

The ID of the specified repository file.

fileVersion
string
true

The specified version of the file.

Header Parameters

Accept
string
false

The requested representation of the file version. Media type 'application/vnd.sas.clinical.version+json' is the default.

Allowed values:
application/vnd.sas.clinical.version+jsonapplication/vnd.sas.clinical.repository.file+jsonapplication/json

Responses

StatusMeaningDescription
200OK

OK

Schema