developing of the new database schema for the faq_ tables; editing of the existing API to match the modifications

developing of the new database schema for the faq_ tables; editing of the existing API to match the modifications
That API just add like to a response not to a question. I have no idea
about likes related to questions.

2014-11-10 17:34 GMT-05:00 Jemuel Young <notifications@github.com>:

> In expert_operations.php:
>
> > +    );
> > +
> > +	$app->response->headers->set('Content-Type', 'application/json');
> > +	$app->response->write(json_encode($recentQuestions));
> > +});
> > +
> > +/**
> > + * A function that will accept a like to to a specific response. (Ruben)
> > + *
> > + * @param int $e_id id of the expert, e.g. 5023.
> > + * @param int $r_id id of the response of another expert, e.g. 633491.
> > + *
> > + * @return none
> > + */
> > +
> > +$app->get('/add_like_response/:e_id/:r_id', function($e_id, $r_id) use ($app) {
>
> Are we going to have a function that gets the most liked questions?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/innls/Blue-Economics/pull/51/files#r20118945>.
>