Skip to content

Preview unassigned devices matching a channel​

POST
/channels/{channel-id}/match-unassigned/preview

Returns the unassigned devices whose labels satisfy the channel's required and selection rules, without making any change.

Authorizations​

Parameters​

Path Parameters

channel-id*

Channel ID

Type
string
Required

Responses​

Preview result

application/json
JSON
{
  
"conflicts": 0,
  
"default_environment_id": "string",
  
"items": [
  
  
{
  
  
  
"device_id": "string",
  
  
  
"device_nick": "string",
  
  
  
"matched_channel_id": "string",
  
  
  
"matched_channel_name": "string",
  
  
  
"matching_channels": [
  
  
  
  
{
  
  
  
  
  
"channel_id": "string",
  
  
  
  
  
"channel_name": "string",
  
  
  
  
  
"environment_id": "string"
  
  
  
  
}
  
  
  
],
  
  
  
"reason": "string",
  
  
  
"status": "string"
  
  
}
  
],
  
"matched": 0,
  
"total": 0,
  
"unmatched": 0
}

Playground​

Variables
Key
Value

Samples​

Powered by VitePress OpenAPI