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

Add a file

POST
/oauth
file uploadtaskadd
Last modified:2024-03-15 06:08:09
Maintainer:binbin.yin
We only allow submission of HTTP (s) links to add files, so you must provide a URL link.

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_add
url
string 
required
URL Link.
Example:
https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png
path
string 
required
File save path.
Example:
/test

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_add"' \
--form 'url="https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png"' \
--form 'path="/test"'

Responses

🟢200Success
application/json
Body
object {0}
Example
{}
Previous
Subscribers
Next
Task query
Built with