Tag and pin with REST call using ajax.html endpoint

Hi,

 

I've been using following url to tag and pin a completed build successfully until we upgraded from 9.x to 2017.2.3 few months back. This was neat since you could do both at the same time without making separate calls to the service with separate urls specific to pinning and tagging. I'm getting a 405 or 'method not allowed' exception.

 

http://localhost:81/httpAuth/ajax.html?pin=true&buildId={1}&buildTagsInfo={2}&pinComment={3}

 

Is this ajax.html endpoint deprecated?

 

Thx

0
1 comment

This was an undocumented API (https://confluence.jetbrains.com/display/TCD18/Accessing+Server+by+HTTP?focusedCommentId=113084449#comment-113084449) and we have made progress in removing them as they can suppose a security problem. Please use the REST API for it.

0

Please sign in to leave a comment.