Files
services/function/examples.json
2021-10-12 10:35:40 +01:00

58 lines
1.1 KiB
JSON

{
"deploy": [
{
"title": "Deploy a function",
"request": {
"repo": "github.com/m3o/nodejs-function-example",
"name": "my-first-func",
"entrypoint": "helloworld",
"project": "tests",
"runtime": "nodejs14"
},
"response": {}
}
],
"call": [
{
"title": "Call a function",
"request": {
"name": "my-first-func",
"request": {}
},
"response": {
"response": {
"message": "Hello World!"
}
}
}
],
"list": [
{
"title": "List functions",
"request": {},
"response": {
"functions": [
{
"project": "a",
"name": "test4",
"entrypoint": "helloworld",
"repo": "github.com/m3o/nodejs-function-example",
"subfolder": "",
"runtime": "nodejs14"
}
]
}
}
],
"delete": [
{
"title": "Delete a function",
"request": {
"project": "tests",
"name": "my-first-func"
},
"response": {}
}
]
}