September 20th API updates

3 views
Skip to first unread message

Ilya Sabanin

unread,
Sep 20, 2011, 9:41:28 AM9/20/11
to Beanstalk API Developers
Hey guys!

We have a bunch of API updates for you today:

1. Improved performance of Changesets API.

We received a few complaints that /api/changesets.xml can be sometimes
too slow to generate, so we investigated it. Appeared that API was
ignoring the "too_large" flag and was trying to generate changesets
that were too big, that resulted in an overall poor performance.

2. Added optional order and order_field parameters to Changesets API.

You can now specify what column you want to use for ordering (default
is time) and what direction (ASC or DESC, default is DESC.)

3. Added pagination to Users and Repositories listings.

4. Added optional per_page parameter to all methods with pagination.

We updated API docs to reflect all these changes, so take a look if
you're interested:

http://api.beanstalkapp.com/introduction.html

And don't forget to subscribe to our release notes here:

http://changes.beanstalkapp.com

Have a nice day!

Ilya Sabanin
Lead Beanstalk Developer

AndyDev

unread,
Sep 20, 2011, 4:00:30 PM9/20/11
to Beanstalk API Developers
HI Ilya

Just mentioned this to Alex who told me to post here.

Getting some issues...
- The date format seems to of changed. Getting null values for
changeset dates within Magic Bean iOS.
- repository-id on changesets doesn't seem available anymore (think
previously you could use either repository-id or repository_id). This
means titles within the Magic Bean dashboard aren't being displayed.

If I spot anything else i'll let you know.

Thanks

Andy

Ilya Sabanin

unread,
Sep 20, 2011, 10:12:05 PM9/20/11
to beanstalkapp-...@googlegroups.com
Hi Andy,

Can you send me additional data for debugging? A full request/response cycle dump would be great. Please send to support if possible.

We didn't indent to change date nor repository_id attributes of the Changeset. I just tried sending a changesets.xml request one more time with our own account and I can see both values are there.

ilya

> --
> You received this message because you are subscribed to the Google Groups "Beanstalk API Developers" group.
> To post to this group, send email to beanstalkapp-...@googlegroups.com.
> To unsubscribe from this group, send email to beanstalkapp-api-de...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/beanstalkapp-api-developers?hl=en.
>

Chris Barr

unread,
Sep 21, 2011, 12:18:03 PM9/21/11
to Beanstalk API Developers
Love this - especially the updates to the API docs.

Chris


On Sep 20, 2:41 pm, Ilya Sabanin <ilya.saba...@gmail.com> wrote:
Reply all
Reply to author
Forward
0 new messages