nimeet Docs
中文

Agora-compatible Channel Queries

Agora-compatible channel and user queries.

Generated from the public REST API definitions

Version v1.1.0 · Updated 2026-10-26 · revision 1

Group overview

Generated at build time from the public REST API definition: tag agora-channel, 8 operations (out of 189). For authentication, envelope and pagination conventions see REST API overview.

MethodPathSummary
GET/dev/v1/channel/user/property/{appid}/{uid}/{channelName}Agora: user status in a channel
GET/dev/v1/channel/user/{appid}/{channelName}Agora: list users in a channel
GET/dev/v1/channel/user/{appid}/{channelName}/hosts_onlyQuery the host list of a live channel
GET/dev/v1/channel/{appid}Agora: list channels
GET/dev/v1/kicking-ruleAgora: list kicking rules
POST/dev/v1/kicking-ruleAgora: create kicking rule
PUT/dev/v1/kicking-ruleAgora: update kicking rule
DELETE/dev/v1/kicking-ruleAgora: delete kicking rule

Operation details

GET /dev/v1/channel/user/property/{appid}/{uid}/{channelName}

Agora: user status in a channel

Authentication: project credentials (Base64 of customerId:customerSecret)

Parameters

NameLocationRequiredTypeDescription
appidpathisstringpattern ^[a-f0-9]{32}$
uidpathisinteger1..2147483647
channelNamepathisstringlength 0..128

Response

Status codesDescription / schema
200Agora: user property in a channel — object{ success, data }
401Missing/invalid credentials — Error

Example call

bash
curl -s -X GET "$NIMEET_API_BASE/dev/v1/channel/user/property/$APP_ID/10001/weekly-sync" \
  -H "Authorization: Basic $NIMEET_CUSTOMER_BASIC"

GET /dev/v1/channel/user/{appid}/{channelName}

Agora: list users in a channel

Authentication: project credentials (Base64 of customerId:customerSecret)

Parameters

NameLocationRequiredTypeDescription
appidpathisstringpattern ^[a-f0-9]{32}$
channelNamepathisstringlength 0..128
hosts_onlyqueryboolean

Response

Status codesDescription / schema
200Agora: channel user list — object{ success, data }
401Missing/invalid credentials — Error

Example call

bash
curl -s -X GET "$NIMEET_API_BASE/dev/v1/channel/user/$APP_ID/weekly-sync?hosts_only=true" \
  -H "Authorization: Basic $NIMEET_CUSTOMER_BASIC"

GET /dev/v1/channel/user/{appid}/{channelName}/hosts_only

Query the host list of a live channel

Returns the broadcasters of a live channel only; the dedicated path is equivalent to ?hosts_only=.

Authentication: project credentials (Base64 of customerId:customerSecret)

Parameters

NameLocationRequiredTypeDescription
appidpathisstringpattern ^[a-f0-9]{32}$
channelNamepathisstringlength 0..128

Response

Status codesDescription / schema
200hosts of the channel — object{ success, data }
400Invalid parameter — Error
401Missing/invalid credentials — Error
403Banned or service not enabled — Error
404Resource not found — Error
415Content-Type must be application/json — Error
429Quota exceeded — Error

Example call

bash
curl -s -X GET "$NIMEET_API_BASE/dev/v1/channel/user/$APP_ID/weekly-sync/hosts_only" \
  -H "Authorization: Basic $NIMEET_CUSTOMER_BASIC"

GET /dev/v1/channel/{appid}

Agora: list channels

Authentication: project credentials (Base64 of customerId:customerSecret)

Parameters

NameLocationRequiredTypeDescription
appidpathisstringpattern ^[a-f0-9]{32}$
page_noqueryinteger>= 0,default 0
page_sizequeryinteger1..500,default 100

Response

Status codesDescription / schema
200Agora: { success, data: { channels, total_size } } — object{ success, data }
401Missing/invalid credentials — Error

Example call

bash
curl -s -X GET "$NIMEET_API_BASE/dev/v1/channel/$APP_ID?page_no=0&page_size=100" \
  -H "Authorization: Basic $NIMEET_CUSTOMER_BASIC"

