Duplicate
Details
Details
Priority
Assignee
Sébastien Duthil
Sébastien DuthilReporter
Francis Chartrand
Francis ChartrandFix versions
Sprint
None
Story Points
2
Labels
Zendesk Support
Zendesk Support
Created February 22, 2024 at 3:43 PM
Updated August 28, 2024 at 6:08 PM
Resolved August 14, 2024 at 5:32 PM
Currently only administrator access can download CDR recordings. An application user is not able to download his own recordings
Expect to have new endpoint for end-user.
We must define endpoint to expose first, but here’s all existing API that can be ported
POST /cdr/recordings/media/export (expect to remove user_uuid filter)
DELETE /cdr/{cdr_id}/recordings/{recording_uuid}/media
GET /cdr/{cdr_id}/recordings/{recording_uuid}/media
DELETE /cdr/recordings/media (bulk delete)
The following routes need to be implemented
POST /users/me/cdr/recordings/media/export
Should limit users_uuid to the user doing the queryGET /users/me/exports/<export_uuid>/download
Should validate that the user is the one that created the exportGET /users/me/exports/<export_uuid>
Should validate that the user is the one that created the exportGET /users/me/cdr/<cdr_id>/recordings/<recording_uuid>/media
Should be limited to the user's CDRDELETE /users/me/cdr/<cdr_id>/recordings/<recording_uuid>/media
Should be limited to the user's CDRthat’s 5 URL that already exists that need to be replicated with a user filter and the test that are required for them.