Files
services/function/examples.json
2021-10-11 11:54:53 +01:00

56 lines
1.0 KiB
JSON

{
"deploy": [
{
"title": "Deploy a function",
"request": {
"repo": "github.com/crufter/gcloud-nodejs-test",
"name": "my-first-func",
"entrypoint": "helloworld",
"project": "tests"
},
"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/crufter/gcloud-nodejs-test",
"subfolder": ""
}
]
}
}
],
"delete": [
{
"title": "Delete a function",
"request": {
"project": "tests",
"name": "my-first-func"
},
"response": {}
}
]
}