Skip to content

Commit

Permalink
REST: Filter schemes to only include those with primary key.
Browse files Browse the repository at this point in the history
  • Loading branch information
kjolley committed Apr 3, 2020
1 parent ee63b5e commit ff920a9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@
# built documents.
#
# The short X.Y version.
version = '1.26.0'
version = '1.27.0'
# The full version, including alpha/beta/rc tags.
release = '1.26.0'
release = '1.27.0'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
6 changes: 5 additions & 1 deletion rest.rst
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,11 @@ GET /db/{database}/schemes - List schemes
=========================================
**Required route parameter:** database [string] - Database configuration name

**Optional parameters:** None
**Optional parameters:**

* with_pk [integer] - Set to non-zero value to only show indexed schemes, i.e.
those with a primary key field that defines each unique combination of
alleles, e.g. MLST.

**Example request URI:** http://rest.pubmlst.org/db/pubmlst_neisseria_seqdef/schemes

Expand Down

0 comments on commit ff920a9

Please sign in to comment.