The Basics

cmd=newCheckin

Parameters
Requires ixBug (The case with which to associate the checkin), sFile (The name of the file being checked in), sPrev (The pre-checkin revision number), sNew (The post-checkin revision number), ixRepository (The repository number).
Example
https://kakapo.fogbugz.com/api.asp?cmd=newCheckin&ixBug=12345&sFile=changedFile.py&sPrev=12&sNew=13&ixRepository=1&token=04t6193822pekbba09nt74ninuihk2
Returns
Empty response.  

cmd=listCheckins

Parameters
Requires ixBug (for checkins associated with this case). 
Example
https://kakapo.fogbugz.com/api.asp?cmd=listCheckins&ixBug=12&token=04t6193822pekbba09nt74ninuihk2
Returns
Details of Source Control checkins associated with this case.

New Checkin (cmd=newCheckin)

URL
https://kakapo.fogbugz.com/api.asp?cmd=newCheckin&ixBug=12345&sFile=changedFile.py&sPrev=12&sNew=13&ixRepository=1&token=04t6193822pekbba09nt74ninuihk2
fogbugz.py
fb.newCheckin(ixBug=12345, sFile=changedFile.py, sPrev=12, sNew=13, ixRepository=1)

Parameters

Requires ixBug (The case with which to associate the checkin), sFile (The name of the file being checked in), sPrev (The pre-checkin revision number), sNew (The post-checkin revision number), ixRepository (The repository number).

Successful Response

XML
<response></response>

List checkins (cmd=listCheckins)

URL
https://kakapo.fogbugz.com/api.asp?cmd=listCheckins&ixBug=12&token=04t6193822pekbba09nt74ninuihk2
fogbugz.py
fb.listCheckins(ixBug=12)

Parameters

Requires ixBug (for checkins associated with this case).

Successful Response

For the sake of space, the sample below includes only one checkin. This command will return the details for all checkins between the checkins tags.

XML

<response>
    <checkins>
        <checkin>
            <ixCVS>30</ixCVS>
            <ixBug>12</ixBug>
            <sFile>
                <![CDATA[changedFile.py]]>
            </sFile>
            <sPrev>
                <![CDATA[12]]>
            </sPrev>
            <sNew>
                <![CDATA[13]]>
            </sNew>
            <ixRepository>1</ixRepository>
        </checkin>
    </checkins>
</response>