Previous topic

Building Javadoc

Next topic

Web Services

This Page

Customising the default queries in your io-docs applicationΒΆ

You can have default queries defined for your iodocs application documenting the Web Services available in InterMine, see http://iodocs.apps.intermine.org

To set your mine default query for the ‘query/results’ service of your mine, add it to your web.properties configuration file, e.g.

add to your_mine/webapp/resource/web.propeties

services.defaults.query = <query model="genomic" view="Gene.secondaryIdentifier Gene.symbol Gene.primaryIdentifier Gene.organism.name" sortOrder="Gene.secondaryIdentifier ASC" ><constraint path="Gene.organism.name" op="=" value="Drosophila melanogaster" code="A" /></query>