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

Proton: Support additional options #1158

Merged
merged 2 commits into from
Jul 3, 2019
Merged

Proton: Support additional options #1158

merged 2 commits into from
Jul 3, 2019

Conversation

thesocialdev
Copy link
Contributor

Support format and device type parameters in the RESTBase public PDF
rendering API

Bug: T226677

Support format and device type parameters in the RESTBase public PDF
rendering API

Bug: T226677
v1/pdf.yaml Outdated
@@ -12,7 +12,7 @@ info:
name: Apache licence, v2
url: https://www.apache.org/licenses/LICENSE-2.0
paths:
/pdf/{title}:
/pdf/{title}/{format}/{type}:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We cant really do this, this is not backwards compatible so we will break all the existing clients. Both format and type should be optional, this this needs to be split into 3 separate routes. Also, need to document the defaults for the optional parameters.

… the new variations and document default options.
@Pchelolo Pchelolo merged commit 19a63b8 into wikimedia:master Jul 3, 2019
@Pchelolo Pchelolo deleted the update_proton_specs branch July 3, 2019 12:34
@d00rman d00rman added the API label Aug 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

3 participants