Work on hosted files and archives.

This commit is contained in:
Scott Idem
2022-08-10 17:33:46 -04:00
parent 8d502a9fd0
commit 95becf7643
4 changed files with 65 additions and 61 deletions

View File

@@ -88,14 +88,14 @@ async def get_archive_content_obj_li(
for_obj_type=for_obj_type,
for_obj_id=for_obj_id,
by_alias=True,
exclude_unset=True,
exclude_unset=False,
)
return result
@router.get('/{obj_id}', response_model=Resp_Body_Base)
async def get_archive_content_obj(
obj_id: str = Query(..., min_length=1, max_length=22),
obj_id: str = Query(..., min_length=11, max_length=22),
x_account_id: str = Header(...),
by_alias: Optional[bool] = True,
exclude_unset: Optional[bool] = True,