assignDomainApplication
Assign a domain application to a Fabric resource.
Path parameters
id
Unique ID of the domain application.
Request
domain_application_id
The id of the domain application you wish to assign a resource to.
Response
id
The unique identifier of the domain application on SignalWire.
type
A string representation of the type of object this record is.
domain
The unique domain for this application, combining your space subdomain and identifier.
name
A string representing the friendly name for this domain application.
identifier
A string representing the identifier portion of the domain application.
user
A string representing the user portion of the domain application.
ip_auth_enabled
Whether the domain application will enforce IP authentication for incoming requests.
ip_auth
A list containing whitelisted IP addresses and IP blocks used if ip_auth_enabled is true.
call_handler
Specify how the domain application will handle calls.
calling_handler_resource_id
The unique identifier of the calling handler resource.
call_relay_topic
A string representing the Relay topic to forward incoming calls to.
call_relay_topic_status_callback_url
A string representing a URL to send status change messages to.
call_request_url
A string representing the LaML URL to access when a call is received.
call_request_method
A string representing the HTTP method to use with call_request_url.
Allowed values:
call_fallback_url
A string representing the LaML URL to access when the call to call_request_url fails.
call_fallback_method
A string representing the HTTP method to use with call_fallback_url.
Allowed values:
call_status_callback_url
A string representing a URL to send status change messages to.
call_status_callback_method
A string representing the HTTP method to use with call_status_callback_url.
Allowed values:
call_laml_application_id
A string representing the ID of the LaML application to forward incoming calls to.
call_video_room_id
A string representing the ID of the Video Room to forward incoming calls to.
call_relay_script_url
A string representing the URL of the Relay script to execute when a call is received.
encryption
A string representing whether connections to this domain application require encryption or if encryption is optional. Valid values are optional, required, and forbidden.
Allowed values:
codecs
A list of codecs this domain application will support. Currently supported values are: OPUS, G722, PCMU, PCMA, G729, VP8, and H264.
ciphers
A list of encryption ciphers this domain application will support. Currently supported values are: AEAD_AES_256_GCM_8, AES_256_CM_HMAC_SHA1_80, AES_CM_128_HMAC_SHA1_80, AES_256_CM_HMAC_SHA1_32, and AES_CM_128_HMAC_SHA1_32.
call_relay_contextDeprecated
Deprecated. Use call_relay_application instead.
call_relay_context_status_callback_urlDeprecated
Deprecated. Use call_relay_topic_status_callback_url instead.
Response Example
Response