@@ -3421,6 +3421,70 @@ components:
3421
3421
message : Ciphers are invalid
3422
3422
attribute : ciphers
3423
3423
url : https://developer.signalwire.com/rest/signalwire-rest/overview/error-codes#invalid_parameter
3424
+
3425
+ CxmlApplication :
3426
+ type : object
3427
+ required :
3428
+ - id
3429
+ - name
3430
+ - handle_calls_using
3431
+ - call_handler_url
3432
+ - call_handler_method
3433
+ - call_handler_fallback_url
3434
+ - call_handler_fallback_method
3435
+ - call_status_callback_url
3436
+ - call_status_callback_method
3437
+ properties :
3438
+ id :
3439
+ allOf :
3440
+ - $ref : ' #/components/schemas/uuid'
3441
+ example : a87db7ed-8ebe-42e4-829f-8ba5a4152f54
3442
+ description : Unique ID of the cXML Application.
3443
+ name :
3444
+ type : string
3445
+ example : My cXML Application
3446
+ description : Name of the cXML Application.
3447
+ handle_calls_using :
3448
+ allOf :
3449
+ - $ref : ' #/components/schemas/HandleCallsUsing'
3450
+ example : script
3451
+ description : Indicates whether the call will be handled by a script or an external URL.
3452
+ call_handler_url :
3453
+ type : string
3454
+ example : https://example.com/cxml
3455
+ description : Call handler URL
3456
+ call_handler_method :
3457
+ allOf :
3458
+ - $ref : ' #/components/schemas/UrlMethodType'
3459
+ example : GET
3460
+ description : Call handler URL method
3461
+ call_handler_fallback_url :
3462
+ type : string
3463
+ example : https://example.com/cxml
3464
+ description : Call handler callback URL.
3465
+ call_handler_fallback_method :
3466
+ allOf :
3467
+ - $ref : ' #/components/schemas/UrlMethodType'
3468
+ example : GET
3469
+ description : Call handler fallback method.
3470
+ call_status_callback_url :
3471
+ type : string
3472
+ example : https://callback.com
3473
+ description : Call status callback URL
3474
+ call_status_callback_method :
3475
+ allOf :
3476
+ - $ref : ' #/components/schemas/UrlMethodType'
3477
+ example : POST
3478
+ description : Call status callback method.
3479
+ HandleCallsUsing :
3480
+ type : string
3481
+ enum :
3482
+ - script
3483
+ - external_url
3484
+ uuid :
3485
+ type : string
3486
+ format : uuid
3487
+ description : Universal Unique Identifier.
3424
3488
responses :
3425
3489
' 204 ' :
3426
3490
description : No Content
@@ -10830,213 +10894,6 @@ paths:
10830
10894
responses :
10831
10895
' 204 ' :
10832
10896
description : No content
10833
- /resources/cxml_applications :
10834
- get :
10835
- operationId : CxmlApplications_list
10836
- summary : List cXML Applications
10837
- description : A list of cXML Applications
10838
- parameters : []
10839
- responses :
10840
- ' 200 ' :
10841
- description : The request has succeeded.
10842
- content :
10843
- application/json :
10844
- schema :
10845
- $ref : ' #/components/schemas/CxmlApplicationListResponse'
10846
- ' 401 ' :
10847
- description : Access is unauthorized.
10848
- content :
10849
- application/json :
10850
- schema :
10851
- type : string
10852
- enum :
10853
- - Unauthorized
10854
- ' 404 ' :
10855
- description : The server cannot find the requested resource.
10856
- content :
10857
- application/json :
10858
- schema :
10859
- type : string
10860
- enum :
10861
- - Not Found
10862
- tags :
10863
- - cXML Application
10864
- post :
10865
- operationId : CxmlApplications_create
10866
- summary : Create cXML Application
10867
- description : Creates acXML Application
10868
- parameters : []
10869
- responses :
10870
- ' 201 ' :
10871
- description : The request has succeeded and a new resource has been created as a result.
10872
- content :
10873
- application/json :
10874
- schema :
10875
- $ref : ' #/components/schemas/CxmlApplicationResponse'
10876
- ' 401 ' :
10877
- description : Access is unauthorized.
10878
- content :
10879
- application/json :
10880
- schema :
10881
- type : string
10882
- enum :
10883
- - Unauthorized
10884
- ' 404 ' :
10885
- description : The server cannot find the requested resource.
10886
- content :
10887
- application/json :
10888
- schema :
10889
- type : string
10890
- enum :
10891
- - Not Found
10892
- ' 422 ' :
10893
- description : Client error
10894
- content :
10895
- application/json :
10896
- schema :
10897
- $ref : ' #/components/schemas/CxmlApplicationCreateStatusCode422'
10898
- tags :
10899
- - cXML Application
10900
- requestBody :
10901
- required : true
10902
- content :
10903
- application/json :
10904
- schema :
10905
- $ref : ' #/components/schemas/CxmlApplicationCreateRequest'
10906
- /resources/cxml_applications/{cxml_application_id}/addresses :
10907
- get :
10908
- operationId : CxmlApplicationAddresses_list
10909
- summary : List cXML Application Addresses
10910
- description : A list of cXML Application Addresses
10911
- parameters :
10912
- - $ref : ' #/components/parameters/CxmlApplicationIDPath'
10913
- responses :
10914
- ' 200 ' :
10915
- description : The request has succeeded.
10916
- content :
10917
- application/json :
10918
- schema :
10919
- $ref : ' #/components/schemas/CxmlApplicationAddressListResponse'
10920
- ' 401 ' :
10921
- description : Access is unauthorized.
10922
- content :
10923
- application/json :
10924
- schema :
10925
- type : string
10926
- enum :
10927
- - Unauthorized
10928
- ' 404 ' :
10929
- description : The server cannot find the requested resource.
10930
- content :
10931
- application/json :
10932
- schema :
10933
- type : string
10934
- enum :
10935
- - Not Found
10936
- tags :
10937
- - cXML Application
10938
- /resources/cxml_applications/{id} :
10939
- get :
10940
- operationId : CxmlApplications_read
10941
- summary : Get cXML Application
10942
- description : Returns an cXML Application by ID
10943
- parameters :
10944
- - $ref : ' #/components/parameters/CxmlApplicationID'
10945
- responses :
10946
- ' 200 ' :
10947
- description : The request has succeeded.
10948
- content :
10949
- application/json :
10950
- schema :
10951
- $ref : ' #/components/schemas/CxmlApplicationResponse'
10952
- ' 401 ' :
10953
- description : Access is unauthorized.
10954
- content :
10955
- application/json :
10956
- schema :
10957
- type : string
10958
- enum :
10959
- - Unauthorized
10960
- ' 404 ' :
10961
- description : The server cannot find the requested resource.
10962
- content :
10963
- application/json :
10964
- schema :
10965
- type : string
10966
- enum :
10967
- - Not Found
10968
- tags :
10969
- - cXML Application
10970
- patch :
10971
- operationId : CxmlApplications_update
10972
- summary : Update cXML Application
10973
- description : Updates a cXML Application by ID
10974
- parameters :
10975
- - $ref : ' #/components/parameters/CxmlApplicationID'
10976
- responses :
10977
- ' 200 ' :
10978
- description : The request has succeeded.
10979
- content :
10980
- application/json :
10981
- schema :
10982
- $ref : ' #/components/schemas/CxmlApplicationResponse'
10983
- ' 401 ' :
10984
- description : Access is unauthorized.
10985
- content :
10986
- application/json :
10987
- schema :
10988
- type : string
10989
- enum :
10990
- - Unauthorized
10991
- ' 404 ' :
10992
- description : The server cannot find the requested resource.
10993
- content :
10994
- application/json :
10995
- schema :
10996
- type : string
10997
- enum :
10998
- - Not Found
10999
- ' 422 ' :
11000
- description : Client error
11001
- content :
11002
- application/json :
11003
- schema :
11004
- $ref : ' #/components/schemas/CxmlApplicationUpdateStatusCode422'
11005
- tags :
11006
- - cXML Application
11007
- requestBody :
11008
- required : true
11009
- content :
11010
- application/json :
11011
- schema :
11012
- $ref : ' #/components/schemas/CxmlApplicationUpdateRequest'
11013
- delete :
11014
- operationId : CxmlApplications_delete
11015
- summary : Delete cXML Application
11016
- description : Deletes a cXML Application by ID
11017
- parameters :
11018
- - $ref : ' #/components/parameters/CxmlApplicationID'
11019
- responses :
11020
- ' 204 ' :
11021
- description : ' There is no content to send for this request, but the headers may be useful. '
11022
- ' 401 ' :
11023
- description : Access is unauthorized.
11024
- content :
11025
- application/json :
11026
- schema :
11027
- type : string
11028
- enum :
11029
- - Unauthorized
11030
- ' 404 ' :
11031
- description : The server cannot find the requested resource.
11032
- content :
11033
- application/json :
11034
- schema :
11035
- type : string
11036
- enum :
11037
- - Not Found
11038
- tags :
11039
- - cXML Application
11040
10897
/resources/{id}/addresses :
11041
10898
get :
11042
10899
tags :
0 commit comments