Create a file
post/project/{projectName}/files
Creates a file within the specified subfolder in a project package.
1{2 "id": "UHJvamVjdDEvMC4xL2hvbWUvYW5hbHl0aWNzL2E=",3 "name": "/home/analytics/astore",4 "type": "file",5 "version": 26}
| Name | Type | Required | Description |
|---|---|---|---|
chunk | integer<int32> | false | The index of the partial file chunk that is being transferred. Default: -1 |
chunks | integer<int32> | false | The total number of chunks. Default: -1 |
path | string | true | The path to the file. Example: |
| Status | Meaning | Description | ||
|---|---|---|---|---|
| 201 | Created | The request succeeded. | Headers | Schema |
| 400 | Bad Request | The request was invalid. Additional information is available in the application logs if the environment variable | Schema | |
| 409 | Conflict | The request could not be completed due to a conflict with the current state of the resource. | Schema |