REST API in 8.1.1 declared features are missing?
I'm trying to test build triggering commands in 8.1.1 (the very reason I upgraded my server for) but getting 'Not Found' response.
I also tried to read build parameters, and according to the help file, I was expecting details of the typed parameters ("The information returned is: parameters count, property name, value, and type. The rawValue of the typeelement is the parameter specification as defined in the UI.")
but if I call:
http://myserver/httpAuth/app/rest/buildTypes/mybuild/parameters/myparameter
It only returns the parameter value.
Am I doing something wrong or there is a problem with the 8.1.1 version? I've upgrade the server 2 days ago especially for these additions, but had to deal with all the other bugs introduced in this version (see my message about missing powershell runner) and now I don't even get the new feature I wanted...
Please sign in to leave a comment.
It works exactly as described for me. i.e.:
/httpAuth/app/rest/buildTypes/One_One/parameters gives:
</property>
<property name="default.branch" value="default"/>
</properties>
and
/httpAuth/app/rest/buildTypes/One_One/parameters/aaaaaa gives:
</property>
Hi Sergey,
Several parts were missing or not working properly after the upgrade (I had another topic about powershell open earlier), finally I reinstalled everything and now both rest api and powershell runner are working as expected. I guess the problem was with the upgrade process, although when I did it, everything went through without any reported problems...
Zurab
There have been several powershell issues in 8.1, but they were fixed in 8.1.1. You can also search http://youtrack.jetbrains.com/issues/TW for issues that are related to yours to see whether they are fixed or not.
Thanks Sergey,
My powershell problems were 'simpler' - it was completely missing after the upgrade :)
http://devnet.jetbrains.com/thread/453307?tstart=0
As I said, after the second reinstall everything came back.