feat(chalice): changed unprocessed endpoints
This commit is contained in:
parent
223d3ea751
commit
843969f2ea
1 changed files with 2 additions and 6 deletions
|
|
@ -284,9 +284,7 @@ def get_live_session(projectId: int, sessionId: str, background_tasks: Backgroun
|
|||
return {'data': data}
|
||||
|
||||
|
||||
@app.get('/{projectId}/unprocessed/{sessionId}', tags=["assist"],
|
||||
dependencies=[OR_scope(Permissions.assist_live, Permissions.session_replay)])
|
||||
@app.get('/{projectId}/assist/sessions/{sessionId}/replay', tags=["assist"],
|
||||
@app.get('/{projectId}/assist/sessions/{sessionId}/dom.mob', tags=["assist"],
|
||||
dependencies=[OR_scope(Permissions.assist_live, Permissions.session_replay)])
|
||||
def get_live_session_replay_file(projectId: int, sessionId: Union[int, str],
|
||||
context: schemas.CurrentContext = Depends(OR_context)):
|
||||
|
|
@ -307,9 +305,7 @@ def get_live_session_replay_file(projectId: int, sessionId: Union[int, str],
|
|||
return FileResponse(path=path, media_type="application/octet-stream")
|
||||
|
||||
|
||||
@app.get('/{projectId}/unprocessed/{sessionId}/devtools', tags=["assist"],
|
||||
dependencies=[OR_scope(Permissions.assist_live, Permissions.session_replay, Permissions.dev_tools)])
|
||||
@app.get('/{projectId}/assist/sessions/{sessionId}/devtools', tags=["assist"],
|
||||
@app.get('/{projectId}/assist/sessions/{sessionId}/devtools.mob', tags=["assist"],
|
||||
dependencies=[OR_scope(Permissions.assist_live, Permissions.session_replay, Permissions.dev_tools)])
|
||||
def get_live_session_devtools_file(projectId: int, sessionId: Union[int, str],
|
||||
context: schemas.CurrentContext = Depends(OR_context)):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue