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

dataset API link for instructions on how to get a token is not working #1511

Open
aclum opened this issue Jan 14, 2025 · 2 comments
Open

dataset API link for instructions on how to get a token is not working #1511

aclum opened this issue Jan 14, 2025 · 2 comments
Labels
type: bug Something isn't working

Comments

@aclum
Copy link
Contributor

aclum commented Jan 14, 2025

Screenshot 2025-01-14 at 11 43 04 AM

I'm having trouble following the instructions to log into the dataset API. When I click on the instructions link it redirects to https://api.microbiomedata.org/user where I get

{
"detail": "Not Found"
}
@aclum aclum added the type: bug Something isn't working label Jan 14, 2025
@naglepuff
Copy link
Collaborator

Looks like the data/submission portal API docs are hosted in 2 places

The link in the swagger description looks like it is relative to the current root, so if you access the docs from api.microbiomedata.org/api/docs, it will take you to api.microbiomedata.org/user, which doesn't exist.

The solution here would be to update that link to always take you to data.microbiomedata.org/user.

A current workaround for this would be to access the data/submission portal API docs via https://data.microbiomedata.org/api/docs

@aclum
Copy link
Contributor Author

aclum commented Jan 14, 2025

I was able to use 'inspect' in the data portal to get the token I'm not blocked. This ticket is to get the link from the dataset API swagger UI to resolve correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants