Hallo.
ich möchte mir alle mentions per API anzeigen lassen. Oder nur für einen Benutzer.
aktuelle Zammad Version. lokal installiert.
Die Anzeige von Tickets geht Problemlos (/api/v1/tickets/)
Hello.
I would like to display all mentions via API. Or just for one user.
current Zammad version
Displaying tickets is problem-free (/api/v1/tickets/)
Versuch 1
curl --location ‘https://ticket.XXXXXXX.de/api/v1/mentions’
Ergebis:
{
“error”: “Authentication required”,
“error_human”: “Authentication required”
}
Versuch 2
curl --location ‘https://ticket.XXXXXXX.de/api/v1/mentions’ --header ‘Authorization: Token token=9-WwtTjpI99Gddciyd761H8ZIPkUNZE9tNLODh9pbw5DsXXXXXXXXX’
Ergebnis:
{
“error”: “The parameter ‘mentionable_type’ is invalid.”,
“error_human”: “The parameter ‘mentionable_type’ is invalid.”
}
Versuch 3
curl --location ‘https://ticket.XXXXXXX.de/api/v1/mentions?mentionable_type=Ticket’ --header ‘Authorization: Token token=9-WwtTjpI99Gddciyd761H8ZIPkUNZE9tNLODh9pbw5DsXXXXXXXXX’
Ergebnis:
{
“error”: “Not authorized”,
“error_human”: “Not authorized”
}