FebBox
  1. File
FebBox
  • Platform Introduction
    • FebBox Creator Channel Payment Policy
    • FebBox Open Platform Traffic Distribution Module
  • Authentication
    • web api authorize document
    • Get token
      POST
  • Channel
    • Publish article
      POST
    • Delete a ariticle
      POST
    • Upload an article image
      POST
    • Edit an article
      POST
    • Get levels
      POST
    • Subscribers
      POST
  • File
    • Add a file
      POST
    • Task query
      POST
    • Get file(s) download url
      POST
    • File list
      POST
    • Create a directory
      POST
    • File rename
      POST
    • File(s) delete
      POST
    • File(s) copy
      POST
    • File(s) move
      POST
  • Message
    • Send a message
      POST
    • Message conversation list
      POST
    • Mark all messages as read
      POST
    • Get a list of messages in the conversation
      POST
    • Delete a message conversation
      POST
    • Check if there are any new unread messages
      POST
  1. File

File list

POST
/oauth
Last modified:2024-03-15 06:57:29
Maintainer:binbin.yin
Get a list of files in the directory.

Request

Header Params
Authorization
string 
optional
Access Token
Default:
Bearer ccca8727aad585ae85e9f49163692f77f4e193982895dcacf37ac6bee3f2b0b081e235474cb1bd935a6fa81bb8aad0d6544d36791ef269e9c8cdaa4840e205dc
Body Params multipart/form-data
module
string 
required
Module name, Cannot be changed.
Example:
file_list
parent_id
integer 
required
The fid of the upper directory. If you want to create it in the root directory, enter 0.
Example:
0
page
integer 
required
Number of pages.
Example:
1
pagelimit
integer 
required
Number of files per page.
Example:
20
order
string 
required
Sorting type,Support the following sorting types:
size_asc, size_desc, name_asc, name_desc, update_asc, update_desc, ext_asc, ext_desc.
Example:
update_desc

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.febbox.com/oauth' \
--header 'Authorization: Bearer ccca8727aad585ae85e9f49163692f77f4e193982895dcacf37ac6bee3f2b0b081e235474cb1bd935a6fa81bb8aad0d6544d36791ef269e9c8cdaa4840e205dc' \
--form 'module="file_list"' \
--form 'parent_id="0"' \
--form 'page="1"' \
--form 'pagelimit="20"' \
--form 'order="update_desc"'

Responses

🟢200Success
application/json
Body
object {0}
Example
{}
Modified at 2024-03-15 06:57:29
Previous
Get file(s) download url
Next
Create a directory
Built with