Has the Create Folder response payload changed?
According to Box documentation, a Post to the /folder should return numeric id, ie.:
{
"id": 12345,
(...)
}
But from my last requests, id is returned as a string:
{
"type": "folder",
"id": "123121321321",
"sequence_id": "0"
(...)
}
This behavior started breaking some of mine applications.
-
Hi Mauricio,
I see what you mean, the documentation is inconsistent.
If we look at the documentation for the folder object, all its versions (full, standard, mini, base) has the folder_id as string, but not in the response examples.
Let me alert the documentation folks.
Thanks for spotting this.
Anyway, object id's can get pretty big and depending on the language you're using you might hit an integer overflow or something similar.
Cheers
Please sign in to leave a comment.
Comments
1 comment