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)));