Skip to content

Create a WS returning all the templates #2427

@danielabutano

Description

@danielabutano

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
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions