JavaScript is required to use Bungie.net

OffTopic

Surf a Flood of random discussion.
Edited by チマテオ ΛKΛ MΞLΞCHΞ: 12/21/2021 4:30:18 PM
4

[ERROR] API Documentaion

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.

Posting in language:

 

Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

View Entire Topic
  • 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."

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

You are not allowed to view this content.
;
preload icon
preload icon
preload icon