From e8b21664c1c097f29b1ef95f1bb5784743c647bd Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Fri, 5 Sep 2025 18:26:08 +0200 Subject: [PATCH] #7713 --- src/Client.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/Client.php b/src/Client.php index 0ea9285..627ac37 100644 --- a/src/Client.php +++ b/src/Client.php @@ -73,6 +73,16 @@ class Client return $this->_request('post', 'fluidbook-publication/' . $id . '/download/' . $version . '/' . $action); } + public function setFluidbooksInCollection($id, $publications) + { + return $this->_request('post', 'fluidbook-collection/' . $id . '/setpublications', ['form_params' => ['publications' => $publications]]); + } + + public function collectionRefreshSearchIndex($id) + { + return $this->_request('get', 'fluidbook-collection/' . $id . '/refreshsearchindex'); + } + protected function _request($method, $uri, $options = []) { return json_decode(self::getResponseContents($this->getClient()->request($method, $uri, $options))); -- 2.39.5