Admin Functions - adthom/microsoft-teams-apps-callrecord-insights GitHub Wiki
Call Record Insights provides several HTTP Triggered functions solely for administrative purposes.
Each admin function requires the use of the master/host key for authentication.
This admin function retrieves a raw call record from Graph
https://cridemo1-function.azurewebsites.net/api/callRecords/ca111dca-111d-ca11-1dca-11ca111dca11/contoso.com?code=<MASTER_KEY>
GET
This admin function creates/renews the subscription to Graph
https://cridemo1-function.azurewebsites.net/api/subscription/contoso.com?code=<MASTER_KEY>
POST
This admin function process a call record with a provided Call-Id.
https://cridemo1-function.azurewebsites.net/api/callRecords?code=<MASTER_KEY>
POST
["ca111dca-111d-ca11-1dca-11ca111dca11"]
application/json
Gets the health state of each component
https://cridemo1-function.azurewebsites.net/api/health?code=<MASTER_KEY>
GET
Gets the Azure subscription Id the deployment is in
https://cridemo1-function.azurewebsites.net/api/subscription/contoso.com?code=<MASTER_KEY>
GET
{
"id": "0ddba11c-a11a-b1ec-ab00-5eca55e77e1d",
"expirationDateTime": "1/20/2024 10:30:03 AM",
"tenantId": "c0ffee60-0dde-cafc-0ffe-ebadcaffe14e",
"resource": "communications/callRecords",
"changeType": "created,updated",
"notificationUrl": "EventHub:https://kvcridemo1.vault.azure.net/secrets/GraphEventHubConnectionString?tenantId=c0ffee60-0dde-cafc-0ffe-ebadcaffe14e"
}