Skip to content

Commit

Permalink
docs: Change pageSize to page_size in api-v4 documentation (#11129
Browse files Browse the repository at this point in the history
)

* change `pageSize` to `page_size`

* add changeset

---------

Co-authored-by: Banks Nussman <banks@nussman.us>
  • Loading branch information
bnussman-akamai and bnussman authored Oct 21, 2024
1 parent 8770d5b commit d0e1012
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions packages/api-v4/.changeset/pr-11129-fixed-1729536266478.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/api-v4": Fixed
---

Incorrect documentation on how to set a page size ([#11129](https://github.com/linode/manager/pull/11129))
2 changes: 1 addition & 1 deletion packages/api-v4/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ pagination and filter parameters to the API:

```js
// Return page 2 of Linodes, with a page size of 100:
getLinodes({ page: 2, pageSize: 100 });
getLinodes({ page: 2, page_size: 100 });

// Return all public Linode Images:
getImages({}, { is_public: true });
Expand Down

0 comments on commit d0e1012

Please sign in to comment.