Tracking of API requests

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
plaum.s
Posts: 2
Joined: Fri Nov 17, 2017 11:31 am

Tracking of API requests

Post by plaum.s »

We are planning to integrate phpMyFAQ by using the json-api. I am curious if it is possible to enable tracking of FAQ-visits by using the api.
Goal is to have the popular item being updated. So far it seems that the internal 'visited-counter' for an FAQ entry is just incremented by using the full frontend - not the api.

Any thoughts on this?

Sascha
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Tracking of API requests

Post by Thorsten »

Hi,

right, we don't track that. Would be really a nice addition for 2.10. But I think it should be tracked separately from the normal view?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
plaum.s
Posts: 2
Joined: Fri Nov 17, 2017 11:31 am

Re: Tracking of API requests

Post by plaum.s »

For my use case there would be no need to track the views independend (normal view vs. api) but I am aware that this might be a requirement for others.
Post Reply