Document Hub Put
| Request | |
|---|---|
| Description | Generates a URL for uploading a file to a specified path. |
| Context | https://<instance>.optimizemyday.com/document-service/rs/v1/documents |
| URL | /put |
| Method | GET |
| Response Code | 200 when successful, another HTTP status code otherwise |
| Success Response | the upload URL. |
| Response Type | text/plain |
| Parameter | Datatype | Description |
|---|---|---|
| configId | Integer | The identifier of the configuration. |
| path | String | The folder path of the file. |
| name | String | The name of the file. |
Sample Call
https://sandbox.optimizemyday.com/document-service/rs/v1/documents/put?configId=16169175&path=tasks%2FA-0000006&name=test1.md
Sample Result
https://sb-smartservices.s3-eu-central-2.ionoscloud.com/tasks/A-0000006/test1.md?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20241205T155020Z&X-Amz-SignedHeaders=host&X-Amz-Expires=59&X-Amz-Credential=AAAABBBB_request&X-Amz-Signature=bbbbAAAA