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

As a user, I want to get directions whenever I arrive on an API URL #191

Closed
5 tasks
Tracked by #27
tloubrieu-jpl opened this issue Jun 9, 2022 · 4 comments
Closed
5 tasks
Tracked by #27
Assignees
Labels
B13.0 p.should-have requirement the current issue is a requirement

Comments

@tloubrieu-jpl
Copy link
Member

tloubrieu-jpl commented Jun 9, 2022

💪 Motivation

...so that I can use the API efficiently, without having to navigate into the full documentation.

📖 Additional Details

Currently:
https://pds.nasa.gov/api --> unavailable
https://pds.nasa.gov/api/search --> unavailable
https://pds.nasa.gov/api/search/1.0 --> pds home page

Proposal:
https://pds.nasa.gov/api --> https://nasa-pds.github.io/pds-api/ , create specific page which lists all the deployments
https://pds.nasa.gov/api/search/ --> https://nasa-pds.github.io/pds-api/search , create specific page which lists all the available versions for this service
https://pds.nasa.gov/api/doi/ --> migrate redirection to cloud-front + create page.
https://pds.nasa.gov/api/search/1.0 --> redoc page

  • create landing page for all APIs
  • create landing page for search API deployments
  • create landing page for DOI API deployments
  • make redirection from cloud front to Search landing pages and general API landing page
  • make redirection from apache to DOI landing pages

Future
Create a different tickets for the rebranding of the swagger pages in registry and doi.
Create a ticket for migrating redirection of DOI API to cloud-front (after everything works on Apache)

References:
look at what CMR does ?

⚖️ Acceptance Criteria

Given
When I perform
Then I expect

⚙️ Engineering Details

@tloubrieu-jpl
Copy link
Member Author

tloubrieu-jpl commented Jul 6, 2022

@jimmie I have been able to look at this ticket. For the redirections you can use:

https://pds.nasa.gov/api --> https://nasa-pds.github.io/pds-api/overview.html (this page is going to be improved with PR #201)

https://pds.nasa.gov/api/search/ --> https://pds.nasa.gov/api/search/1.0

https://pds.nasa.gov/api/doi/ --> https://pds.nasa.gov/api/doi/0.2

https://pds.nasa.gov/api/search/1.0 --> https://nasa-pds.github.io/pds-api/specifications/search-v1.0.0-redoc.html (while swagger cannot be opened)

https://pds.nasa.gov/api/doi/0.2 --> https://nasa-pds.github.io/pds-api/specifications/doi-v0.2-redoc.html (while swagger cannot be opened)

This might not be exactly what we said during the meeting but I took a pragmatic approach (with less new pages)

@jimmie
Copy link
Contributor

jimmie commented Jul 20, 2022

@tloubrieu-jpl - rules have been put in place that perform these redirects. Can you test to verify?

@tloubrieu-jpl
Copy link
Member Author

Perfect, thanks @jimmie

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B13.0 p.should-have requirement the current issue is a requirement
Projects
None yet
Development

No branches or pull requests

3 participants