In my thesis, I would like to create a list of abbreviations in LaTeX using glossaries or glossaries-extra where the entries do not include page numbers (nonumberlist). However, the hyperlink that would normally be attached to the page number (linking to the first occurrence of the abbreviation) should instead be attached to the short or long form in the list, so that you can jump directly from the list of abbreviations to the first use of the abbreviation (similar to how it can be done with the acronym package). Of course, all the occurrences of the abbreviation in the main document should link back to the list of abbreviations.
Here is the version with the glossaries package but without the desired hyperlink in the list of abbreviations:
\documentclass[parskip=half]{scrbook}
\usepackage[utf8]{inputenc}
\usepackage{hyperref}
\usepackage[acronym,nonumberlist,nopostdot]{glossaries}
\makeglossaries
\newacronym{api}{API}{Application Programming Interface}
\begin{document}
\printglossary[type=\acronymtype, title=List of Abbreviations]
\cleardoublepage
\chapter{Introduction}
This is the first use of \gls{api}.
This is the subsequent use of \gls{api}.
\end{document}
The behavior I want to recreate with the glossaries package can be seen here in the version with the acronym package. You can see how the hyperlinks in the list of abbreviations should look like (there should be at least one hyperlink at the short/long form in the list with linkage to the first use of the acronym):
\documentclass[parskip=half]{scrbook}
\usepackage[utf8]{inputenc}
\usepackage{hyperref}
\usepackage{acronym}
\begin{document}
\chapter*{List of Abbreviations}
\begin{acronym}[XXX]
\acro{API}{Application Programming Interface}
\end{acronym}
\cleardoublepage
\chapter{Introduction}
This is the first use of \ac{API}.
This is the subsequent use of \ac{API}.
\end{document}
Thanks a lot for your help!