We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1cac1a8 commit a832b2bCopy full SHA for a832b2b
1 file changed
routers/history_calls.py
@@ -29,6 +29,20 @@ async def calls_history_uniqueid(
29
return await connector_database.get_cdr_uniqueid_or_linkedid(uniqueid)
30
31
32
+@router.get("/api/calls/hisroty/uniqueid_or_linkedid")
33
+async def calls_history_uniqueid_or_linkedid(
34
+ req: Request,
35
+ uniqueid: Id,
36
+):
37
+ log.info("HISTORY UNIQUEID OR LINKEDID")
38
+
39
+ connector_database: PostgresqlStrategy | MysqlStrategy | SqliteStrategy = (
40
+ req.app.state.connector_database
41
+ )
42
43
+ return await connector_database.get_cdr_uniqueid_or_linkedid(uniqueid)
44
45
46
@router.get("/api/calls/hisroty/")
47
async def calls_history(req: Request, start_date: AwareDatetime, end_date: AwareDatetime):
48
"""
0 commit comments