Skip to content

Commit b0b0969

Browse files
authored
Add missing endpoints from CF (#59)
1 parent 5f37262 commit b0b0969

File tree

1 file changed

+78
-0
lines changed

1 file changed

+78
-0
lines changed

modules/services/api-gateway-openapi-spec.tf

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,84 @@ locals {
351351
"/xact-id" = {
352352
for method in ["get", "options"] : method => local.snippet_api_json_text_method
353353
}
354+
"/test-automation" = {
355+
for method in ["options", "post"] : method => local.snippet_api_json_text_method
356+
}
357+
"/brainstore/version" = {
358+
for method in ["get", "options"] : method => local.snippet_api_json_text_method
359+
}
360+
"/brainstore/status" = {
361+
for method in ["get", "options"] : method => local.snippet_api_json_text_method
362+
}
363+
"/brainstore/backfill/status/active" = {
364+
for method in ["get", "options"] : method => local.snippet_api_json_text_method
365+
}
366+
"/brainstore/backfill/status/failed" = {
367+
for method in ["get", "options"] : method => local.snippet_api_json_text_method
368+
}
369+
"/brainstore/vacuum/status" = {
370+
for method in ["options", "post"] : method => local.snippet_api_json_text_method
371+
}
372+
"/brainstore/vacuum/reset_state" = {
373+
for method in ["options", "post"] : method => local.snippet_api_json_text_method
374+
}
375+
"/brainstore/vacuum/object/{object_id}" = {
376+
for method in ["options", "post"] : method => merge(local.snippet_api_json_text_method, {
377+
parameters = [
378+
{
379+
name = "object_id"
380+
in = "path"
381+
required = true
382+
type = "string"
383+
}
384+
]
385+
})
386+
}
387+
"/automation/flush-cache" = {
388+
for method in ["options", "post"] : method => local.snippet_api_json_text_method
389+
}
390+
"/automation/cloud-identity" = {
391+
for method in ["get", "options"] : method => local.snippet_api_json_text_method
392+
}
393+
"/automation/cron" = {
394+
for method in ["options", "post"] : method => local.snippet_api_json_text_method
395+
}
396+
"/automation/cron/{id}/status" = {
397+
for method in ["get", "options"] : method => merge(local.snippet_api_json_text_method, {
398+
parameters = [
399+
{
400+
name = "id"
401+
in = "path"
402+
required = true
403+
type = "string"
404+
}
405+
]
406+
})
407+
}
408+
"/automation/cron/{id}/run" = {
409+
for method in ["options", "post"] : method => merge(local.snippet_api_json_text_method, {
410+
parameters = [
411+
{
412+
name = "id"
413+
in = "path"
414+
required = true
415+
type = "string"
416+
}
417+
]
418+
})
419+
}
420+
"/automation/cron/{id}/reset" = {
421+
for method in ["options", "post"] : method => merge(local.snippet_api_json_text_method, {
422+
parameters = [
423+
{
424+
name = "id"
425+
in = "path"
426+
required = true
427+
type = "string"
428+
}
429+
]
430+
})
431+
}
354432
}
355433

356434
x-amazon-apigateway-binary-media-types = [

0 commit comments

Comments
 (0)