<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Christian,<div><br></div><div> How are you planning to implement your REST API?</div><div>Using the existing Django web framework?</div><div><br></div><div>We have been discussing the development of a "complete" json OMERO API</div><div>using Django, but haven't had the time to focus on it yet (or in the near future)</div><div>since it is not a small task to "do it right".</div><div><br></div><div><div>But we would be happy to help you as much as we can to avoid</div><div>duplication of effort.</div></div><div>It would be particularly useful if you could make your code available (E.g. github)</div><div>so we can understand what you're working on.</div><div><br></div><div>You already know about the web gateway, but there is also some work in this</div><div>direction in <a href="https://github.com/openmicroscopy/openmicroscopy/blob/develop/components/tools/OmeroWeb/omeroweb/webclient/tree.py">https://github.com/openmicroscopy/openmicroscopy/blob/develop/components/tools/OmeroWeb/omeroweb/webclient/tree.py</a></div><div>where we are using queryService projections. This is faster for getting data from the DB into json data since it avoids creating</div><div>omero.model Objects etc.</div><div>We're currently using this to populate the jsTree in web client.</div><div><br></div><div>You say you want to "append planes to existing images". I don't know if we mentioned</div><div>this before but it is not currently possible to add planes to an existing image</div><div>since the pixel data of an image is immutable once it's been created.</div><div>However, you could create a series of single-plane images then combine them into</div><div>a new multi-plane image in one shot.</div><div><br></div><div> Cheers,</div><div><br></div><div>   Will.</div><div><br></div><div><br></div><div><br></div><div><div><div>On 3 Feb 2015, at 10:31, Christian Carsten Sachs <<a href="mailto:c.sachs@fz-juelich.de">c.sachs@fz-juelich.de</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hello Ola,<br><br>thank you for your responses.<br>But when the image data comes from the camera, it is raw and does not<br>have any container (eg TIFF) OMERO could import, so the normal ways<br>won't work. My use case is rather non-standard ...<br>I think I will continue with the approach I had thought off, as to me it<br>appears to fit my project's overall needs best ...<br>[An API approach appears necessary, either directly or decoupled via an<br>REST API, because among other things, I want to append planes to<br>existing images, as mentioned in an earlier post of mine (which needs<br>modifications to OMERO aswell.)]<br><br>Regards,<br>Christian<br><br>On 02/03/2015 11:20 AM, Aleksandra Tarkowska (Staff) wrote:<br><blockquote type="cite">Dear Christian,<br><br><br><br><br><blockquote type="cite">Instead did you try Command Line Importer or DropBox? We had few questions<br>in the past asking about the code, allowing import, see one of them<br><a href="http://lists.openmicroscopy.org.uk/pipermail/ome-devel/2014-September/0029">http://lists.openmicroscopy.org.uk/pipermail/ome-devel/2014-September/0029</a><br>8<br>2.html<br>There are many options like target Dataset, etc.<br></blockquote><br>Link to the test file in above post is available under<br><a href="https://github.com/openmicroscopy/openmicroscopy/blob/dev_5_0/components/to">https://github.com/openmicroscopy/openmicroscopy/blob/dev_5_0/components/to</a><br>ols/OmeroPy/test/integration/library.py<br><br><br><br>Kind regards<br>Ola<br><br><br>The University of Dundee is a registered Scottish Charity, No: SC015096<br>_______________________________________________<br>ome-devel mailing list<br>ome-devel@lists.openmicroscopy.org.uk<br>http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-devel<br><br></blockquote><br><br>------------------------------------------------------------------------------------------------<br>------------------------------------------------------------------------------------------------<br>Forschungszentrum Juelich GmbH<br>52425 Juelich<br>Sitz der Gesellschaft: Juelich<br>Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498<br>Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher<br>Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),<br>Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,<br>Prof. Dr. Sebastian M. Schmidt<br>------------------------------------------------------------------------------------------------<br>------------------------------------------------------------------------------------------------<br><br>_______________________________________________<br>ome-devel mailing list<br><a href="mailto:ome-devel@lists.openmicroscopy.org.uk">ome-devel@lists.openmicroscopy.org.uk</a><br>http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-devel<br></blockquote></div><br></div></body></html>