Assign a Resource as Call handler on a Domain Application
POST/resources/:id/domain_applications
Assign a Resource as Call handler on a Domain Application
Request
Path Parameters
id uuidrequired
The ID of the Resource
- application/json
Body
required
domain_application_id uuid
Responses
- 200
A newly created address for the domain application
- application/json
- Schema
- Example (from schema)
Schema
name string
display_name string
resource_id uuid
type string
cover_url uri
preview_url uri
channels
object
video uri
audio uri
messaging uri
{
"name": "reception",
"display_name": "Reception",
"resource_id": "993ed018-9e79-4e50-b97b-984bd5534095",
"type": "room",
"cover_url": "https://example.com/cover.jpg",
"preview_url": "https://example.com/preview.jpg",
"channels": {
"video": "/public/reception?channel=video",
"audio": "/public/reception?channel=audio",
"messaging": "/public/reception?channel=messaging"
}
}
Loading...