Function
Deploy the stream publisher to the edge worker.
Deploy the stream publisher to the edge worker environment.
Note: The edge worker activation is delayed while the environment is setup. Use the get edge function information API to get the activation status of the edge worker.
post/_fabric/{fabric}/_api/function/generate/publisher
Request
- The document declares no server URL.
- Auth
- API key in header Authorization
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
fabricstring string required
The name of the fabric.
Query parameters
type'akamai'
Type of edge worker.
namestring required
Name of the edge worker.
streamWorkerNamestring required
Name of the stream worker.
streamNamestring required
Name of the stream.
environment'STAGING' | 'PRODUCTION'
The environment in which the edge worker is activated.
Response
Successfully deployed the stream publisher to the edge worker.
Example response
{
"code": 202,
"result": [
{
"message": "The edge worker will be generated and activated shortly."
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.