Skip to content

Commit

Permalink
fix: total_results missing in documentation (makeplane#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
Quadrubo authored Jul 1, 2024
1 parent cb52b02 commit 60a77ae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api-reference/introduction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ The paginated response includes the following fields:
* **`prev_page_results`**: Boolean indicating if there are results before the current page.
* **`count`**: Total number of items on the current page.
* **`total_pages`**: Estimated total number of pages.
* **`total_results`**: Total number of items across all pages.
* **`extra_stats`**: Additional statistics, if any.
* **`results`**: Array of items for the current page.

Expand All @@ -159,6 +160,7 @@ GET /api/v1/workspaces/:slug/projects/:project_id/issues/?per_page=20
"prev_page_results": false,
"count": 20,
"total_pages": 50,
"total_results": 1000,
"extra_stats": {},
"results": [ ... items ... ]
}
Expand All @@ -184,6 +186,7 @@ GET /api/v1/workspaces/:slug/projects/:project_id/issues?per_page=20&cursor=20:1
"prev_page_results": true,
"count": 20,
"total_pages": 50,
"total_results": 1000,
"extra_stats": {},
"results": [ ... items ... ]
}
Expand Down

0 comments on commit 60a77ae

Please sign in to comment.