Skip to content

Commit

Permalink
Update user_account_operations.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
r350178982 committed Jan 13, 2025
1 parent 4c6ac7d commit 3ec0688
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions api/user_account_operations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3113,6 +3113,28 @@ paths:
"next_start_commit": false
}

/api2/repos/{repo_id}/file/revision/:
get:
tags:
- File history
summary: Download file from a revision
description: Return to the link to download the file
security:
- AccountTokenAuth: []
parameters:
- $ref: '#/components/parameters/repo_id'
- $ref: '#/components/parameters/p'
- $ref: '#/components/parameters/commit_id_query'
responses:
'200':
description: OK
content:
application/json:
schema:
type: string
description: Download file link
example: "https://cloud.seafile.com/seafhttp/files/c7764c20-bcef-42fe-ab7c-e37a4f0bd246/1.docx"

/api/v2.1/repos/{repo_id}/file/:
post:
tags:
Expand Down Expand Up @@ -3250,28 +3272,6 @@ paths:
example: {"success":true,"commit_id":"20c1faf15e4da61e446503704245c3b84e62f627"}


/api2/repos/{repo_id}/file/revision/:
get:
tags:
- File history
summary: Download file from a revision
description: Return to the link to download the file
security:
- AccountTokenAuth: []
parameters:
- $ref: '#/components/parameters/repo_id'
- $ref: '#/components/parameters/p'
- $ref: '#/components/parameters/commit_id_query'
responses:
'200':
description: OK
content:
application/json:
schema:
type: string
description: Download file link
example: "https://cloud.seafile.com/seafhttp/files/c7764c20-bcef-42fe-ab7c-e37a4f0bd246/1.docx"

/api2/search/:
get:
tags:
Expand Down

0 comments on commit 3ec0688

Please sign in to comment.