public function index($identifiers = null)
    {
        $parents = func_get_args();

        if ($this->failsSecurity()) {
            return $this->responseDenied();
        }

        if ($this->failsParentMatch($parents)) {
            return $this->responseNotFound();
        }

        $entities = $parents ? $this->resource->allByParent(end($parents)):$this->resource->all();

        return $this->response($entities, 200);
    }