The Instructure Product Team is working on implementing a better solution to collect your feedback. Read Shiren's blog for more information.
It is currently very difficult to develop generic code using the Canvas API that can be shared and used by almost any school without modification, as some required info is not available anywhere that I can find. When dealing with instances that have trusts configured, it's almost a requirement in some cases to be able to find the shard_id of a particular instance, and it would also be nice to know all of the hostnames configured for a particular instance as well (and whether they are redirects or not). These pieces of info are particularly needed when using the "List user page views" API, but would be handy in other areas as well.
I would like to see some sort of "instance info" API containing at least a couple values: GET /api/v1/instance returns an instance object like: { //The shard id of the instance, useful for constructing and deconstructing guid objects when using trusts "shard_id": 1, //A list of hostnames configured for the instance "hostnames":["hostname":"canvas.instructure.com","is_redirect":false] } This API should probably only be available to account admins.
admin
Community helpTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign inTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign in