API Overview
The following tables list the SparkRTC APIs. Before calling a SparkRTC API, you need to obtain a user token, which can then be used to authenticate the calling of other APIs. For details about how to call a SparkRTC API, see Example 1: Creating a Single Stream Recording Job.
Application Management APIs
API |
Description |
---|---|
POST /v2/apps |
|
GET /v2/apps |
|
GET /v2/apps/{app_id} |
|
DELETE /v2/apps/{app_id} |
|
POST /v2/apps/{app_id}/enable |
|
POST /v2/apps/{app_id}/disable |
Recording Template Management APIs
API |
Description |
---|---|
POST /v2/apps/{app_id}/record-rules |
|
GET /v2/apps/{app_id}/record-rules |
|
GET /v2/apps/{app_id}/record-rules/{rule_id} |
|
PUT /v2/apps/{app_id}/record-rules/{rule_id} |
|
DELETE /v2/apps/{app_id}/record-rules/{rule_id} |
Automatic Recording Configuration APIs
API |
Description |
---|---|
PUT /v2/apps/{app_id}/auto-record-mode |
|
GET /v2/apps/{app_id}/auto-record-mode |
Application Callback Management APIs
API |
Description |
---|---|
PUT /v2/apps/{app_id}/record-callback |
|
GET /v2/apps/{app_id}/record-callback |
Mixed Stream Recording Job Management APIs
API |
Description |
---|---|
POST /v2/apps/{app_id}/mix-stream-jobs |
|
GET /v2/apps/{app_id}/mix-stream-jobs/{job_id} |
|
PUT /v2/apps/{app_id}/mix-stream-jobs/{job_id} |
|
DELETE /v2/apps/{app_id}/mix-stream-jobs/{job_id} |
Single Stream Recording Job Management APIs
API |
Description |
---|---|
POST /v2/apps/{app_id}/individual-stream-jobs |
|
GET /v2/apps/{app_id}/individual-stream-jobs/{job_id} |
|
DELETE /v2/apps/{app_id}/individual-stream-jobs/{job_id} |
|
PUT /v2/apps/{app_id}/individual-stream-jobs/{job_id} |
Room Management
API |
Description |
---|---|
POST /v2/apps/{app_id}/rooms/{room_id}/batch-remove-users |
|
POST /v2/apps/{app_id}/rooms/{room_id}/dismiss |
Statistical Analysis APIs
API |
Description |
---|---|
GET /v1/{project_id}/rtc/rooms |
|
GET /v1/{project_id}/rtc/users |
|
GET /v1/{project_id}/rtc/realtime/scale |
|
GET /v1/{project_id}/rtc/realtime/scale/dimension |
|
GET /v1/{project_id}/rtc/realtime/quality |
|
GET /v1/{project_id}/rtc/realtime/network |
|
GET /v1/{project_id}/rtc/history/usage |
|
GET /v1/{project_id}/rtc/history/scale |
|
GET /v1/{project_id}/rtc/history/quality |
|
GET /v1/{project_id}/rtc/client/qos/details |
|
GET /v1/rtc/data/abnormal-event |
|
GET /v1/rtc/data/abnormal-event/dimension |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot