mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
* app deployment * add source to deployment * support without https prefix * add image * minor comment * fix deploy * further fixes * fix the error output * add account name * set limits * fix error handling * fix app handler * fix unmarshalling * remove http2 * set status * fix bug * . * add ability to specify branch * . * . * add better error handling * add app limit * add function limit * update app readme * log status error * update app to use the store * remove double e limit * switch to created/updated * update app handler * 5 bucks * 10 bucks * unique deployments * fix the sid * unique name handling * allow running where reservation expired * check for reservations * update readme * fix update check * update proto comment * add resolve endpoint * ship with domain * fix url * create unprivileged service account * add service account to update * . * . * update comment * . * update public api json
144 lines
3.0 KiB
JSON
144 lines
3.0 KiB
JSON
{
|
|
"reserve": [
|
|
{
|
|
"title": "Reserve App Name",
|
|
"run_check": false,
|
|
"request": {
|
|
"name": "helloworld"
|
|
},
|
|
"response": {
|
|
"reservation": {
|
|
"name": "helloworld",
|
|
"owner": "3143bf6a-ced5-4589-b9b3-bb87cc476301",
|
|
"token": "a990be106204d103df461bb3a3075aefedda5z10",
|
|
"created": "2021-11-26T10:41:59.851107343Z",
|
|
"expires": "2022-11-26T10:41:59.851107422Z"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"list": [
|
|
{
|
|
"title": "List the apps",
|
|
"run_check": false,
|
|
"request": {},
|
|
"response": {
|
|
"services": [{
|
|
"id": "helloworld",
|
|
"name": "helloworld",
|
|
"repo": "github.com/asim/helloworld",
|
|
"branch": "master",
|
|
"region": "europe-west1",
|
|
"port": 8080,
|
|
"status": "Running",
|
|
"url": "https://helloworld.m3o.app",
|
|
"created": "2021-12-15T09:48:50.864124234Z",
|
|
"updated": "2021-12-15T09:50:13.722008Z",
|
|
"env_vars": {},
|
|
"custom_domains": []
|
|
}]
|
|
}
|
|
}
|
|
],
|
|
"run": [
|
|
{
|
|
"title": "Run an app",
|
|
"run_check": false,
|
|
"request": {
|
|
"name": "helloworld",
|
|
"repo": "github.com/asim/helloworld",
|
|
"branch": "master",
|
|
"port": 8080,
|
|
"region": "eu-west-1"
|
|
},
|
|
"response": {
|
|
"service": {
|
|
"id": "helloworld",
|
|
"name": "helloworld",
|
|
"repo": "github.com/asim/helloworld",
|
|
"branch": "master",
|
|
"region": "europe-west1",
|
|
"port": 8080,
|
|
"status": "Deploying",
|
|
"url": "https://helloworld.m3o.app",
|
|
"created": "2021-12-15T09:48:50.864124234Z",
|
|
"updated": "",
|
|
"env_vars": {},
|
|
"custom_domains": []
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"regions": [
|
|
{
|
|
"title": "List regions",
|
|
"run_check": false,
|
|
"request": {},
|
|
"response": {
|
|
"regions": [
|
|
"europe-west1",
|
|
"us-east1",
|
|
"us-west1"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"status": [
|
|
{
|
|
"title": "Get the status of an app",
|
|
"run_check": false,
|
|
"request": {
|
|
"name": "helloworld"
|
|
},
|
|
"response": {
|
|
"service": {
|
|
"id": "helloworld",
|
|
"name": "helloworld",
|
|
"repo": "github.com/asim/helloworld",
|
|
"branch": "master",
|
|
"region": "europe-west1",
|
|
"port": 8080,
|
|
"status": "Deploying",
|
|
"url": "https://helloworld.m3o.app",
|
|
"created": "2021-12-15T09:48:50.864124234Z",
|
|
"updated": "",
|
|
"env_vars": {},
|
|
"custom_domains": []
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"resolve": [
|
|
{
|
|
"title": "Resolve app by id",
|
|
"run_check": false,
|
|
"request": {
|
|
"id": "helloworld"
|
|
},
|
|
"response": {
|
|
"url": "https://helloworld-jn5gitv2pa-ew.a.run.app"
|
|
}
|
|
}
|
|
],
|
|
"update": [
|
|
{
|
|
"title": "Update an app",
|
|
"run_check": false,
|
|
"request": {
|
|
"name": "helloworld"
|
|
},
|
|
"response": {}
|
|
}
|
|
],
|
|
"delete": [
|
|
{
|
|
"title": "Delete an app",
|
|
"run_check": false,
|
|
"request": {
|
|
"name": "helloworld"
|
|
},
|
|
"response": {}
|
|
}
|
|
]
|
|
}
|