Device File Management
Push a file to the device
Uploads a file to the specified destination path on the device storage. Format: Multipart Form Data.
post/sessions/{sessionId}/device/pushFile
Request
- Base URLhttps://api.us-west-1.saucelabs.com/rdc/v2
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
sessionIdstring required
The id of the device session
Request body multipart/form-data
Example request
{
"destinationPath": "/Download/test-image.png",
"bundleId": "com.example.app"
}Response
File uploaded successfully
Changes
No recorded changes to this operation across all 1 revision of this API.