このページは、お客様の言語ではご利用いただけません。Huawei Cloudは、より多くの言語バージョンを追加するために懸命に取り組んでいます。ご協力ありがとうございました。
- Service Overview
- User Guide
-
API Reference
- Before You Start
- Calling APIs
-
Platform APIs
-
Video Center
- Creating a Video Source
- Modifying a Video Source
- Deleting a Video Source
- Obtaining Details About a Video Source
- Obtaining Video Sources
- Creating a Video Source Group
- Deleting a Video Source Group
- Updating a Video Source Group
- Obtaining Details About a Video Source Group
- Obtaining Video Source Groups
- Task Center
- Algorithm Center
- Operation Center
-
Video Center
-
Algorithm APIs
-
Edge Service APIs
- Creating a People Flow Counting (Edge) Job
- Creating an Intrusion Detection (Edge) Job
- Creating an On-Duty Inspection (Edge) Job for Key Positions
- Creating an Abandoned Object Detection (Edge) Job
- Creating a Crowd Density Monitoring (Edge) Job
- Creating a Work Gear and Helmet Detection (Edge) Job
- Creating a Smoke and Fire Detection (Edge) Job
- Creating a Fight Detection (Edge) Job
- Creating a Shared Bicycle Detection (Edge) Job
- Creating an Individual Behavior Detection (Edge) Job
- Creating an Individual Action Detection (Edge) Job
- Creating a Mask Detection (Edge) Job
- Creating an Abnormal Parking Detection (Edge) Job
- Creating a Vehicle Detection (Edge) Job
- Creating a Fire Passage Obstruction Detection (Edge) Job
- Creating a Non-motorized Vehicle Detection (Edge) Job
- Creating a Trash Can Anomaly Detection (Edge) Job
- Creating an Overflowing Garbage Can Detection in Cities (Edge) Job
- Creating a Crowd Counting at High Altitudes (Edge) Job
- Creating a Target Attribute Recognition (Edge) Job
- Creating an E-bike Rider Helmet Detection (Edge) Job
- Creating an Umbrella Violation Detection (Edge) Job
- Creating an Advertisement Violation Detection (Edge) Job
- Creating a Messy Piles Detection (Edge) Job
- Creating a Clothes Airing Violation Detection (Edge) Job
- Creating a Littering Construction Waste Detection (Edge) Job
- Creating a Missing Manhole Cover Detection (Edge) Job
- Creating a Missing Manhole Cover Detection From a Dynamic Perspective (Edge) Job
- Creating an Urban Trash Detection (Edge) Job
- Creating an Urban Mobile Trash Detection (Edge) Job
- Creating an Urban Roadside Stall Detection (Edge) Job
- Creating an Exposed Bare Soil Detection (Edge) Job
- Creating a Wrong-Way Driving Detection (Edge) Job
- Creating a Speeding Detection at High Altitudes (Edge) Job
- Creating a Vehicle Counting at High Altitudes (Edge) Job
- Creating a Vessel Intrusion Detection (Edge) Job
- Creating a Floating Debris Detection (Edge) Job
- Creating a Drainage Outlet Monitoring (Edge) Job
- Creating a River Water Level Gauge Reading (Edge) Job
- Creating a Waterlogging Detection (Edge) Job
-
Cloud Service APIs
- Creating a People Flow Counting (Cloud) Job
- Creating an Intrusion Detection (Cloud) Job
- Creating an On-Duty Inspection (Cloud) Job for Key Positions
- Creating an Abandoned Object Detection (Cloud) Job
- Creating a Crowd Density Monitoring (Cloud) Job
- Creating a Work Gear and Helmet Detection (Cloud) Job
- Creating a Smoke and Fire Detection (Cloud) Job
- Creating a Fight Detection (Cloud) Job
- Creating a Shared Bicycle Detection (Cloud) Job
- Creating an Individual Behavior Detection (Cloud) Job
- Creating an Individual Action Detection (Cloud) Job
- Creating a Mask Detection (Cloud) Job
- Creating an Abnormal Parking Detection (Cloud) Job
- Creating a Vehicle Detection (Cloud) Job
- Creating a Fire Passage Obstruction Detection (Cloud) Job
- Creating a Non-motorized Vehicle Detection (Cloud) Job
- Creating a Trash Can Anomaly Detection (Cloud) Job
- Creating an Overflowing Garbage Can Detection in Cities (Cloud) Job
- Creating a Crowd Counting at High Altitudes (Cloud) Job
- Creating a Target Attribute Recognition (Cloud) Job
- Creating an E-bike Rider Helmet Detection (Cloud) Job
- Creating an Umbrella Violation Detection (Cloud) Job
- Creating an Advertisement Violation Detection (Cloud) Job
- Creating a Messy Piles Detection (Cloud) Job
- Creating a Clothes Airing Violation Detection (Cloud) Job
- Creating a Littering Construction Waste Detection (Cloud) Job
- Creating a Missing Manhole Cover Detection (Cloud) Job
- Creating a Missing Manhole Cover Detection From a Dynamic Perspective (Cloud) Job
- Creating an Urban Trash Detection (Cloud) Job
- Creating an Urban Mobile Trash Detection (Cloud) Job
- Creating an Urban Roadside Stall Detection (Cloud) Job
- Creating an Exposed Bare Soil Detection (Cloud) Job
- Creating a Vessel Intrusion Detection (Cloud) Job
- Creating a Floating Debris Detection (Cloud) Job
- Creating a Drainage Outlet Monitoring (Cloud) Job
- Creating a River Water Level Gauge Reading (Cloud) Job
- Creating a Waterlogging Detection (Cloud) Job
- Public APIs
-
Edge Service APIs
-
Alarm Information
- People Flow Counting
- Intrusion Detection
- Staff On-Duty Detection
- Abandoned Object Detection
- Crowd Density Monitoring
- Safety Suite Detection
- Fire and Smoke Detection
- Fight Detection
- Shared Bicycle Detection
- Individual Behavior Detection
- Individual Action Detection
- Mask Wearing Detection
- Abnormal Parking
- Vehicle Detection
- Fire Passage Obstruction Detection
- Non-motorized Vehicle Detection
- Trash Can Anomaly Detection
- Overflowing Garbage Can Detection in Cities
- Peak Crowd Counting
- Target Attribute Recognition
- E-bike Rider Helmet Detection
- Umbrella Violation Detection
- Advertisement Violation Detection
- Messy Piles Detection
- Clothes Airing Violation Detection
- Littering Construction Waste Detection
- Missing Manhole Cover Detection
- Missing Manhole Cover Detection From a Dynamic Perspective
- Urban Trash Detection
- Urban Mobile Trash Detection
- Urban Roadside Stall Detection
- Exposed Bare Soil Detection
- Wrong-Way Driving Detection
- Peak Speeding Detection
- Peak Vehicle Counting
- Vessel Intrusion Detection
- Floating Debris Detection
- Drainage Outlet Monitoring
- Water Level Gauge Reading
- Standing Water Detection
- Cyanobacteria Identification
- Common Parameters
- Appendix
- Change History
- FAQs
- General Reference
Copied.
Obtaining Video Source Groups
Function
This API is used to obtain video source groups.
URI
GET /v2/{project_id}/video-group/groups
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. For details, see Obtaining a Project ID and Name. Maximum: 64 |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
sort_name |
No |
String |
Sorting option, which is optional. The value can be create_at, modify_at, num_video_source, or num_task. Default: create_at |
order_by |
No |
String |
Sort order, which is optional. The value can be desc or asc. The default value is desc. Default: desc |
is_paged |
No |
Boolean |
Whether to display records on different pages Default: false |
page_size |
No |
Integer |
Number of records displayed on each page Minimum: 5 Maximum: 200 Default: 10 |
page_num |
No |
Integer |
Page number Minimum: 1 Maximum: 100000 Default: 1 |
name |
No |
String |
Fuzzy search parameter, which is used to search for a video source group by group name Maximum: 20 |
status |
No |
String |
Status for filtering. Options: 1, 2, and 9. |
access_type |
No |
Array |
Access type used for filtering. The options include cloud and edge. Multiple options can be selected. |
has_task |
No |
Boolean |
Whether the video source has been used in a batch task Default: false |
type |
No |
Array |
Video source type for filtering. Options: obs, vcn, url, restful, and camera |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
User token. For details about how to obtain a user token, see Authentication. |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
video_group_number |
Integer |
Number of groups |
total_number |
Integer |
Total number of video source groups |
quota_number |
Integer |
Maximum number of video source groups |
video_group_list |
Array of VideoGroupListInfoDto objects |
Group list |
Parameter |
Type |
Description |
---|---|---|
video_group_id |
String |
ID of a video source group |
video_group_name |
String |
Name of a video source group |
num_video_source |
Integer |
Number of video resources |
group_status |
GroupStatusDto object |
Status of video sources in a group |
access_type |
String |
Access type |
create_at |
Long |
Creation time |
modify_at |
Long |
Last modification time |
num_batch_task |
Integer |
Number of configured batch tasks |
type |
String |
Type of video sources in a group |
Example Requests
This request is used to obtain all video source groups under an account.
/v2/{project_id}/videoGroup/groups?is_paged=true&page_size=10&page_num=1 https://{endpoint}/v2/{project_id}/videoGroup/groups?is_paged=true&page_size=10&page_num=1
Example Responses
Status code: 200
Response body for obtaining video source groups
{ "video_group_number": 23, "total_number": 23, "quota_number": 200, "video_group_list": [ { "video_group_id": "a9334780-a53c-454e-a3c1-259c54678ec1", "video_group_name": "test000", "num_video_source": 2, "group_status": { "num_online": 2, "num_exception": 0, "num_offline": 0 }, "access_type": "cloud", "create_at": 1680773327730, "modify_at": 1680773463291, "num_batch_task": 0, "type": "restful" } }
Status Codes
Status Code |
Description |
---|---|
200 |
Response body for obtaining video source groups |
Error Codes
See Error Codes.
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