Teamcity rest api for retrieving mutes returns incorrect data when using accept json
I am calling the endpoint '/app/rest/mutes' to retrieve the list of mutes. When i set the accept header to
'Accept': 'application/xml',
I receive the correct response. However when I use:
'Accept': 'application/json',
I get back json which has the count parameter set to the correct value but only contains one mute in the list at key "mute". I have seen some inconsistency in that it will work some of the time but not other.
Please sign in to leave a comment.
Hi, sorry for the delay.
A question about the inconsistencies. In which way are they inconsistent? If you make the same request does it return the same all the time (whether correct or incorrect?), or are the results for a same request as well inconsistent? Trying to find a pattern would be helpful to figure out the core of the issue here.