Get a collection of file sets
get/fileSets
Returns a collection of file-set objects that meet the specified query parameters.
1{2 "version": 2,3 "accept": "application/vnd.sas.batch.file.set",4 "count": 1,5 "start": 0,6 "limit": 10,7 "name": "fileSets",8 "items": [9 {10 "creationTimeStamp": "2022-06-14T15:00:46.040481Z",11 "createdBy": "someuser",12 "modifiedTimeStamp": "2022-06-14T15:00:46.040481Z",13 "modifiedBy": "someuser",14 "id": "JOB_20220614_150046_039_1",15 "version": 1,16 "contextId": "6794ba8a-6aff-4989-ae77-93f67286aea2",17 "links": [18 {19 "method": "GET",20 "rel": "self",21 "href": "/batch/fileSets/JOB_20220614_150046_039_1",22 "uri": "/batch/fileSets/JOB_20220614_150046_039_1",23 "type": "application/vnd.sas.batch.file.set"24 },25 {26 "method": "DELETE",27 "rel": "delete",28 "href": "/batch/fileSets/JOB_20220614_150046_039_1",29 "uri": "/batch/fileSets/JOB_20220614_150046_039_1"30 },31 {32 "method": "GET",33 "rel": "up",34 "href": "/batch/fileSets",35 "uri": "/batch/fileSets",36 "type": "application/vnd.sas.collection",37 "itemType": "application/vnd.sas.batch.file.set"38 },39 {40 "method": "GET",41 "rel": "files",42 "href": "/batch/fileSets/JOB_20220614_150046_039_1/files",43 "uri": "/batch/fileSets/JOB_20220614_150046_039_1/files",44 "type": "application/vnd.sas.collection",45 "itemType": "application/vnd.sas.batch.file.set.file"46 }47 ]48 }49 ],50 "links": [51 {52 "method": "GET",53 "rel": "collection",54 "href": "/batch/fileSets",55 "uri": "/batch/fileSets",56 "type": "application/vnd.sas.collection",57 "itemType": "application/vnd.sas.batch.file.set"58 },59 {60 "method": "GET",61 "rel": "self",62 "href": "/batch/fileSets?start=0&limit=10",63 "uri": "/batch/fileSets?start=0&limit=10",64 "type": "application/vnd.sas.collection",65 "itemType": "application/vnd.sas.batch.file.set"66 }67 ]68}
Name | Type | Required | Description |
---|---|---|---|
filter | string<filter-criteria> | false | Specifies the filter criteria for returned items. |
limit | integer | false | Limits the maximum number of resource items to return. The default value is "10". |
sortBy | string<sort-criteria> | false | Sorts returned items by the specified criteria. |
start | integer | false | Returns the offset of the first resource item to return. The default value is "0". |
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | The request succeeded. | Schema | |
400 | Bad Request | The query file sets request is not valid due to one of the following reasons. <UL> <LI> The start or limit value is not a number. <LI> The start or limit value is less than 0. <LI> The filter parameter is not a valid value. <LI> The sortBy parameter is not a valid value. </UL> See the returned error response for more information. | Schema | |
406 | Not Acceptable | The requested response type is not acceptable. See the returned error response for more information and acceptable response types. | Schema |