How to get tags details?

Hi all,

In my document I have added mixin type i.e. taggable i.e. tags and when I hit below url

" http://localhost:8080/cms/ws/rest/api/_query?language=xpath&statement/jcr:root/content//element(*,xapp:customtag) /@xapp:title /@hippostd:tags [
@hippostd:state=‘unpublished’ ]order by @hippostdpubwf:lastModificationDate descending"

“QueryResource” is getting called and tags data is not coming in response, I can print “hippostd:tags” as a column same I want it’s values i.e. tag1, tag2, tag3…etc.

@machak and @jasper.floor if you can help, would be appreciated!.