Updated on 2025-08-15 GMT+08:00
Getting Started
Application Scenario
You can create a custom event source based on service requirements.
For details on how to call APIs, see Calling APIs.
Prerequisites
- IAM endpoint obtained from Regions and Endpoints.
- EG endpoint obtained from Regions and Endpoints.
Creating an Event Source
- Create a custom channel by calling the event channel creation API.
POST https://{endpoint}/v1/{project_id}/channels { "name" : "channel", "description" : "first channel" }- name: custom channel name.
- description: description of a custom channel.
- Create a custom event source by calling the event source creation API.
POST https://{endpoint}/v1/{project_id}/sources { "name" : "first-source", "description" : "first event source", "channal_id" : "bd14144e-8f3c-43d6-bdfd-bf09b52c2b96" }- name: custom event source name.
- description: description of a custom event source.
- channal_id: Obtain the channel ID from the response of 1.
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.