Options

1.2.0 smugmug.albums.getStats heavy - images all 0

alpacaboyalpacaboy Registered Users Posts: 5 Beginner grinner
Just starting to explore the API... I tried:
http://api.smugmug.com/hack/rest/1.1.1/?APIKey=<MY_API_KEY>&method=smugmug.albums.getStats&SessionId=<MY_SESSION_ID>&Month=9&Year=2007&Heavy=true&AlbumID=3408549

whoops! above link is 1.1.1. But I did try it with 1.2.0 with the same results.

and the album stats looked good (non-zero):
<Album id="3408549">
<Status>Open</Status>
<Bytes>32587588</Bytes>
<Tiny>603</Tiny>
<Thumb>5</Thumb>
<Small>3</Small>
<Medium>209</Medium>
<Large>83</Large>
<Original>0</Original>

but ALL of the image stats came back all zeroes:
<Images>

<Image id="190751455">
<Bytes>0</Bytes>
<Tiny>0</Tiny>
<Thumb>0</Thumb>
<Small>0</Small>
<Medium>0</Medium>
<Large>0</Large>
<Original>0</Original>
</Image>
...


Is "Heavy=true" the right format, or did I need to use a 1, True, TRUE, or some other way of expressing "true?"

Also, smugmug.users.getTransferStats just times out on me, but I see that's already another thread
Sign In or Register to comment.