Compute
compute
Operations that call cloud functions
invokeNimbusCloudFn
Code samples
import requests
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
r = requests.post('http://localhost:8080/api/v1/cloudfn', headers = headers)
print(r.json())
POST /cloudfn
Invokes a cloud function
Body parameter
{
"functionName": "string",
"moduleName": "string",
"argumentValues": {
"property1": "string",
"property2": "string"
},
"argumentTypes": {
"property1": "string",
"property2": "string"
},
"returnType": "string"
}
Parameters
Name
In
Type
Required
Description
body
body
InvokeCloudFnRequestBody
false
Invokes a cloud function
Example responses
200 Response
{
"result": {}
}
Responses
Status
Meaning
Description
Schema
This operation does not require authentication
Last updated