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.
1{2 "version": 1,3 "fileId": "8ab1344f-86e3-422a-8f80-a6124b8bebc2",4 "path": "/Test Context/test file three.rtf",5 "fileVersion": "6.1",6 "createdBy": "sastest1",7 "createdByDisplayName": "SAS Test User 1 (sastest1)",8 "size": 368,9 "creationTimeStamp": "2023-08-31T20:44:58Z",10 "signed": true,11 "latest": false12}
Name | Type | Required | Description |
---|---|---|---|
fileId | string | true | The ID of the specified repository file. Examples: "b8cf3235-7bd8-4374-a4b2-650371f0311d" |
fileVersion | string | true | The specified version of the file. Examples: "2.0" |
Name | Type | Required | Description |
---|---|---|---|
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 |
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | OK | Schema |