Deploy a Function to the Edge
Management of Functions at the edge is done via API requests. See for more information.
To deploy a Function to the edge, a POST request needs to be made as follows:
POST /support/faas/functionsWith a minimum request body:
{
"name": "<edge-function-name-as-built-on-the-cloud>"
}
This will deploy the Function that was built on the cloud side.
Optionally, environment values can be set and topics for the telemetry triggers (see
section ):
{
"name": "<edge-function-name-as-built-on-the-cloud>",
"env_vars": {
"var_1": "value_1"
},
"topics": [
"things/<thing-uid>/properties"
]
}