Task #9678 (new)
Opened 12 years ago
Last modified 8 years ago
Repository API mapping for OMERO.web webgateway — at Version 1
Reported by: | cxallan | Owned by: | cxallan |
---|---|---|---|
Priority: | critical | Milestone: | 5.x |
Component: | Web | Version: | n.a. |
Keywords: | n.a. | Cc: | web-team@…, fs@… |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | 2012-10-23 (1) |
Description (last modified by cxallan)
The repositories API needs to be mapped to a JSON GET/POST REST API for use with OMERO.web via webgateway.
URL mappings should be as follows (assuming repositories = gateway.sharedResources().repositories()):
- /webgateway/repositories/ --> repositories.descriptions
- /webgateway/repositories/<index> --> repositories.descriptions[index]
- /webgateway/repositories/<index>/<method> --> repositories.proxies[index].<method>() restricted to:
- list()
- listFiles()
- root()
- /webgateway/repositories/<index>/download/<path>/<to>/<file> --> repositories.proxies[index].file("<path>/<to>/<file>")...
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.