Skip to content

Commit

Permalink
Bszabo/tnl 10746 omnibus (#247)
Browse files Browse the repository at this point in the history
* feat: TNL-10746 fix integrations to all be v0 versions

file_assets was inadvertently left as a v1 in the last merge

* feat: TNL-10746 cms_host -> authoring_host

for consistency with API & domain naming

---------

Co-authored-by: Bernard Szabo <bszabo@edx.org>
  • Loading branch information
bszabo and Bernard Szabo authored Nov 6, 2023
1 parent cf38327 commit 0addb73
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions swagger/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ paths:
in: "path"
x-amazon-apigateway-integration:
type: "http_proxy"
uri: "https://${stageVariables.cms_host}/api/contentstore/v0/file_assets/{proxy}"
uri: "https://${stageVariables.authoring_host}/api/contentstore/v0/file_assets/{proxy}"
httpMethod: "ANY"
requestParameters:
integration.request.path.proxy: "method.request.path.proxy"
Expand All @@ -158,7 +158,7 @@ paths:
in: "path"
x-amazon-apigateway-integration:
type: "http_proxy"
uri: "https://${stageVariables.cms_host}/api/contentstore/v0/videos/uploads/{proxy}"
uri: "https://${stageVariables.authoring_host}/api/contentstore/v0/videos/uploads/{proxy}"
httpMethod: "ANY"
requestParameters:
integration.request.path.proxy: "method.request.path.proxy"
Expand All @@ -170,7 +170,7 @@ paths:
in: "path"
x-amazon-apigateway-integration:
type: "http_proxy"
uri: "https://${stageVariables.cms_host}/api/contentstore/v0/videos/images/{proxy}"
uri: "https://${stageVariables.authoring_host}/api/contentstore/v0/videos/images/{proxy}"
httpMethod: "ANY"
requestParameters:
integration.request.path.proxy: "method.request.path.proxy"
Expand All @@ -182,7 +182,7 @@ paths:
in: "path"
x-amazon-apigateway-integration:
type: "http_proxy"
uri: "https://${stageVariables.cms_host}/api/contentstore/v0/video_transcripts/{proxy}"
uri: "https://${stageVariables.authoring_host}/api/contentstore/v0/video_transcripts/{proxy}"
httpMethod: "ANY"
requestParameters:
integration.request.path.proxy: "method.request.path.proxy"
Expand All @@ -194,7 +194,7 @@ paths:
in: "path"
x-amazon-apigateway-integration:
type: "http_proxy"
uri: "https://${stageVariables.cms_host}/api/contentstore/v0/xblock/{proxy}"
uri: "https://${stageVariables.authoring_host}/api/contentstore/v0/xblock/{proxy}"
httpMethod: "ANY"
requestParameters:
integration.request.path.proxy: "method.request.path.proxy"
Expand All @@ -217,4 +217,4 @@ x-edx-api-vendors:
- "analytics_api_host"
- "registrar_host"
- "enterprise_catalog_host"
- "cms_host"
- "authoring_host"

0 comments on commit 0addb73

Please sign in to comment.