Lines Matching refs:request
48 return $this->request($name, Request::PUT, $data);
66 $response = $this->request($name);
89 return $this->request('_all')->getData();
98 * @param bool $waitForCompletion if true, the request will not return until the snapshot operation is complete
108 return $this->request($repository.'/'.$name, Request::PUT, $options, ['wait_for_completion' => $waitForCompletion]);
127 $response = $this->request($repository.'/'.$name);
152 return $this->request($repository.'/_all')->getData();
169 return $this->request($repository.'/'.$name, Request::DELETE);
178 * @param bool $waitForCompletion if true, the request will not return until the restore operation is complete
201 * Perform a snapshot request.
205 * @param array $data request body data
214 public function request($path, $method = Request::GET, $data = [], array $query = [])
216 return $this->_client->request('_snapshot/'.$path, $method, $data, $query);