Create a new serverless function in the specified namespace. The function can be configured with code, dependencies, and runtime settings.
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token.
Example: apikey 1234$abcdef
Project ID
Region ID
Namespace name
Autoscaling configuration for the function. Keys must be 'min_instances' or 'max_instances', and values must be integers between 0 and 50.
Function code text.
1 - 100000The name of the flavor associated with the function.
The main startup method name.
1 - 100Function name.
Function runtime.
Function timeout in seconds.
0 <= x <= 180Dependencies for the function to install.
100000Description of the function.
255Enable or disable API key authentication. Enable api key is temporarily disabled. As a result, using Functions with authorization is currently not supported.
true
Environment variables for the function. Keys must match a specific regex pattern and be 1-255 characters long, and values must be 0-255 characters long.
OK
List of task IDs representing asynchronous operations. Use these IDs to monitor operation progress:
GET /v1/tasks/{task_id} - Check individual task status and details
Poll task status until completion (FINISHED/ERROR) before proceeding with dependent operations.