README.md edited online with Bitbucket

This commit is contained in:
djoumbou 2014-07-10 04:01:56 +00:00
parent 47bb44caa5
commit 1c92eb5279
1 changed files with 7 additions and 7 deletions

View File

@ -24,7 +24,7 @@
# **Endpoints** # # **Endpoints** #
> ##1. Entity## > ##1. Entity##
> > >
> >Chemical compounds are represented by the Entity model, through which one can access the compound's structure-based classification. > >Chemical compounds are represented by the Entity model, through which one can access the compound's structure-based classification.
> > > >
> >###GET### > >###GET###
@ -39,15 +39,15 @@
> ##2. Query## > ##2. Query##
> >The Query model represents a list of chemical structures to be classified. Its attributes are the query label and the query input. >
> >The Query model represents the chemical structure to be classified. Its attributes are the query label and the query input.
> >*The query label is an identifier > >*The query label is an identifier
> >* The query input contains a list of structures represented in the [Daylight SMILES](http://www.daylight.com/dayhtml/doc/theory/theory.smiles.html) or the [InChI](http://www.iupac.org/home/publications/e-resources/inchi.html) format. Each line contains a structure representation preceded by a compound identifier(optionally), if available. > >* The query input contains the compound's identifier (optional) and its structural representation, separated by a comma. The chemical structure is represented either in the [Daylight SMILES](http://www.daylight.com/dayhtml/doc/theory/theory.smiles.html) or the [InChI](http://www.iupac.org/home/publications/e-resources/inchi.html) format.
> >
> >###POST### > >###POST###
> >A query can be submitted using the POST method as demonstrated in the following example. > >A query can be submitted using the POST method as demonstrated in the following example.
> > > > > >curl -d "query[label]=curl_test&query[query_input]=ID1,C(=O)O&submit=Submit query" http://classyfire.wishartlab.com/queries/
> >
> >###GET### > >###GET###
> > The classification results can be retrieved via a GET method. > > The classification results can be retrieved via a GET method.