Hi ,i'm currently working with the api provided by bungie see : https://bungie-net.github.io/multi/index.html,
i figure that some data had evolved, some of them have change type (int to string, string to int, etc...) and some of them havn't been changed in the doc.
For exemple :
for the endpoint : User.GetMembershipDataById see : https://bungie-net.github.io/multi/operation_get_User-GetMembershipDataById.html#operation_get_User-GetMembershipDataById
If we look at the item in return see : https://bungie-net.github.io/multi/schema_User-UserMembershipData.html#schema_User-UserMembershipData
The field primaryMembershipId is define as an Int64 see : https://drive.google.com/file/d/1MQhZYhnmJSwvn8WC_maG8tEfkzYxcIts/view?usp=sharing
But in the current state of the API, the data type is not int64, it's currently a string see : https://drive.google.com/file/d/1fsaUM6SkHsvMAd5whf6ujrrypDlhdAzB/view?usp=sharing
If those detail, could be fix, i would be greatfull.
-
Hi. I spoke with the team and they said, "This is intentional. Some runtimes (JavaScript) don’t handle 64-bit numbers accurately, so they're serialized to json as strings."