Create a new device for a user
POST/v1/organizations/:organizationId/projects/:projectId/platforms/android/users/:userId/devices
Create a new device for a user
Request
Path Parameters
- application/json
Body
required
Model of the device.
Manufacturer of the device.
Product name of the device.
Brand of the device.
Hardware of the device.
Board of the device.
Version name of the device.
Fingerprint of the device.
Version code of the device.
SDK Version Name of the device.
Build ID of the device.
Bootloader of the device.
OS Version Name of the device.
API Level of the device.
Indicates if the device is an emulator.
The applicationId associated with the app, also referred to as packageName.
Platform of the device.
Device type.
features object
Features supported by the device.
Responses
- 201
- 400
- 404
Device has been successfully created.
- application/json
- Schema
- Example (from schema)
Schema
The unique identifier for the device.
Model of the device.
Manufacturer of the device.
Product name of the device.
Brand of the device.
Hardware of the device.
Board of the device.
Version name of the device.
Fingerprint of the device.
Version code of the device.
SDK Version Name of the device.
Build ID of the device.
Bootloader of the device.
OS Version Name of the device.
API Level of the device.
Indicates if the device is an emulator.
The applicationId associated with the app, also referred to as packageName.
Platform of the device.
Device type.
Creation timestamp of the device record.
Last updated timestamp of the device record.
The ID of the user associated with the device.
{
"id": "abc123",
"model": "Pixel 4",
"manufacturer": "Google",
"product": "Pixel",
"brand": "Google",
"hardware": "coral",
"board": "coral",
"versionName": "2.0.0",
"fingerprint": "google/coral/coral:10/QQ3A.200805.001/6578210:user/release-keys",
"versionCode": "10",
"sdkVersionName": "5.1.0",
"buildId": "QQ3A.200805.001",
"bootloader": "unknown",
"osVersionName": "Android 11",
"apiLevel": 30,
"isEmulator": true,
"applicationId": "com.example.app",
"platform": "Android",
"device": "emu64x",
"createdAt": "2021-09-24T10:26:32.000Z",
"updatedAt": "2021-09-25T10:26:32.000Z",
"userId": "user123"
}
Bad Request
User doesn't have permission to access the resource