From 22cad690a8c80fa681be31b4b5a611237b0effdf Mon Sep 17 00:00:00 2001 From: Marek Takac Date: Fri, 9 May 2014 13:51:31 +0200 Subject: [PATCH] Fetch all resources if per_page is not specified --- apiary.apib | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apiary.apib b/apiary.apib index f97b2479b5..25a0200072 100644 --- a/apiary.apib +++ b/apiary.apib @@ -223,7 +223,7 @@ List all projects. + Parameters + filter (optional, array, `filter[author_id]=1`) ... Filter. + page = `1` (optional, integer, `324`) ... Number of page. - + per_page = `100` (optional, integer, `250`) ... Number of records per page. + + per_page (optional, integer, `250`) ... Number of records per page. + sort_expression (optional, string, `type,subject,priority:desc`) ... Sorting. + embedded (optional, string, `version,author`) ... Embedded resources to include in the response @@ -738,7 +738,7 @@ List all work packages. + Parameters + filter (optional, array, `filter[project_id]=1`) ... Filter. + page = `1` (optional, integer, `324`) ... Number of page. - + per_page = `100` (optional, integer, `250`) ... Number of records per page. + + per_page (optional, integer, `250`) ... Number of records per page. + group_by (optional, string, `status`) ... An attribute to group records by. + sort_expression (optional, string, `type,subject,priority:desc`) ... Sorting. + embedded (optional, string, `project,author`) ... Embedded resources to include in the response.