1

1

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

flag
Hi Jamie. I've (slightly) changed the landing page of the Kiln API documentation at developers.fogbugz.com to try and indicate more clearly that the API requires Kiln 2.0. Let us know if you have any more questions or comments! – Andrew Song Aug 23 2010 at 14:34

1 Answer

5

The Kiln API 1.0 will be shipped with KIln 2.0. Now, it's available only for beta testers. To switch over your On Demand account to Kiln 2.0 beta version, you should leave a request here. To know about all new awesome features that will be shipped with Kiln 2.0, see this announcement. (The same links on top of the page)

link|flag

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.