Conversation
|
Conflicting PR. Removed from build OMERO-DEV-merge-push#584. See the console output for more details.
|
|
Conflicting PR. Removed from build OMERO-DEV-merge-push#585. See the console output for more details.
|
bbe983c to
9f620a5
Compare
|
|
| views.ProjectsView.as_view(), | ||
| name='api_dataset_projects') | ||
| """ | ||
| GET Projects in Dataset, using omero-marshal to generate json |
| views.ScreensView.as_view(), | ||
| name='api_plate_screens') | ||
| """ | ||
| GET Screens for child Plate, using omero-marshal to generate json |
There was a problem hiding this comment.
Unify comment i.e. Screens that contain a Plate
|
Adding the Json_Api/Login.py script to the Training test suite has broken the Training test because it requires Do we want to add this to a requirements.txt somewhere, or should I remove Login.py from the Training test suite? cc @aleksandra-tarkowska @sbesson |
|
From my POV, |
| if opts is None: | ||
| opts = {} | ||
| if 'project' in opts: | ||
| query += ' join obj.projectLinks plink' |
There was a problem hiding this comment.
minor: to align with the rest of the query, you could use projectlinks instead of plink
|
Restarted travis |
|
looks good |
What this PR does
Supports filtering of Projects by Datasets and filtering of Datasets by Image.
This allows users to find the parents of a given Image or Dataset and
so browse Image -> Dataset -> Project.
Also, we now add the version number in the header of every request:
Also I've updated the example at
examples/Training/python/Json_Api/Login.pyto work with recent changes to the API.Testing this PR
/projects/?dataset=:idor via/datasets/:id/projects//datasets/?image=:idor via/images/:id/datasets//datasets/or single object at/datasets/:id/have'url: projectsto browse to parents./images/or single object at/images/:id/have'url: datasetsto browse to parents.url:plates-> Plate ->url:Screens-> Screen.X-OMERO-ApiVersion: 0.0examples/Training/python/Json_Api/Login.pyto the Training test suite, so it should be tested by ci job now.TODO:
Related reading