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

Provide documentation for v3 API #1761

Open
chartjes opened this issue Feb 26, 2019 · 4 comments
Open

Provide documentation for v3 API #1761

chartjes opened this issue Feb 26, 2019 · 4 comments

Comments

@chartjes
Copy link
Contributor

In order for the Ecosystem QA team to help with the testing effort, we need documentation outlining the v3 API calls so we can write contract tests for them.

@mythmon
Copy link
Contributor

mythmon commented Feb 27, 2019

Documentation exists as an OpenAPI definition at https://normandy.cdn.mozilla.net/api/docs/?format=openapi. I'm not sure of the quality of these docs right now though because the HTML view is broken.

The HTML view is broken because Swagger uses inline scripts to render that page, and our CSP policy break that. I'm working on that issue now.

bors bot added a commit that referenced this issue Feb 27, 2019
1765: Downgrade django-rest-swagger due to incompatibility with our CSP policy r=rehandalal a=mythmon

The CSP problem is being tracked in marcgibbons/django-rest-swagger#795

Refs #1761

Co-authored-by: Mike Cooper <mythmon@gmail.com>
@mythmon
Copy link
Contributor

mythmon commented Feb 28, 2019

The HTML documentation is now available at https://normandy.cdn.mozilla.net/api/docs/

This lists all the API end points on the server, (v1 and v3), but the descriptions are lacking. @chartjes is this enough for you to get started? I plan to add this to the list of documentation I'm writing, but if you need more right now I can move it up in priority.

@chartjes
Copy link
Contributor Author

chartjes commented Feb 28, 2019 via email

@shell1 shell1 added this to the Backlog milestone Aug 2, 2019
@shell1 shell1 added the P5 - Low Priority Patches welcome label Aug 2, 2019
@shell1
Copy link
Collaborator

shell1 commented Aug 2, 2019

updated link: https://normandy.cdn.mozilla.net/api/v3/swagger/ No one is reading these docs to learn how to use API - so what docs would be useful to answer questions?

more concept documentation? then can use the API docs for many needs. which questions are we repeatedly being asked? Is there an area (like a Normandy FAQ) that answers should be dumped as they are asked? To avoid custom answering each question.

story of how it works - the shape of things... buckets and CDNs, and ____. surface the docs in the repo that hook to github pages.

@shell1 shell1 removed the P5 - Low Priority Patches welcome label Aug 2, 2019
@jaredlockhart jaredlockhart removed this from the Backlog milestone Apr 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants