Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lang variants for PCS content #1174

Merged
merged 2 commits into from
Jul 29, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions v1/pcs/media-list.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ paths:
options:
redirect_cache_control: '{{options.response_cache_control}}'
- path: lib/security_response_header_filter.js
- path: lib/language_variants_filter.js
get: &media_list_title_get_spec
tags:
- Page content
Expand Down
1 change: 1 addition & 0 deletions v1/pcs/media.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ paths:
method: get
headers:
cache-control: '{{cache-control}}'
accept-language: '{{accept-language}}'
uri: '{{options.host}}/{domain}/v1/page/media/{title}'
return:
status: 200
Expand Down
1 change: 1 addition & 0 deletions v1/pcs/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ paths:
options:
redirect_cache_control: '{{options.response_cache_control}}'
- path: lib/security_response_header_filter.js
- path: lib/language_variants_filter.js
get: &metadata_title_get_spec
tags:
- Page content
Expand Down
1 change: 1 addition & 0 deletions v1/pcs/mobile-html.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ paths:
- path: lib/security_response_header_filter.js
options:
mobile_html: true
- path: lib/language_variants_filter.js
get: &mobile-html_title_revision_get_spec
tags:
- Page content
Expand Down
1 change: 1 addition & 0 deletions v1/pcs/references.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ paths:
options:
redirect_cache_control: '{{options.response_cache_control}}'
- path: lib/security_response_header_filter.js
- path: lib/language_variants_filter.js
get: &references_title_get_spec
tags:
- Page content
Expand Down