Create a file set
post/fileSets
Creates a file set to hold files to transport to and from the cluster. The file set object that is passed in, requires only the context ID set.
1{2 "creationTimeStamp": "2022-06-14T15:00:46.040481Z",3 "createdBy": "someuser",4 "modifiedTimeStamp": "2022-06-14T15:00:46.040481Z",5 "modifiedBy": "someuser",6 "id": "JOB_20220614_150046_039_1",7 "version": 1,8 "contextId": "6794ba8a-6aff-4989-ae77-93f67286aea2",9 "links": [10 {11 "method": "GET",12 "rel": "self",13 "href": "/batch/fileSets/JOB_20220614_150046_039_1",14 "uri": "/batch/fileSets/JOB_20220614_150046_039_1",15 "type": "application/vnd.sas.batch.file.set"16 },17 {18 "method": "DELETE",19 "rel": "delete",20 "href": "/batch/fileSets/JOB_20220614_150046_039_1",21 "uri": "/batch/fileSets/JOB_20220614_150046_039_1"22 },23 {24 "method": "GET",25 "rel": "up",26 "href": "/batch/fileSets",27 "uri": "/batch/fileSets",28 "type": "application/vnd.sas.collection",29 "itemType": "application/vnd.sas.batch.file.set"30 },31 {32 "method": "GET",33 "rel": "files",34 "href": "/batch/fileSets/JOB_20220614_150046_039_1/files",35 "uri": "/batch/fileSets/JOB_20220614_150046_039_1/files",36 "type": "application/vnd.sas.collection",37 "itemType": "application/vnd.sas.batch.file.set.file"38 }39 ]40}
Provides information about a file set that contains files sent to and from the cluster.
Name | Type | Required | Description |
---|---|---|---|
createdBy | string | false | The username of whoever created the resource. |
modifiedBy | string | false | The username of whoever last modified the resource. |
creationTimeStamp | string<date-time> | false | The timestamp for when the resource was created. |
modifiedTimeStamp | string<date-time> | false | The timestamp for when the resource was last modified. |
contextId | string | false | Specifies the context ID that is associated with the file set. |
id | string | false | Specifies the ID of the file set assigned by the Batch service. |
links | array [Link] | false | Specifies links that apply to the file set. |
version | integer<int32> | false | Specifies the version number of this representation schema. This is version 1. >= 1<= 1 |
Status | Meaning | Description | ||
---|---|---|---|---|
201 | Created | The file set was created. | Headers | Schema |
400 | Bad Request | The create file set request is not valid due to one of the following reasons. <UL> <LI> The request is not valid JSON. <LI> The version is not a number. <LI> The version is not a valid value. <LI> A required field is missing. <LI> The context specified by the context ID is not found. </UL> See the returned error response for more information. | Schema | |
404 | Not Found | The specified context 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 |