Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the WebService-Linode CPAN distribution.

Report information
The Basics
Id: 79093
Status: resolved
Priority: 0/
Queue: WebService-Linode

People
Owner: michael [...] thegrebs.com
Requestors: gavin [...] openfusion.com.au
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.09
Fixed in: 0.10



Subject: Missing/extra parameters?
Hi, I've just updated from 0.07 to 0.09, and found that my existing scripts are breaking because there are missing and/or extra parameters required in some of the method calls. Checking against the linode API docs, version 0.07 seems closer to the api than 0.09? Some examples: * linode_create: 0.09 requires a 'label' parameter that's not required at http://www.linode.com/api/linode/linode.create * linode_disk_create: 0.09 omits the required 'type' and 'size' parameters (cf. 0.07 and http://www.linode.com/api/linode/linode.disk.create) * linode_config_create: 0.09 omits required 'linodeid' (cf. 0.07 and http://www.linode.com/api/linode/linode.config.create) There are just the ones that have bitten me so far, so not exhaustive. Are these intentional changes, and I'm doing something dumb, or bugs? Cheers, Gavin
You are correct. The current version was auto built via the api.spec method, <http://www.linode.com/api/utility/api.spec>. Which does show these parameters as required. I will bring this to Linode's attention tomorrow.
Excellent, thanks Michael.
Fixed in 0.10 which was just uploaded. Thanks for the report