I'm working on a Canvas API client for PHP that I hope can be fairly comprehensive, and I'm running into issues trying to get the Reorder Quiz Items endpoint working. A required parameter for the API is the "order" key, but specifically the docs say "order[id]" is required.
I've tried a few different ways of passing in the "order" array, including passing an array of arrays, each with an "id" key set to the ID of the question, and passing a single array of question IDs, keyed by the desired order of the item. Everything I try results in a "500 internal server error" and I'm assuming that the problem is with the formatting of that array.
So I figured I'd ask here - does anyone have a working structure for that "order" array for this endpoint?