From 5e8e7555748efd1866a0e7589e5109fb357950ef Mon Sep 17 00:00:00 2001 From: Anass Bouassaba Date: Thu, 19 Sep 2024 12:35:38 +0200 Subject: [PATCH] fix(misc): delete many --- api/docs/index.html | 4 ++-- api/docs/swagger.yaml | 15 ++++++++++++--- api/router/file_router.go | 2 +- api/service/file_service.go | 5 ++++- ui/src/client/api/file.ts | 7 ++++++- 5 files changed, 25 insertions(+), 8 deletions(-) diff --git a/api/docs/index.html b/api/docs/index.html index 2274a481a..aa252d1a5 100644 --- a/api/docs/index.html +++ b/api/docs/index.html @@ -383,7 +383,7 @@ " class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv">

OK

Request samples

Content type
application/json
{
  • "ids": [
    ]
}

Response samples

Content type
application/json
[
  • "string"
]

Get by Path

Request samples

Content type
application/json
{
  • "ids": [
    ]
}

Response samples

Content type
application/json
{
  • "failed": [
    ],
  • "succeeded": [
    ]
}

Get by Path

Get by Path

path Parameters
id
required
string

ID

@@ -1379,7 +1379,7 @@ " class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv">

Internal Server Error

Request samples

Content type
application/json
{
  • "name": "string"
}

Response samples

Content type
application/json
{
  • "createTime": "string",
  • "id": "string",
  • "image": "string",
  • "name": "string",
  • "organization": {
    },
  • "permission": "string",
  • "rootId": "string",
  • "storageCapacity": 0,
  • "updateTime": "string"
}