shlink icon indicating copy to clipboard operation
shlink copied to clipboard

Allow filtering short URLs by API key name

Open thantez opened this issue 1 year ago • 2 comments

Summary

Hi. I need to find a short url is created by which user (API key name). And it would be better if I could filter short links by API key names.

Use case

When a short link has high records, this shows the creator has a success, so I want to find the best member of our team, but currently I cannot!

thantez avatar Sep 11 '24 07:09 thantez

I want this feature too.

Today, I'm setting an extra tag to indicate what api key created that link

kimtiago avatar Sep 23 '24 14:09 kimtiago

This requires the name to be mandatory, but that will happen as part of https://github.com/shlinkio/shlink/issues/2193

acelaya avatar Oct 07 '24 12:10 acelaya

FYI, this will be limited to requests made using an admin API key (for obvious reasons). For requests made with other API keys, the API key name used for filtering will be ignored.

EDIT: I think it makes sense and would be fine to let any API key filter by "itself".

acelaya avatar Oct 21 '25 09:10 acelaya

This feature is now implemented and will be part of Shlink 4.6.0

acelaya avatar Oct 22 '25 06:10 acelaya