getIdentifiersResponse() public method

Get response with only resource identifiers.
public getIdentifiersResponse ( object | array $data, integer $statusCode = self::HTTP_OK, array | null $links = null, mixed $meta = null, array $headers = [] ) : mixed
$data object | array
$statusCode integer
$links array | null
$meta mixed
$headers array
return mixed
 /**
  * @inheritdoc
  */
 public function relationship($data, array $links = [], $meta = null, $statusCode = 200, array $headers = [])
 {
     if ($data instanceof PageInterface) {
         list($data, $meta, $links) = $this->extractPage($data, $meta, $links);
     }
     return $this->responses->getIdentifiersResponse($data, $statusCode, $links, $meta, $headers);
 }