Get started
  • English
  • 简体中文
Official Site
Get started
  • English
  • 简体中文
Official Site
  • Get started
  • Concepts
  • Guides
  • Device capabilities & events
  • API reference
    • Public conventions
    • Development specification
    • accessToken: Get administrator token
    • API request example
    • Return codes
    • Interface call limits
    • Account docking
    • Device APIs
    • Device live broadcast
    • Push configuration
    • Cloud storage service
    • Resource pool quota
      • createResourcePool: Create a resource pool
      • getResourcePool: Get resource pool details
      • listResourcePoolByPage: List resource pools
      • modifyResourcePool: Modify a resource pool
      • removeResourcePool: Remove a resource pool
      • bindSubAccountToResourcePool: Bind sub-account to pool
      • bindDeviceToResourcePool: Bind device channel to pool
      • unbindSubAccountFromResourcePool: Unbind sub-account from pool
      • unbindDeviceFromResourcePool: Unbind device channel from pool
      • listSubAccountResourcePoolConfigByPage: List sub-accounts in pools
      • listDeviceResourcePoolConfigByPage: List device channels in pools
      • getSubAccountResourcePoolConfig: Get pools for sub-account
      • getDeviceResourcePoolConfig: Get pools for device channel
      • queryOauthUserQuota: Query OAuth user flow quota
      • saveOauthUserQuota: Set OAuth user flow quota
    • Legacy APIs (deprecated)
  • SDK and tools
  • Solutions
  • Platform and support
On this page
Notes
Methods

Resource pool quota

Resource pool quota

This module covers two areas:

  1. Resource pools (01–13) — Cap cumulative playback traffic for sub-accounts or device channels (Open SDK, light apps, HLS/FLV/RTMP). Concept: Resource pool quota. Guide: Configure flow resource pools. Pool limits may surface as FL1008 / FL1009 on playback.
  2. OAuth (14–15) — Set or read a calendar-month Media Flow cap (GB) for OAuth 2.0 end users with Ot_ tokens; not the same as binding subjects into a pool. Concept: OAuth end-user flow quota.

Notes

  • Methods 01–13 require a developer administrator accessToken (At_ prefix).
  • queryOauthUserQuota and saveOauthUserQuota require the end user's OAuth access token (Ot_ prefix) from oauthTokenV2; they apply to OAuth 2.0 flow limits, not sub-account or device-channel pools.
  • An invalid or foreign resourcePoolKey may return a permission or auth-related code; see Return codes.
  • Account-level bandwidth and API daily limits: Interface call limits.

Methods

#MethodDescription
1createResourcePool: Create a resource poolSee method page
2getResourcePool: Get resource pool detailsSee method page
3listResourcePoolByPage: List resource poolsSee method page
4modifyResourcePool: Modify a resource poolSee method page
5removeResourcePool: Remove a resource poolSee method page
6bindSubAccountToResourcePool: Bind sub-account to poolSee method page
7bindDeviceToResourcePool: Bind device channel to poolSee method page
8unbindSubAccountFromResourcePool: Unbind sub-account from poolSee method page
9unbindDeviceFromResourcePool: Unbind device channel from poolSee method page
10listSubAccountResourcePoolConfigByPage: List sub-accounts in poolsSee method page
11listDeviceResourcePoolConfigByPage: List device channels in poolsSee method page
12getSubAccountResourcePoolConfig: Get pools for sub-accountSee method page
13getDeviceResourcePoolConfig: Get pools for device channelSee method page
14queryOauthUserQuota: Query OAuth user flow quotaOAuth end-user monthly cap (GB)
15saveOauthUserQuota: Set OAuth user flow quotaSet OAuth end-user monthly cap (GB)