Func update
PUT /funcs/$name
Update a function.
Example request:
Example response:
URL parameters:
$name - The function name.
JSON parameters:
ContainerSize - the size of containers to run the function (e.g. s1, s2, s3, s4, m1, m2, m3, l1, l2, l3).
Timeout - The maximum execution duration of function call, default is 300 seconds, maximum is 86400 seconds.
Refresh - Whether to regenerate the uuid of function.
Config
Env - A list of environment variables in the form of
["VAR=value"[,"VAR2=value2"]]
Status Codes:
200 - no error
400 - bad request parameters
404 - no such function
500 - server error
Last updated