Create a file in a specific source
post/sources/{sourceId}/files
Uploads a file to a local source.
1{2 "id": "3c8b12a9-17d1-4f1b-822b-423ec8491bc0",3 "sourceId": "079b46b9-fbc4-44ce-8cb1-163330e4d812"4}| Name | Type | Required | Description |
|---|---|---|---|
sourceId | string | true | The id of the source to upload a file to. |
| Status | Meaning | Description | ||
|---|---|---|---|---|
| 201 | Created | The request succeeded. | Headers | Schema |
| 400 | Bad Request | The request was invalid. | Schema | |
| 401 | Unauthorized | The user was not authenticated. | Schema | |
| 422 | Unprocessable Entity | The server understands the request but was unable to process the contained instructions. | Schema |