Task #1994 (closed)
Opened 9 years ago
Closed 9 years ago
Rationalise API for PublicRepository
| Reported by: | cblackburn | Owned by: | cblackburn |
|---|---|---|---|
| Priority: | n.a. | Milestone: | OMERO-Beta4.2 |
| Component: | n.a. | Version: | n.a. |
| Keywords: | n.a. | Cc: | |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | 0.0d |
| Sprint: | 2010-03-05 (4) |
Description
The number of file listing methods in the API has multiplied several fold as functionality has been added. This is both complex and inefficient. A limited efficient interface is needed
Change History (6)
comment:1 Changed 9 years ago by cblackburn
- Status changed from new to assigned
comment:2 Changed 9 years ago by cblackburn
comment:3 Changed 9 years ago by cblackburn
- Remaining Time changed from 1 to 0.25
comment:4 Changed 9 years ago by cblackburn
r6306 adds listObjects() to the API. For a given directory this returns a dictionary/hashmap:
{ name1 : [Image, Image, ... OriginalFile], #importable (multi-)file image (with associated files)
name2 : [Image], #importable single image
name3 : [OriginalFile] #non-importable file
}
Objects with ids are registered in the db. name is currently the file name but will be unique, see #1753
comment:5 Changed 9 years ago by cblackburn
comment:6 Changed 9 years ago by cxallan
- Remaining Time changed from 0.25 to 0
- Resolution set to fixed
- Status changed from assigned to closed
(In [6306]) Added listObjects method before removing deprecated methods. Import events logged. See #1994 and #1988