Skip to main content

apis for windows file-server

Project description

File Service

POST 文件列表

POST /file/list

Body 请求参数

{
  "path": "/3ludd/2022/02/12",
  "page": 0,
  "page_size": 2
}

请求参数

名称 位置 类型 必选 说明
body body object none
» path body string none
» page body integer 从0开始
» page_size body integer none

返回示例

200 Response

{
    "path": "/",
    "data": [{"file_path": "/", "file_name": "test.txt", "size": 123, "is_file": True}, ... ]
}

GET 通过 文件地址 下载文件

GET /file/download:path

请求参数

名称 位置 类型 必选 说明
file_path query string none
file_name query string none

返回示例

200 Response

PUT 上传文件

PUT /file/upload

Body 请求参数

file: ""
file_path: ""
file_name: 123.pdf

请求参数

名称 位置 类型 必选 说明
body body object none
» file body string(binary) none
» file_path body string none
» file_name body string none

返回示例

200 Response

{}

返回结果

状态码 状态码含义 说明 数据模型
200 OK none Inline

返回数据结构

数据模型

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mino_file_server-0.2.4.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mino_file_server-0.2.4-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file mino_file_server-0.2.4.tar.gz.

File metadata

  • Download URL: mino_file_server-0.2.4.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.19.1 CPython/3.11.7 Windows/10

File hashes

Hashes for mino_file_server-0.2.4.tar.gz
Algorithm Hash digest
SHA256 700c32b02b0982982e58399cbcad8d4c19838cbccb77516fe0a03f517a0638e5
MD5 9657c347ed1b40941bcbd0693ca47686
BLAKE2b-256 2bb8ae1549c685f894a8f29a949d2efb3652be2c6281947f8ca246ae2b772e86

See more details on using hashes here.

File details

Details for the file mino_file_server-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: mino_file_server-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.19.1 CPython/3.11.7 Windows/10

File hashes

Hashes for mino_file_server-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 25d71b3589fc06a1b3b41247aff708eeec5f795ad4098acbe065af2c2c1e6dbf
MD5 1fc08821812a5fe387ffa6b3e5666145
BLAKE2b-256 cf89651a0bcdc8b84b71afd46ce59876e7326fa5e4f2e3cff4547ef8223681b5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page