Skip to content

Commit

Permalink
Merge pull request #241 from edx/bszabo/TNL-10746-omnibus
Browse files Browse the repository at this point in the history
feat: TNL-10746 CMS API on omnibus plan
  • Loading branch information
kenclary authored Oct 31, 2023
2 parents 8a14275 + 7cb59be commit e073cc4
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 145 deletions.
56 changes: 0 additions & 56 deletions scripts/aws/deploy_studio.py

This file was deleted.

64 changes: 63 additions & 1 deletion swagger/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,68 @@ paths:
requestParameters:
integration.request.path.proxy: "method.request.path.proxy"

# Authoring Domain API (e.g. content ingestion via CMS)
"/authoring/v0/file_assets/{proxy+}":
x-amazon-apigateway-any-method:
parameters:
- name: "proxy"
in: "path"
x-amazon-apigateway-integration:
type: "http_proxy"
uri: "https://${stageVariables.cms_host}/api/contentstore/v1/file_assets/{proxy}"
httpMethod: "ANY"
requestParameters:
integration.request.path.proxy: "method.request.path.proxy"

"/authoring/v0/videos/uploads/{proxy+}":
x-amazon-apigateway-any-method:
parameters:
- name: "proxy"
in: "path"
x-amazon-apigateway-integration:
type: "http_proxy"
uri: "https://${stageVariables.cms_host}/api/contentstore/v0/videos/uploads/{proxy}"
httpMethod: "ANY"
requestParameters:
integration.request.path.proxy: "method.request.path.proxy"

"/authoring/v0/videos/images/{proxy+}":
x-amazon-apigateway-any-method:
parameters:
- name: "proxy"
in: "path"
x-amazon-apigateway-integration:
type: "http_proxy"
uri: "https://${stageVariables.cms_host}/api/contentstore/v0/videos/images/{proxy}"
httpMethod: "ANY"
requestParameters:
integration.request.path.proxy: "method.request.path.proxy"

"/authoring/v0/video_transcripts/{proxy+}":
x-amazon-apigateway-any-method:
parameters:
- name: "proxy"
in: "path"
x-amazon-apigateway-integration:
type: "http_proxy"
uri: "https://${stageVariables.cms_host}/api/contentstore/v0/video_transcripts/{proxy}"
httpMethod: "ANY"
requestParameters:
integration.request.path.proxy: "method.request.path.proxy"

"/authoring/v0/xblock/{proxy+}":
x-amazon-apigateway-any-method:
parameters:
- name: "proxy"
in: "path"
x-amazon-apigateway-integration:
type: "http_proxy"
uri: "https://${stageVariables.cms_host}/api/contentstore/v0/xblock/{proxy}"
httpMethod: "ANY"
requestParameters:
integration.request.path.proxy: "method.request.path.proxy"



# edX extension point. Lists the vendors in use and their specific
# parameters that are expected by upstream refs.
Expand All @@ -155,4 +217,4 @@ x-edx-api-vendors:
- "analytics_api_host"
- "registrar_host"
- "enterprise_catalog_host"
- "studio_host"
- "cms_host"
88 changes: 0 additions & 88 deletions swagger/studio.yaml

This file was deleted.

0 comments on commit e073cc4

Please sign in to comment.