Api get roi#5960
Conversation
mtbc
left a comment
There was a problem hiding this comment.
https://ci.openmicroscopy.org/job/OMERO-DEV-merge-integration-Python27/lastCompletedBuild/testReport/OmeroWeb.test.integration.test_api_rois/TestContainers/ looks good and manual testing gives me the expected ROIs as JSON.
|
@will-moore : can you say anything to how you see this endpoint possibly evolving? i.e. will more be added and if so will it break the API? |
|
@will-moore ping in case you missed the question? |
|
Sorry - This was just a small missing feature I wanted to add. It doesn't break any of the existing API. I'm not planning to add anything more just now. Of course, there's a lot of places where we could expand on the JSON api, e.g. #5315, #5487, annotations, shapes, search, rendering settings, updates & deletes etc |
|
Assuming all the simple get/delete endpoints match, then 👍 merging. |
What this PR does
This adds support for GET and DELETE of a single ROI at
/api/v0/m/rois/{ID}/I found this missing functionality to be useful in recent iviewer work on ROIs.
Testing this PR
/api/v0/m/rois/{ID}/with an ROI ID and you should get ROI JSON with shapes loaded