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

Get file(s) download url

POST
/oauth
Last modified:2024-03-15 06:50:27
Maintainer:binbin.yin
Create file(s) download url

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_get_download_url
fids[]
array[string]
required
File id array.Supports up to 20 files
Example:
["114","29"]
ip
string 
optional
IP address, Optional parameter. Supports IPv6 format.After filling in, the best download server suitable for the IP location will be selected. If not filled in, the requested IP will be used.
Example:
148.113.10.93

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_get_download_url"' \
--form 'fids[]="114"' \
--form 'fids[]="29"' \
--form 'ip="148.113.10.93"'

Responses

🟢200Success
application/json
Body
object {0}
Example
{}
Modified at 2024-03-15 06:50:27
Previous
Task query
Next
File list
Built with