Adding a Cloud-edge Collaboration API
To add a cloud-edge collaboration API, perform the following steps:
- Enable the cloud-edge collaboration API adding function.
- Add the API.
- Define the dictionary of messages and new APIs. That is, define the mapping between messages and APIs.
- Prepare the configuration file.
- Add new capability items. Create a capability item configuration file that contains the existing OM SDK capability items and add the new API to the capability item configuration file.
- Perform compilation. Compile and package the new code.
Figure 1 Operation flowchart


Parent topic: Cloud-edge Collaboration API Development