-
Notifications
You must be signed in to change notification settings - Fork 8
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
BioSamples response as per receipt format #44
Conversation
hey @dipayan1985, thanks a lot! I was testing out the API using docker compose, and tried submitting a ISA JSON through the swagger page. Depending on which ISA JSON I use, I get another error.
I was wondering which ISA JSON you used to test it? |
Hi @bedroesb wondering if you passed the webinJwt? |
yes @dipayan1985 I did! using |
I managed to get it working using the right token generated by: https://wwwdev.ebi.ac.uk/ena/submit/webin/auth/swagger-ui/index.html#/AuthenticationAPI/getToken , giving {
"targetRepository" : "biosamples",
"accessions" : [ {
"id" : "SAMEA131351359"
}, {
"id" : "SAMEA131351360"
} ]
} But notice that normally the accession object contains the path of the ISA JSON, and not only the accession, see our repository api document. |
@Pedram-A-Keyvani Is it ok if I merge this PR? |
Sure! |
No description provided.