-
Notifications
You must be signed in to change notification settings - Fork 5.7k
add incomingcall event swagger #22286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
e76a248
3df06d9
0890f5d
b061a71
278d374
dbd9962
82b4ab3
b5bfa74
df8ee6a
8ad4590
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -84,6 +84,30 @@ | |
| "modelAsString": true | ||
| } | ||
| }, | ||
| "CallingCommunicationIdentifierModel": { | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we need the Model suffix?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'll note this does seem to match the existing convention used in CommunicationIdentifierModel, CommunicationUserIdentifierModel, etc.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is missing the "type" property. |
||
| "description": "Calling communication identifier model", | ||
| "allOf": [ | ||
| { | ||
| "$ref": "#/definitions/CommunicationIdentifierModel" | ||
| } | ||
| ], | ||
| "properties": { | ||
| "unknownIdentifiers": { | ||
| "$ref": "#/definitions/UnknownIdentifierModel", | ||
| "description": "The unknown identifier." | ||
| } | ||
| } | ||
| }, | ||
| "UnknownIdentifierModel": { | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same question about whether we need Model suffix |
||
| "description": "Unknown identifier identifier model", | ||
| "type": "object", | ||
| "properties": { | ||
| "id": { | ||
| "type": "string", | ||
| "description": "The unknown id." | ||
| } | ||
| } | ||
| }, | ||
| "CommunicationIdentifierModel": { | ||
| "description": "Identifies a participant in Azure Communication services. A participant is, for example, a phone number or an Azure communication user. This model is polymorphic: Apart from kind and rawId, at most one further property may be set which must match the kind enum value.", | ||
| "type": "object", | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| { | ||
| "id": "81fa5460-7d8c-4fb7-bbb7-2d56154e78d9", | ||
| "topic": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", | ||
| "subject": "/call/{call-id}", | ||
| "data": { | ||
| "to": { | ||
| "rawId": "8:acs:5354158b-17b7-489c-9380-95d8821ff76b_0000000c-6c47-7dfd-6d70-224822000cfb", | ||
| "communicationUser": { | ||
| "id": "8:acs:5354158b-17b7-489c-9380-95d8821ff76b_0000000c-6c47-7dfd-6d70-224822000cfb" | ||
| } | ||
| }, | ||
| "from": { | ||
| "rawId": "8:acs:0a420b29-555c-4f6b-841e-de8059893bb9_0000000c-6c47-7dfd-6d70-224822000cfb", | ||
| "communicationUser": { | ||
| "id": "8:acs:0a420b29-555c-4f6b-841e-de8059893bb9_0000000c-6c47-7dfd-6d70-224822000cfb" | ||
| } | ||
| }, | ||
| "callerDisplayName": "VOIP Caller", | ||
| "incomingCallContext": "H4sIAAAAAAAEAMVX+2/bOBL+VwQfcD9cS4sUJUrkwjg4jn3NNa/m0WuL4AKKomw2sqSV6Ee62//9hpbzsnOH4naBKrAicjjffD0iODO/9ZQsitPKmtwoaU1V9sRvvbyp5u6/yXqilwipWiElylgapk", | ||
| "correlationId": "correlationId" | ||
| }, | ||
| "eventType": "Microsoft.Communication.IncomingCall", | ||
| "dataVersion": "1.0", | ||
| "metadataVersion": "1", | ||
| "eventTime": "2022-12-30T21:13:45Z" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| { | ||
| "id": "81fa5460-7d8c-4fb7-bbb7-2d56154e78d9", | ||
| "topic": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", | ||
| "subject": "/call/{call-id}", | ||
| "data": { | ||
| "to": { | ||
| "rawId": "8:acs:5354158b-17b7-489c-9380-95d8821ff76b_0000000c-6c47-7dfd-6d70-224822000cfb", | ||
| "communicationUser": { | ||
| "id": "8:acs:5354158b-17b7-489c-9380-95d8821ff76b_0000000c-6c47-7dfd-6d70-224822000cfb" | ||
| } | ||
| }, | ||
| "from": { | ||
| "rawId": "8:acs:0a420b29-555c-4f6b-841e-de8059893bb9_0000000c-6c47-7dfd-6d70-224822000cfb", | ||
| "communicationUser": { | ||
| "id": "8:acs:0a420b29-555c-4f6b-841e-de8059893bb9_0000000c-6c47-7dfd-6d70-224822000cfb" | ||
| } | ||
| }, | ||
| "callerDisplayName": "VOIP Caller", | ||
| "incomingCallContext": "H4sIAAAAAAAEAMVX+2/bOBL+VwQfcD9cS4sUJUrkwjg4jn3NNa/m0WuL4AKKomw2sqSV6Ee62//9hpbzsnOH4naBKrAicjjffD0iODO/9ZQsitPKmtwoaU1V9sRvvbyp5u6/yXqilwipWiElylgapk", | ||
| "correlationId": "correlationId" | ||
| }, | ||
| "eventType": "Microsoft.Communication.IncomingCall", | ||
| "dataVersion": "1.0", | ||
| "metadataVersion": "1", | ||
| "eventTime": "2022-12-30T21:13:45Z" | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should not be changed.