Skip to content

document API endpoint for logs #30

@sammachin

Description

@sammachin

There is a new feature currently deployed to jambonz.cloud that allows you to get the logs for a specific call ID.

On the recent calls page, when you open a call detail you will see a 3rd tab for 'Logs' when the user clicks the retrieve logs button an API call is made with the callId and Account SID to get the logs for that call.

Image

We need to add this API endpoint to the api spec under Platform Management > Recent calls with something like 'Get logs for a specific call' as a title.

You should be able to see the api call thats made by the webapp using the browser tools network inspector, its something like
https://jambonz.cloud/api/v1/Accounts/[ACCOUNT SID]/RecentCalls/[CALL ID]/logs

Double check if its the callId or the CallSID thats used in the 2nd param,

The commit that added the API endpoint to the server is here jambonz/jambonz-api-server@556d5c3

Also its worth noting that this feature will only be availble when jambonz is running on AWS with cloudwatch logs, like jambonz.cloud is.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions