mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
56 lines
1.0 KiB
JSON
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": {}
|
|
}
|
|
]
|
|
}
|