Skip to content

Commit

Permalink
Merge pull request #6 from david-treblig/master
Browse files Browse the repository at this point in the history
Fixing some inconsistencies with Issuu's api
  • Loading branch information
lasselehtinen authored Oct 14, 2020
2 parents f72a3b0 + eff579b commit 3d6e18e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Bookmarks.php
Original file line number Diff line number Diff line change
@@ -46,7 +46,7 @@ public function add(string $documentUsername, string $name, int $page = 1, strin
* @param string $folderId Folder containing bookmarks to be listed
* @param string $resultOrder "asc" or "desc". Default value is "asc"
* @param integer $startIndex Zero based index to start pagination
* @param integer $pageIndex Maximum number of documents to be returned. Value must be between 0 - 30. Default is 10.
* @param integer $pageSize Maximum number of documents to be returned. Value must be between 0 - 30. Default is 10.
* @param string $bookmarkSortBy Response parameter to sort the result by. Sorting can only be done on a single parameter. Default is no particular sort order.
* @param string $responseParams Comma-separated list of Response parameter to be returned. If no value is submitted all parameters will be returned
* @return stdClass
@@ -55,16 +55,16 @@ public function list(
string $folderId = null,
string $resultOrder = 'asc',
int $startIndex = 0,
int $pageIndex = 10,
int $bookmarkSortBy = null,
int $pageSize = 10,
string $bookmarkSortBy = null,
int $responseParams = null
): stdClass {
$query = [
'action' => 'issuu.bookmarks.list',
'folderId' => $folderId,
'resultOrder' => $resultOrder,
'startIndex' => $startIndex,
'pageIndex' => $pageIndex,
'pageSize' => $pageSize,
'bookmarkSortBy' => $bookmarkSortBy,
'responseParams' => $responseParams,
];

0 comments on commit 3d6e18e

Please sign in to comment.