Skip to content

Get all links for a domain #2178

Answered by acelaya
gagegogan asked this question in Help wanted
Discussion options

You must be logged in to vote

Technically speaking, you can get them by passing the domain name to the searchTerm query parameter (the documentation here https://api-spec.shlink.io/#/Short%20URLs/listShortUrls is outdated and doesn't mention it. I need to fix that), although it's possible you get some extra results if using that domain as tag, custom slug, title, etc. (unlikely, but not impossible).

A couple years ago I considered adding an explicit filter for domain, but ended up closing it as it was more or less possible to do as described above.

I may reopen it, as it seems like a useful thing to have regardless.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by acelaya
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants