Get the contents of a file set
get/fileSets/{fileSetId}/files
Returns a collection of file-information objects representing all the files contained in the specified file set.
1{2 "version": 2,3 "accept": "application/vnd.sas.batch.file.set.file",4 "count": 2,5 "start": 0,6 "limit": 2,7 "name": "files",8 "items": [9 {10 "creationTimeStamp": "2022-06-14T15:01:01.846Z",11 "createdBy": "someuser",12 "modifiedTimeStamp": "2022-06-14T15:01:01.846Z",13 "modifiedBy": "someuser",14 "fileSetId": "JOB_20220614_150046_039_1",15 "name": "testEnvVars.log",16 "size": 1227,17 "links": [18 {19 "method": "GET",20 "rel": "self",21 "href": "/batch/fileSets/JOB_20220614_150046_039_1/files/testEnvVars.log",22 "uri": "/batch/fileSets/JOB_20220614_150046_039_1/files/testEnvVars.log",23 "type": "application/vnd.sas.batch.file.set.file"24 },25 {26 "method": "PUT",27 "rel": "update",28 "href": "/batch/fileSets/JOB_20220614_150046_039_1/files/testEnvVars.log",29 "uri": "/batch/fileSets/JOB_20220614_150046_039_1/files/testEnvVars.log",30 "type": "application/vnd.sas.batch.file.set.file"31 },32 {33 "method": "GET",34 "rel": "up",35 "href": "/batch/fileSets/JOB_20220614_150046_039_1/files",36 "uri": "/batch/fileSets/JOB_20220614_150046_039_1/files",37 "type": "application/vnd.sas.collection",38 "itemType": "application/vnd.sas.batch.file.set.file"39 }40 ],41 "version": 142 },43 {44 "creationTimeStamp": "2022-06-14T15:00:47.243Z",45 "createdBy": "someuser",46 "modifiedTimeStamp": "2022-06-14T15:00:47.243Z",47 "modifiedBy": "someuser",48 "fileSetId": "JOB_20220614_150046_039_1",49 "name": "testEnvVars.sas",50 "size": 544,51 "links": [52 {53 "method": "GET",54 "rel": "self",55 "href": "/batch/fileSets/JOB_20220614_150046_039_1/files/testEnvVars.sas",56 "uri": "/batch/fileSets/JOB_20220614_150046_039_1/files/testEnvVars.sas",57 "type": "application/vnd.sas.batch.file.set.file"58 },59 {60 "method": "PUT",61 "rel": "update",62 "href": "/batch/fileSets/JOB_20220614_150046_039_1/files/testEnvVars.sas",63 "uri": "/batch/fileSets/JOB_20220614_150046_039_1/files/testEnvVars.sas",64 "type": "application/vnd.sas.batch.file.set.file"65 },66 {67 "method": "GET",68 "rel": "up",69 "href": "/batch/fileSets/JOB_20220614_150046_039_1/files",70 "uri": "/batch/fileSets/JOB_20220614_150046_039_1/files",71 "type": "application/vnd.sas.collection",72 "itemType": "application/vnd.sas.batch.file.set.file"73 }74 ],75 "version": 176 }77 ],78 "links": [79 {80 "method": "GET",81 "rel": "collection",82 "href": "/batch/fileSets/JOB_20220614_150046_039_1/files",83 "uri": "/batch/fileSets/JOB_20220614_150046_039_1/files",84 "type": "application/vnd.sas.collection",85 "itemType": "application/vnd.sas.batch.file.set.file"86 },87 {88 "method": "GET",89 "rel": "self",90 "href": "/batch/fileSets/JOB_20220614_150046_039_1/files",91 "uri": "/batch/fileSets/JOB_20220614_150046_039_1/files",92 "type": "application/vnd.sas.collection",93 "itemType": "application/vnd.sas.batch.file.set.file"94 }95 ]96}
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | The request succeeded. | Schema | |
404 | Not Found | The specified file set is not found. | Schema | |
406 | Not Acceptable | The requested response type is not acceptable. See the returned error response for more information and acceptable response types. | Schema |