Skip to content

Commit

Permalink
Parameters are not flattened in OAuth POST call.
Browse files Browse the repository at this point in the history
  • Loading branch information
kjolley committed Jul 23, 2019
1 parent 148f214 commit e76d114
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions rest.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1367,7 +1367,7 @@ POST /db/{database}/isolates/search - Search isolate database

You must include at least one query parameter.

Flattened parameter names in the following forms are supported:
Parameter names in the following forms are supported:

* field.{field} - key/value pairs for provenance fields. Supported field names
can be found by calling the :ref:`/fields route<db_fields>`. The fields will
Expand All @@ -1381,9 +1381,6 @@ Flattened parameter names in the following forms are supported:
their values. Supported field names can be determined by following routes
from the :ref:`/schemes route<db_schemes>`.

Parameters have to be flattened rather than using nested attributes to support
passing via OAuth.

**Example method call using curl:**
The following searches for *Neisseria* ST-11 isolates from Europe in 2015
(MLST is scheme#1 in this database). ::
Expand Down

0 comments on commit e76d114

Please sign in to comment.