The DigitalOcean API defaults its API requests to 20 items per page, but the Sizes object getAll method doesn't page nor does it set a high items per page limit, so the sizes API always returns just 20 items.
Either the getAll needs to perform multiple requests or when calling $sizes = $this->get('sizes'); within src/Api/Size.php it should overwrite the number of items per page so it does indeed get all.
A quick flick through the code for the SDK shows that all instances of a "getAll" method suffer from the same bug.
The DigitalOcean API defaults its API requests to 20 items per page, but the Sizes object getAll method doesn't page nor does it set a high items per page limit, so the sizes API always returns just 20 items.
Either the getAll needs to perform multiple requests or when calling
$sizes = $this->get('sizes');
withinsrc/Api/Size.php
it should overwrite the number of items per page so it does indeed get all.A quick flick through the code for the SDK shows that all instances of a "getAll" method suffer from the same bug.