legacy-api-documentation icon indicating copy to clipboard operation
legacy-api-documentation copied to clipboard

coverted type in photo short and full formats are wrong

Open jerryfan2000 opened this issue 10 years ago • 3 comments

In doc, it says converted is boolean format. However, it is in fact integer. Since it is an integer, so i am confused how to find out the meaning of a number for it.

converted - Boolean value indicating whether or not this photo has been converted.

And this is what I got from reply: "converted":31.

jerryfan2000 avatar Mar 28 '14 16:03 jerryfan2000

To be specific, i got coverted=(a number) when running get_photos function. I noticed coverted indeed returns boolean in other function.

jerryfan2000 avatar Mar 28 '14 16:03 jerryfan2000

After more careful testing, all API calls that return photo full format have converted returned as integer.

jerryfan2000 avatar Apr 01 '14 10:04 jerryfan2000

That's correct, converted is actually a bitmask. I'll look into getting the docs updated for it. Thanks!

cdmicacc avatar May 14 '14 02:05 cdmicacc