diff options
author | Munyoki Kilyungi | 2023-11-13 12:20:10 +0300 |
---|---|---|
committer | Munyoki Kilyungi | 2023-11-13 12:20:10 +0300 |
commit | f83faa21151963559ae7becbbf0efc0fa70f9912 (patch) | |
tree | 002235c87e94d73376f17ab4a0dd0633d07436b6 /api/GN3-REST-API-Implementation.md | |
parent | e6eba01be7146eff888093dc9784c09e9299c346 (diff) | |
download | gn-docs-f83faa21151963559ae7becbbf0efc0fa70f9912.tar.gz |
Replace "limit" with "per-page" in search end-points.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'api/GN3-REST-API-Implementation.md')
-rw-r--r-- | api/GN3-REST-API-Implementation.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/api/GN3-REST-API-Implementation.md b/api/GN3-REST-API-Implementation.md index 2fff6ed..4a0d6f2 100644 --- a/api/GN3-REST-API-Implementation.md +++ b/api/GN3-REST-API-Implementation.md @@ -312,7 +312,7 @@ Search datasets based of it's title. *Parameters:* page(default=0), per-page(default=10) ``` -curl "https://cd.genenetwork.org/api3/metadata/datasets/search/BXD?page=2&limit=3" +curl "https://cd.genenetwork.org/api3/metadata/datasets/search/BXD?page=2&per-page=3" ``` Example Result: @@ -374,7 +374,7 @@ Search datasets based of it's title. *Parameters:* page(default=0), per-page(default=10) ``` -curl "https://cd.genenetwork.org/api3/metadata/datasets/search/BXD?page=2&limit=3" +curl "https://cd.genenetwork.org/api3/metadata/datasets/search/BXD?page=2&per-page=3" ``` Example Result: @@ -516,7 +516,7 @@ Example Result: Search publications using :term. ``` -curl "https://cd.genenetwork.org/api3/metadata/publications/search/BXD?page=0&limit=3" +curl "https://cd.genenetwork.org/api3/metadata/publications/search/BXD?page=0&per-page=3" ``` |