Cloud Foundry API /v2/service_instances

Weiss Christian


I have created a service broker with tags in the catalog. If a application binds the service I can see the tags in the vcap_services. Now I want to retrieve all service instances with a specific tag. However I was not able to find a appropiate CF API. Using /v2/service_instances
allows to query the instances but does not allows tags as query parameter.
If use this api to retrieve a instance of my service then the tags are even empty. ( "tags": []).
What would be the appropiate way to get a list of service instances with a specific tag?

Best regards, Christian