From 9010ebe8a581fb9db7bc6e97d40ff062fb18495f Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Tue, 12 May 2026 15:35:06 -0400 Subject: unmarshal GET /print-jobs response --- notes | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'notes') diff --git a/notes b/notes index 331cabe..ce427d0 100644 --- a/notes +++ b/notes @@ -9,3 +9,12 @@ real response did not; thus "fees" is included in the testdata. The real response had "first_name" and "last_name" rather than just "name", so ShippingAddress has a custom UnmarshalJSON() function to account for both. And so on... + + +-- Print Jobs -- + +I made some corrections to testdata/getprintjobsresp.json. These +include changing "source_md5sum" to "source_md5_sum" and changing the +postcode field from integer to string, etc., as per the schema. It +remains to be seen if the errors are just in the documentation example +or if they (sometimes) appear in real server responses too... -- cgit v1.2.3