public function getStoryAction(Request $request, $databox_id, $record_id)
    {
        try {
            $story = $this->findDataboxById($databox_id)->get_record($record_id);

            return Result::create($request, ['story' => $this->listStory($request, $story)])->createResponse();
        } catch (NotFoundHttpException $e) {
            return Result::createError($request, 404, $this->app->trans('Story Not Found'))->createResponse();
        } catch (\Exception $e) {
            return $this->getBadRequestAction($request, $this->app->trans('An error occurred'));
        }
    }
public function getStoryAction(Request $request, $databox_id, $record_id)
    {
        try {
            $story = $this->findDataboxById($databox_id)->get_record($record_id);

            return Result::create($request, ['story' => $this->listStory($request, $story)])->createResponse();
        } catch (NotFoundHttpException $e) {
            return Result::createError($request, 404, $this->app->trans('Story Not Found'))->createResponse();
        } catch (\Exception $e) {
            return $this->getBadRequestAction($request, $this->app->trans('An error occurred'));
        }
    }
public function getStoryAction ( Request $ request , $ databox_id , $ record_id ) { try { $ story = $ this -> findDataboxById ( $ databox_id ) -> get_record ( $ record_id ) ; return Result :: create ( $ request , [ 'story' => $ this -> listStory ( $ request , $ story ) ] ) -> createResponse ( ) ; } catch ( NotFoundHttpException $ e ) { return Result :: createError ( $ request , 404 , $ this -> app -> trans ( 'Story Not Found' ) ) -> createResponse ( ) ; } catch ( \ Exception $ e ) { return $ this -> getBadRequestAction ( $ request , $ this -> app -> trans ( 'An error occurred' ) ) ; } }
Return detailed information about one story

@param  Request $request
@param  int     $databox_id
@param  int     $record_id

@return Response
Return detailed information about one story