Upload file
documentedUploads a new file to Drive.
POST /upload/drive/v3/filesDriveno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://www.googleapis.com/upload/drive/v3/files?uploadType=multipart" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Accept: application/json" \
-H "Content-Type: multipart/related; boundary=drive-upload-boundary" \
-d '--drive-upload-boundary
Content-Type: application/json; charset=UTF-8
{"name": "{{$title}}", "description": "{{$description}}", "mimeType": "{{$mime_type}}", "parents": ["{{$parent_id}}"]}
--drive-upload-boundary
Content-Type: {{$media_mime_type}}
{{$file_contents}}
--drive-upload-boundary--'