Regarding the 2.X API docs
A lot of the attributes in the resources are documented as returning null or value. For example, resurrected_at can be null or a date. In the actual response data I’m finding that unlocked vocabulary items, for example, can return null for attributes like meaning_correct. I have gone through the lesson, but it’s never come up in a review yet so I’d assume it’s sitting at SRS Apprentice 1.
Even though I’m asking about V2 there, I’m actually debugging the WaniKaniApiSharp project, and it’s hitting the 1.4 API, I think. So I’m also asking why I’m getting null values for these entries. If the API has always behaved like this then it’s more a case of I’m one of the first people to use this C# Api client.
Inner Exception 2:
JsonSerializationException: Error converting value {null} to type 'System.Int32'.
Path 'requested_information[1092].user_specific.meaning_correct', line 1, position 507207.
{
"level": 20,
"character": "防止",
"kana": "ぼうし",
"meaning": "prevention",
"user_specific": {
"srs": "apprentice",
"srs_numeric": 1,
"unlocked_date": 1549821672,
"available_date": 1550019600,
"burned": false,
"burned_date": 0,
"meaning_correct": null,
"meaning_incorrect": null,
"meaning_max_streak": null,
"meaning_current_streak": null,
"reading_correct": null,
"reading_incorrect": null,
"reading_max_streak": null,
"reading_current_streak": null,
"meaning_note": null,
"reading_note": null,
"user_synonyms": null
}
}```