FebBox
  1. Channel
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. Channel

Get levels

POST
/oauth
channelarticlelevel
Last modified:2023-07-12 09:11:20
Maintainer:binbin.yin
Get channel author's all levels information

Request

Header Params
Authorization
string 
optional
Access Token
Default:
Bearer ccca8727aad585ae85e9f49163692f77f4e193982895dcacf37ac6bee3f2b0b081e235474cb1bd935a6fa81bb8aad0d6544d36791ef269e9c8cdaa4840e205dc
Body Params application/x-www-form-urlencoded
module
string 
required
Module name, Cannot be changed.
Example:
channel/level_list
channel_uid
integer 
required
Channel user ID.
Example:
122

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' \
--data-urlencode 'module=channel/level_list' \
--data-urlencode 'channel_uid=122'

Responses

🟢200OK
application/json
Body
code
integer 
required
msg
string 
required
server_runtime
number 
required
data
object 
required
level_list
array [object {13}] 
required
Example
{
    "code": 0,
    "msg": "string",
    "server_runtime": 0,
    "data": {
        "level_list": [
            {
                "id": 0,
                "uid": 0,
                "name": "string",
                "level": 0,
                "amount_month": "string",
                "amount_year": "string",
                "add_time": 0,
                "last_time": 0,
                "subscriber_count": 0,
                "description": "string",
                "color": "string",
                "subscribed": 0,
                "auto": 0
            }
        ]
    }
}
Previous
Edit an article
Next
Subscribers
Built with