Created
November 20, 2023 16:06
-
-
Save sntran/d8b7c72b70e5a76d6218e22bc894b4cb to your computer and use it in GitHub Desktop.
Revisions
-
sntran revised this gist
Nov 20, 2023 . 1 changed file with 6 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,6 @@ GET https://www.fshare.vn/api/v3/files?path=%2F ``` { "items": [{ "id": string, @@ -48,13 +49,14 @@ GET https://www.fshare.vn/api/v3/files?path=%2F "path": string }] } ``` --- POST https://www.fshare.vn/api/v3/files/upload-session Authorization: Bearer token Cookie: fpt_uuid=%22dd716b68-e90f-4071-8d3e-3d5897070fd8%22; ajs_group_id=%22null%22; _ftitfsi=3136383335373539; _fsgaid=16835759; PHPSESSID=f9p2o8s5oekn2vruhat6ufm774; fshare-app=v8j7edp9fd97ucrfgkkvg5aeaq; `{ "path": string, "name": string, "size": number, secure: boolean }` { "location": string } @@ -70,10 +72,12 @@ GET https://www.fshare.vn/api/v3/files/folder?linkcode=${code}&sort=type%2Cname& POST https://www.fshare.vn/api/v3/follows/new-file-noti Authorization: Bearer token ``` { "parent_folder": File, "file_change":["ID1O5D7KYV9D"] } ``` --- -
sntran created this gist
Nov 20, 2023 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,92 @@ GET https://www.fshare.vn/api/v3/files?path=%2F { "items": [{ "id": string, "linkcode": string, "secure" "1|0", "public": "1|0", "copied": "0|1", "shared": "0|1", "directlink": "0", "type" "0|1", "path": string, "hash_index": string, "pid": null|string, "size": string, "mimetype": null|string, "downloadcount": string, "description": string, "created": null, "lastdownload": null, "pwd": null, "modified": null, "storage_id": null, "folder_path": null, "realname": null, "crc32": null }], "images": [], "page": -1, "parent": null, "allTagShow": [{ "id": number, "name": string, "name_en": string, "color": string, "status": "1|0" }], "allTagShowLimit": [{ "id": number, "name": string, "name_en": string, "color": string, "status": "1|0" }], "path": [{ "name": string, "path": string }] } --- POST https://www.fshare.vn/api/v3/files/upload-session Authorization: Bearer token Cookie: fpt_uuid=%22dd716b68-e90f-4071-8d3e-3d5897070fd8%22; ajs_group_id=%22null%22; _ftitfsi=3136383335373539; _fsgaid=16835759; PHPSESSID=f9p2o8s5oekn2vruhat6ufm774; fshare-app=v8j7edp9fd97ucrfgkkvg5aeaq; { "path": string, "name": string, "size": number, secure: boolean } { "location": string } POST https://up.fshare.vn/upload/:id Content-Length: 20000000 Content-Range bytes 0-19999999/6636662117 --- GET https://www.fshare.vn/api/v3/files/folder?linkcode=${code}&sort=type%2Cname&page=${page}&per-page=50 --- POST https://www.fshare.vn/api/v3/follows/new-file-noti Authorization: Bearer token { "parent_folder": File, "file_change":["ID1O5D7KYV9D"] } --- GET https://www.fshare.vn/api/v3/notifications/get?limit=100 --- GET https://www.fshare.vn/api/v3/files/list-uploader?event-id=10-2023&order=asc&offset=0&limit=10 --- GET https://www.fshare.vn/api/v3/multiclouds/all-acc --- GET https://www.fshare.vn/api/v3/files/manage-tag