POST selfservicefiles
Save a new self service file in the customer's repository.
Request body model example and description
{
"FileName": "myfile.class",
"Base64Contents": "A valid Base64 string representing the file bytes to be saved",
"FileDescription": "Load test scenario with 3 pages",
"FileTags": [
"sample string 1",
"sample string 2",
"sample string 3"
],
"FileGroups": [
"sample string 1",
"sample string 2",
"sample string 3"
],
"RemoveFromAllFileGroups": true,
"OverwriteFile": true,
"ProjectId": 1
}
| Name | Type | Required | Description |
|---|---|---|---|
| FileName | String | Yes |
The name of the file, such as 'myfile.class' or 'greatfile.html'. |
| Base64Contents | String | Yes |
The contents of the file as base 64 encoded byte array |
| FileDescription | String | No |
A short description of the file |
| FileTags | Object | No |
A list array with tags you'd like to attach to the file. If a tag doesn't exist it will be created |
| FileGroups | Object | No |
The file groups you'd like to save the file under. If a group doesn't exist it will be created |
| RemoveFromAllFileGroups | Boolean | No |
Whether a file should be removed from every group it is currently assigned to |
| OverwriteFile | Boolean | No |
Overwrite file if exists. Keep existing file otherwise. |
| ProjectId | Integer | No |
Project Id file should be attached to |