Last updated: 2019-09-02 12:18:45PDF
Select Function Template > Callback Configuration in the left sidebar in the LVB Console and click "+" to create a callback template.
Enter the callback information in the callback settings pop-up window and click Save.
The Callback key is a user-defined string of up to 32 characters consisting of uppercase and lowercase letters and numbers.
Associate the template with a domain name
After creating a callback template, you need to select the corresponding push domain name in Manage Domain and go to Configure Template to specify the callback template for the domain name.
- If you want to unbind the callback configuration from the domain name, click Edit in Configure Template, deselect the corresponding template, and click Save.
- The callback templates are managed at the domain name level in the console, and rules created by APIs cannot be canceled there for the time being. If you associated the callback configuration with a specified stream through the APIs related to callback and want to disassociate them, you need to call the callback template deletion API.