Queue OneDrive
POST {{api_base}}/{{api_version}}/api/integration/onedrive
Overview
Queues a job to upload the specified file or zip to the OneDrive sent with the
onedrive_token
key. To get this key, either get an OAuth2 token using
/oauth/onedrive
or your own solution. Make sure when creating the OAuth link you use the scope
files.readwrite.all
. This is compatible with all different types of Microsoft accounts.
Authorization
Requires an API key using the Authorization Bearer Header.
Request Body
{"id"=>0, "file_id"=>0, "zip"=>false, "type"=>"torrent", "onedrive_token"=>"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"}
HEADERS
| Key | Datatype | Required | Description |
RESPONSES
status: ``