Skip to content

Commit 700f37c

Browse files
authored
Add segment -> object ID endpoint path (#68)
1 parent e830fec commit 700f37c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,18 @@ locals {
124124
"/brainstore/backfill/track" = {
125125
for method in ["options", "post"] : method => local.snippet_api_json_text_method
126126
}
127+
"/brainstore/segment/{segment_id}/object_id" = {
128+
for method in ["get", "options"] : method => merge(local.snippet_api_json_text_method, {
129+
parameters = [
130+
{
131+
name = "segment_id"
132+
in = "path"
133+
required = true
134+
type = "string"
135+
}
136+
]
137+
})
138+
}
127139
"/broadcast-key" = {
128140
for method in ["get", "options", "post"] : method => local.snippet_api_json_text_method
129141
}

0 commit comments

Comments
 (0)