Hi guys,
I'm working on a Python script at work to help automate part of our weekly release process. Specifically, I need to be able to clone a repo on the server (which Kiln documatation refers to as a "Branch"), e.g. take branch_1_2_2 and clone it to create branch_1_2_4.
The version of Kiln that we self-host is 1.2.138. We also run FogBugz 7.3.1.
The only API calls I could get to work are these:
1) Get the token:
(http://fogbugz.stackexchange.com/questions/900/how-do-i-get-an-api-token)
https://[yourfogbugz]/api.asp?cmd=logon&email=[youremail]&password=[yourpassword]
2) Get a list of repos in JSON form:
(http://kiln.stackexchange.com/questions/110/is-there-an-api-for-getting-a-list-of-the-repos/181#181)
"https://" + server + "/kiln/Api/Repos/?token=" + token
These two things work fine. I get a nice JSON object with details about all our repos.
However, I cannot get anything else in the documented API to work!:
https://developers.fogbugz.com/default.asp?W166
When I try to create a new repo, for example, I end up with an HTML response saying that Kiln can't find the page I'm looking for. It's like it's not even expecting an API call.
I created an on-demand account to try and see if it's just something weird with our self-hosted config causing the API not to work, but I found that I actually can't get anything to work when hitting the on-demand account.
Any help would be very much appreciated.
Thanks!! Jamie