Fetch all resources if per_page is not specified

pull/1972/head
Marek Takac 11 years ago
parent 4e42d2f8d8
commit 22cad690a8
  1. 4
      apiary.apib

@ -223,7 +223,7 @@ List all projects.
+ Parameters + Parameters
+ filter (optional, array, `filter[author_id]=1`) ... Filter. + filter (optional, array, `filter[author_id]=1`) ... Filter.
+ page = `1` (optional, integer, `324`) ... Number of page. + 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. + sort_expression (optional, string, `type,subject,priority:desc`) ... Sorting.
+ embedded (optional, string, `version,author`) ... Embedded resources to include in the response + embedded (optional, string, `version,author`) ... Embedded resources to include in the response
@ -738,7 +738,7 @@ List all work packages.
+ Parameters + Parameters
+ filter (optional, array, `filter[project_id]=1`) ... Filter. + filter (optional, array, `filter[project_id]=1`) ... Filter.
+ page = `1` (optional, integer, `324`) ... Number of page. + 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. + group_by (optional, string, `status`) ... An attribute to group records by.
+ sort_expression (optional, string, `type,subject,priority:desc`) ... Sorting. + sort_expression (optional, string, `type,subject,priority:desc`) ... Sorting.
+ embedded (optional, string, `project,author`) ... Embedded resources to include in the response. + embedded (optional, string, `project,author`) ... Embedded resources to include in the response.

Loading…
Cancel
Save