Corrections from verifying the 0.8.0 wire guesses against a live HackerRank account. Call sites that already matched the live service need no changes; call sites that relied on the wrong behaviour will start seeing the real contract.
What the live pass changed
Test.startTime/endTimeread the live keysstart_time/end_time(and still accept the schema'sstarttime/endtime). Writes continue to send the schema spelling, which the server accepts and echoes back underscored.Team.interviewerCountis restored — live team rows still sendinterviewer_counteven though the published schema omits it.SCIMUserWriteRequest.emailsencode as SCIM multi-valued objects ([{"value": …, "primary": …}]). Plain strings are rejected by the live SCIM service with HTTP 400.- SCIM calls go to
https://services.hackerrank.com/scim/v2by default.www.hackerrank.com/Usersserves the web app, not the JSON API. The in-process mock keeps both bases on the mock host.
What the live pass confirmed
attempt_events arrive as objects, candidate questions are keyed by question id, sections are an array of objects, code-stub allowedLanguages want comma-joined API ids such as c,clojure, replace_interviewers must default to true when a list is supplied, and the richer candidate-detail additional_fields default is an acceptable size trade-off.
See UPGRADING.md for the full notes.
What's Changed
- Document the 0.8.0 upgrade and make its guesses testable by @adamtheturtle in #200
- Fix live wire-contract guesses from issue #197 by @adamtheturtle in #201
Full Changelog: 0.8.0...0.8.1