The version of SPYC that's bundled with Services 3.x is inconsistent between the 6.x (0.3) and 7.x (0.4.5) branches and is behind the latest 0.5.0 release. The attached patches update the REST server in 6.x and 7.x.
This also fixes a warning in 3.x-6.x that can be triggered by hitting
endpoint/user/login.yaml with a GET, causing SPYC to dump an empty variable. 0.4.5 and 0.5.0 handle this fine but 0.3.0 produces a warning, hence the upgrade. There aren't any major interface changes between 0.4.5 and 0.5, so the 7.x patch just copies the upstream spyc.php into
FAILED: [[SimpleTest]]: [MySQL] Invalid patch format in services-spyc-object-array-fix.patch.
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch rest_server_spyc_upgrade-6.x.patch. This may be a -p0 (old style) patch, which is no longer supported by the testbots.
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch rest_server_spyc_upgrade-7.x.patch. Unable to apply patch. See the log in the details link for more information.