Send Logs
Last updated
Last updated
POST
https://api.upswift.io/v1/send_log_file
Send log files from your devices to the dashboard. You can then view the log files content at the dashboard or download the files. You can send text, as well as binary files. Keep in mind that at the dashboard you can view only the text files. All other files you won't be able to view on the dashboard but only download them.
Name | Type | Description |
---|
Restrictions:
Max file size: 20Mb
Max calls per minute per device: 1
Max total files that are being saved on Upswift servers: 30. If you upload a file with a name that already exists, it will be overridden. If you upload more than 30 files in total, the oldest file uploaded will be deleted and replaced by the new file.
user_token | string | This is your account token. Can be found under the Settings category on Upswift dashboard. |
device_token | string | This is your device token. |
file | object | application/octet-stream - This is the file that you would like to send. |