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

Create a WS returning all the templates #2427

Closed
danielabutano opened this issue Apr 11, 2022 · 0 comments
Closed

Create a WS returning all the templates #2427

danielabutano opened this issue Apr 11, 2022 · 0 comments
Assignees

Comments

@danielabutano
Copy link
Member

danielabutano commented Apr 11, 2022

The WS can be execute only by super users.
/service/alltemplates
Implement only GET HTTP method
If the user is not a super user it returns status code 401.
The result is grouped by usernames.
Example:
{
"templates": {
"daniela@test.org": {
"All_Proteins_In_Organism_To_Publications": {},
"Chromosomes": {},
"Gene_Protein": {}
},
"r1@test.org": {},
"r2@test.org": {},
"test@intermine.org": {
"t1": {},
"t2": {}
}
},
"executionTime": "2022.04.11 17:00::54",
"wasSuccessful": true,
"error": null,
"statusCode": 200
}

danielabutano pushed a commit to danielabutano/intermine that referenced this issue Apr 11, 2022
danielabutano pushed a commit to danielabutano/intermine that referenced this issue Apr 12, 2022
danielabutano pushed a commit to danielabutano/intermine that referenced this issue Apr 19, 2022
@danielabutano danielabutano self-assigned this Apr 22, 2022
@danielabutano danielabutano added this to the InterMine 5.0.7 milestone Apr 22, 2022
@danielabutano danielabutano added this to InterMine 5.0.7 (pombemine & bitfount) in Roadmap & release planning Apr 22, 2022
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

1 participant