From f83faa21151963559ae7becbbf0efc0fa70f9912 Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Mon, 13 Nov 2023 12:20:10 +0300 Subject: Replace "limit" with "per-page" in search end-points. Signed-off-by: Munyoki Kilyungi --- api/GN3-REST-API-Implementation.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'api/GN3-REST-API-Implementation.md') 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" ``` -- cgit v1.2.3