API endpoint to list all tags

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
KT_
Posts: 38
Joined: Tue Nov 21, 2017 5:28 pm

API endpoint to list all tags

Post by KT_ »

At one point there was an API endpoint to list all tags, similarly to the "All Categories" endpoint that currently exists.

Is this no longer available?

(I've looked through the dispatching code and can't see anything, and with a bit of lower-level fiddling I couldn't get something suitable to work, so I've left it for now.)
Thorsten
Posts: 15758
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: API endpoint to list all tags

Post by Thorsten »

Hi,

here all API endpoint definitions: https://api-docs.phpmyfaq.de/

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
KT_
Posts: 38
Joined: Tue Nov 21, 2017 5:28 pm

Re: API endpoint to list all tags

Post by KT_ »

I misspoke, sorry. Not an API endpoint: a URL path, similar to "/show_categories.html" so that an "All Tags" button will display the list of all available tags, similarly to the way that "All Categories" will show the list of available categories.

I had something like that in a previous (v3.x) iteration but had to remove it as I couldn't find a way to replicate it in v4.
Thorsten
Posts: 15758
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: API endpoint to list all tags

Post by Thorsten »

Hi,

we had a tag cloud some versions ago as far as I remember. It was on the startpage. Do you want it back?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
KT_
Posts: 38
Joined: Tue Nov 21, 2017 5:28 pm

Re: API endpoint to list all tags

Post by KT_ »

In a perfect world, it would be helpful. In my experience, giving users as many possible starting points for the answer(s) they're looking for always helps.

(That said, I wouldn't want to distract from important work on 4.1 itself. If I ever have the time, I can look into whether I could code it myself, but that may not happen in the near future.)
KT_
Posts: 38
Joined: Tue Nov 21, 2017 5:28 pm

Re: API endpoint to list all tags

Post by KT_ »

(Also, unless I'm totally misremembering, it was just an alphabetical(?) listing of all tags. So really from a user's point of view, looking for help with "X", it functioned more like an index than anything.)
Thorsten
Posts: 15758
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: API endpoint to list all tags

Post by Thorsten »

Hi,

there was never an alphabetical listing in the frontend, but in the admin backend. For glossary items we implemented a list, but this is still present in the 4.x versions.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply