×
Request Device by Requirements
Note:
See the API documentation for this endpoint for more information.
More general information on how to use the webmate API can be found here
Requests the deployment of a device in the project with the projectID specified, given a set of capabilities.
Endpoint | /projects/{projectId}/device/devices |
Method | POST |
projectId | Id of the project for which the device should be requested |
Body | {"name": "string","deviceRequirements": {}} |
return schema | JSON with device properties |
return example | {"id": "1018b7b9-6572-4908-b18b-d462d5343d76", ... } |
You can use this endpoint the following way:
|
|
You need an authenticated webmateSession
to call this function, see this article on how to set up and authenticate with the SDK.
Parameter | |
---|---|
projectId | webmate ProjectId of the project for which the device should be requested |
deviceRequest | webmate DeviceRequest for the device that should be requested |
platform | webmate Platform for the device that should be requested |
|
|
You need an authenticated webmateSession
to call this function, see this article on how to set up and authenticate with the SDK.
Parameter | |
---|---|
projectId | webmate ProjectId of the project for which the device should be requested |
deviceRequest | webmate DeviceRequest for the device that should be requested |
|
|