chore: rename get to retrieve for archive docs (#6095)
This commit is contained in:
@@ -215,9 +215,9 @@
|
||||
"/v1/archives/{archive_id}": {
|
||||
"get": {
|
||||
"tags": ["archives"],
|
||||
"summary": "Get Archive By Id",
|
||||
"summary": "Retrieve Archive",
|
||||
"description": "Get a single archive by its ID.",
|
||||
"operationId": "get_archive_by_id",
|
||||
"operationId": "retrieve_archive",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "archive_id",
|
||||
|
||||
@@ -115,8 +115,8 @@ async def list_archives(
|
||||
return archives
|
||||
|
||||
|
||||
@router.get("/{archive_id}", response_model=PydanticArchive, operation_id="get_archive_by_id")
|
||||
async def get_archive_by_id(
|
||||
@router.get("/{archive_id}", response_model=PydanticArchive, operation_id="retrieve_archive")
|
||||
async def retrieve_archive(
|
||||
archive_id: ArchiveId,
|
||||
server: "SyncServer" = Depends(get_letta_server),
|
||||
headers: HeaderParams = Depends(get_headers),
|
||||
|
||||
Reference in New Issue
Block a user