Authorizations
API key for authentication. Make sure to include the word apikey
, followed by a single space and then your token.
Example: apikey 1234$abcdef
Path Parameters
Project ID
1
Region ID
1
Namespace name
"namespace-name"
Function name
"function-name"
Response
OK
Autoscaling configuration for the function. Keys must be 'min_instances
' or 'max_instances
', and values must be integers between 0 and 50.
Function build message.
"Building"
Function build status.
"Building"
Function code text.
1 - 100000
"def main():\n return 'Hello World'"
Function creation date.
"2023-08-22T11:21:00Z"
Dependencies for the function to install.
100000
"numpy==1.21.0\npandas==1.3.0"
Function deploy status.
{ "deployed": 1 }
Description of the function.
255
"This is a sample function."
Function endpoint.
"https://example.com/function-name"
The name of the flavor associated with the function.
"64m-64MB"
Function ID.
"c8a920ad-b5a4-47d5-b8b9-0e6c35cd800f"
The main startup method name.
1 - 100
"run"
Function name.
"function-name"
Function runtime.
"python3.7.12"
Function status.
"Running"
Function timeout in seconds.
0 <= x <= 180
5
Enable or disable API key authentication.
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.
{ "ENV_VAR": "value" }