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...

4 comments
Comment actions Permalink

It works exactly as described for me. i.e.:
/httpAuth/app/rest/buildTypes/One_One/parameters gives:

<properties count="2" href="/app/rest/buildTypes/id:One_One/parameters">
<property name="aaaaaa" value="bbbbb" own="true">
<type rawValue="checkbox checkedValue='true' display='normal' uncheckedValue='ffff'"/>

</property>

<property name="default.branch" value="default"/>

</properties>

and

/httpAuth/app/rest/buildTypes/One_One/parameters/aaaaaa gives:
<property name="aaaaaa" value="bbbbb" own="true">
<type rawValue="checkbox checkedValue='true' display='normal' uncheckedValue='ffff'"/>

</property>

0
Comment actions Permalink

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

0
Comment actions Permalink

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.

0
Comment actions Permalink

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.

0

Please sign in to leave a comment.