chrisbarr/Beanstalk-PHP-API — Issue #30: Create Release seems to have an issue (and maybe a solution)
Author: aajhiggs
Created: 2012-02-13 11:01:41+00:00
State: open

I was having a problem getting a deployment to trigger via create_release, everything else was working on all other API calls I'd used bar this method.

I tested it with Hurl.it and noticed that if we didn't send the release data (revision id, comment, deploy-from-scratch) in a multi-dimensional array it started to work.

This seems to contradict their documentation, but my colleague suggested that it might be done that way for multiple releases in one call?

Eitherway, the way to fix it was to remove the wrapper array from around these three parameters.