GET /dev/v1/kicking-rule

Agora: list kicking rules

Authentication: project credentials (Base64 of customerId:customerSecret)

Parameters

NameLocationRequiredTypeDescription
appidqueryisstring

Response

Status codesDescription / schema
200Agora: { status, rules } — object{ status, rules }
400Invalid parameter — Error
401Missing/invalid credentials — Error

Example call

bash
curl -s -X GET "$NIMEET_API_BASE/dev/v1/kicking-rule?appid=%24APP_ID" \
  -H "Authorization: Basic $NIMEET_CUSTOMER_BASIC"

POST /dev/v1/kicking-rule

Agora: create kicking rule

Authentication: project credentials (Base64 of customerId:customerSecret)

Request body

FieldTypeRequiredDescription
appidstringis
cnamestring
uidinteger
ipstring
timeintegerban minutes;0..1440
time_in_secondsinteger0..86430
privilegesarray<enum(join_channel | publish_audio | publish_video)>is
json
{
  "appid": "$APP_ID",
  "cname": "weekly-sync",
  "uid": 10001,
  "time": 10,
  "privileges": [
    "join_channel"
  ]
}

Response

Status codesDescription / schema
200Agora: { status: "success", id } — object{ status, id }
400Invalid parameter — Error
401Missing/invalid credentials — Error

Example call

bash
curl -s -X POST "$NIMEET_API_BASE/dev/v1/kicking-rule" \
  -H "Authorization: Basic $NIMEET_CUSTOMER_BASIC" \
  -H "Content-Type: application/json" \
  -d '{"appid":"$APP_ID","cname":"weekly-sync","uid":10001,"time":10,"privileges":["join_channel"]}'

PUT /dev/v1/kicking-rule

Agora: update kicking rule

Authentication: project credentials (Base64 of customerId:customerSecret)

Request body

FieldTypeRequiredDescription
appidstringis
idintegeris
timeinteger
time_in_secondsinteger
privilegesarray<string>
json
{
  "appid": "$APP_ID",
  "cname": "weekly-sync",
  "uid": 10001,
  "time": 10,
  "privileges": [
    "join_channel"
  ]
}

Response

Status codesDescription / schema
200Agora: { status: "success", id } — object{ status, id }
400Invalid parameter — Error
401Missing/invalid credentials — Error

Example call

bash
curl -s -X PUT "$NIMEET_API_BASE/dev/v1/kicking-rule" \
  -H "Authorization: Basic $NIMEET_CUSTOMER_BASIC" \
  -H "Content-Type: application/json" \
  -d '{"appid":"$APP_ID","cname":"weekly-sync","uid":10001,"time":10,"privileges":["join_channel"]}'

DELETE /dev/v1/kicking-rule

Agora: delete kicking rule

Authentication: project credentials (Base64 of customerId:customerSecret)

Request body

FieldTypeRequiredDescription
appidstringis
idintegeris
json
{
  "appid": "$APP_ID",
  "cname": "weekly-sync",
  "uid": 10001,
  "time": 10,
  "privileges": [
    "join_channel"
  ]
}

Response

Status codesDescription / schema
200Agora: { status: "success", id } — object{ status, id }
400Invalid parameter — Error
401Missing/invalid credentials — Error

Example call

bash
curl -s -X DELETE "$NIMEET_API_BASE/dev/v1/kicking-rule" \
  -H "Authorization: Basic $NIMEET_CUSTOMER_BASIC" \
  -H "Content-Type: application/json" \
  -d '{"appid":"$APP_ID","cname":"weekly-sync","uid":10001,"time":10,"privileges":["join_channel"]}'

Schemas used by this group

Error — object{ code, message, reason, sdkCode, details }
FieldTypeRequiredDescription
codestringisstable machine code, see errors.json
messagestringis
reasonstring
sdkCodeintegerAgora-aligned client error number
detailsobject

Generated by the documentation build pipeline · 2026-10-31 01:24:02 UTC · Documentation center v1.1.0.

Content follows the public API definitions.

ni-meet is a self-hosted RTC PaaS with a LiveKit-based media plane (Apache-2.0) and an Agora-compatible API.