Skip to content

Instantly share code, notes, and snippets.

@sntran
Created November 20, 2023 16:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sntran/d8b7c72b70e5a76d6218e22bc894b4cb to your computer and use it in GitHub Desktop.
Save sntran/d8b7c72b70e5a76d6218e22bc894b4cb to your computer and use it in GitHub Desktop.
Fshare API v3

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment