🛠️DevicePark API Integration Guide
A technica🚀 Getting Started with DevicePark APIl reference for integrating with the DevicePark Automation API.
📚 Index
Get OAuth Token Authenticate with DevicePark using your client credentials to receive a secure bearer token. This token is required to access all other API endpoints.
Create Allocation Request Submit a request to reserve a mobile device by specifying criteria like manufacturer, model, platform, and OS version. DevicePark will attempt to allocate a matching device or queue the request if unavailable.
Check Allocation Request Status Use your requestId to check whether your device request has been allocated or is still in queue. This step is essential for tracking the progress of your allocation.
Create Device Session Start an active session on the allocated device. This enables remote access and automation testing, and optionally allows session video recording.
Uppload App File Upload your .apk or .ipa file to DevicePark storage. After uploading, you’ll receive a fileKey, which is needed to install the app during your test session.
Configure Desired Capabilities Set up your Appium test configuration using key values like udid, sessionId, and fileKey. These capabilities bind your automation test to the correct device and session.
Post-Test Actions — Clean Up After Test Execution After testing, close the session to release the device and optionally delete the uploaded app file. Proper cleanup ensures smooth test operations and optimal resource usage.
💡 Tip: Use the navigation menu on the left to access each section, or click the links above.
Last updated