Activity Feed
- Posted Re: New Quizzes: Allow Course Designers to Edit Quizzes on Idea Conversations. 11-17-2022 07:52 AM
- Posted Re: Partner Listing: Microsoft Education on Partner Listings. 12-20-2021 07:57 AM
- Got a Kudo for Re: Am I mistaken or is pagination in the "List user page views" API broken?. 08-06-2020 02:01 AM
- Got a Kudo for Re: Disappearing Graphics. 08-06-2020 02:01 AM
- Got a Kudo for Re: Disappearing Graphics. 08-06-2020 02:01 AM
- Got a Kudo for Re: Am I mistaken or is pagination in the "List user page views" API broken?. 08-06-2020 02:01 AM
- Got a Kudo for Re: Am I mistaken or is pagination in the "List user page views" API broken?. 08-06-2020 02:01 AM
- Got a Kudo for Re: Am I mistaken or is pagination in the "List user page views" API broken?. 08-06-2020 02:01 AM
- Got a Kudo for Re: Am I mistaken or is pagination in the "List user page views" API broken?. 08-06-2020 02:01 AM
- Got a Kudo for Re: Am I mistaken or is pagination in the "List user page views" API broken?. 08-06-2020 02:01 AM
- Got a Kudo for Re: Disappearing Graphics. 08-06-2020 02:01 AM
- Got a Kudo for Re: Disappearing Graphics. 05-26-2020 12:20 AM
- Got a Kudo for Re: Disappearing Graphics. 05-26-2020 12:20 AM
- Got a Kudo for Bulk grading API - POST size limit?. 07-17-2019 12:32 AM
- Got a Kudo for Re: Disappearing Graphics. 04-22-2019 11:36 AM
- Got a Kudo for Re: Disappearing Graphics. 04-22-2019 11:35 AM
- Got a Kudo for Re: Disappearing Graphics. 11-15-2018 08:29 PM
- Got a Kudo for Re: Disappearing Graphics. 11-08-2018 11:37 AM
- Got a Kudo for Re: Disappearing Graphics. 11-06-2018 10:20 AM
- Got a Kudo for Re: Disappearing Graphics. 11-06-2018 08:19 AM
My Posts
Post Details | Date Published | Views | Kudos |
---|---|---|---|
Am I mistaken or is pagination in the "List user page views" API broken? I have been playing around with the "List user page views" API endpoint and pagination appears to be broken...or I'm an idiot. Either possibility is equally likely. Normally, when you go and... |
10-04-2018 |
2822 |
3 |
Bulk grading API - POST size limit? I'm writing something that uses the bulk grading API (Submissions - Canvas LMS REST API Documentation) . Basically, you use this API to submit a bunch of grades at once instead of one at a t... |
10-25-2016 |
869 |
3 |
11-17-2022
07:52 AM
I agree. This needs to be fixed. It makes no sense for Designers to not be able to use New Quizzes.
... View more
12-20-2021
07:57 AM
When using the Microsoft Teams Meetings LTI to create a meeting, when we clicked the “Add Entire Class” link, we go this mystery user named “Microsoft Graph” (see below). This isn’t a user that exists and if we go back into the meeting to edit it, it doesn’t show up. But it is there when we create it and might confuse users. We’re almost certain to get calls asking about it. It doesn’t seem to hurt anything and may just be an artifact left over from development. Hopefully MS will see this and either fix it or offer an explanation. Thanks!
... View more
11-06-2018
07:39 AM
4 Kudos
From the latest release notes: "Question Bank Images Images in edited questions associated with a question bank are retained in the quiz question. Explanation: When a quiz question was added from a question bank, and the question was edited in the quiz, any images in the question were removed. Canvas code has been updated to not remove file verifiers associated with a quiz in edited questions." I'd been in communication with our CSM and knew this went in last week. I tested/verified and it appears that the fix works. If you were seeing disappearing graphics in quizzes due to this error, it should be fixed.
... View more
10-05-2018
07:36 AM
2 Kudos
I just wanted to thank everyone again for the help. Once I started dumping the header text to a text file instead of trying to print to the browser screen for debugging I was able to see the links being passed back and everything began to make much more sense. I was able to get things working this morning. You guys really saved me a ton of time by pointing me in the right direction!
... View more
10-05-2018
06:04 AM
5 Kudos
Great! Glad to hear it. I just got a message yesterday afternoon that Instructure support was able to reproduce the issue and was opening a case with engineering. And then a couple of hours later, some other support person said they were marking the ticket solved because there was a workaround (i.e. re-add the question, or something). You'd better believe that I re-opened that ticket. I have no idea why some other support person would come in and close a ticket--presumably without really reading the history or understanding the issue. That's what I've been fighting with.
... View more
10-05-2018
05:42 AM
1 Kudo
I see--thanks for the clarification. Since I have not actually used those URLs coming back in the header before (I always use the page=#, incrementing the number myself) I'll need to play around with it a bit. But you guys have put me on the right track. Many thanks, pklove and @James .
... View more
10-04-2018
02:15 PM
1 Kudo
Ha! Thanks for questioning me on this. I was writing the contents of the header to the browser screen and that was not displaying. I dumped it to a text file and it *IS* coming back. I've just always looked for "next" to be there and I go and grab the next page if it is. In this case, "next" always seems to be there but it doesn't work correctly. Anyway, this is what is coming back in the header: rel="next",< https://zzzzzzzzzz.instructure.com/api/v1/users/XXXXXXXXX/page_views?end_time=2018-09-04&start_time=2018-07-01&end_time=2018-09-04&start_time=2018-07-01&page=first&per_page=100 > But this looks REALLY strange to me. Why are there TWO end_time and start_time parameters in this "next" link? This is really confusing. My original URL that I sent looked like this: https://zzzzzzzzzzzz.instructure.com/api/v1/users/XXXXXXX/page_views?start_time=2018-07-01&end_time=2018-09-04&per_page=100&page…
... View more
10-04-2018
01:48 PM
1 Kudo
I'm using PHP, but that was actually copied/pasted from the live API tool that Instructure provides. But I never see the URLs in the header text that comes back to my PHP scripts.
... View more
10-04-2018
01:47 PM
1 Kudo
Hmmm. See, I'm parsing out the header manually. I'm not using any libraries. I flat out do not see the URLs in the header text. How do you actually see/use "opaque" URLs like this?
... View more
10-04-2018
01:35 PM
1 Kudo
I think that is getting stripped out. I never actually see anything in link other than something like this: "Link": "; rel=\"current\",; rel=\"next\",; rel=\"first\"", So I always just look to see if there is a "next" and if there is I go back for the next page.
... View more
10-04-2018
01:28 PM
1 Kudo
It just keeps returning the same data. In fact, I tried to bring back page=2 of data and it brings back the same data as page=1. But as you said, I guess it doesn't use the same page=number format. I'm not familiar with what you mean when you say "page=bookmark:sadfsdfd". Where is this sort of pagination documented? I've only used the "page=number".
... View more
10-04-2018
11:47 AM
3 Kudos
I have been playing around with the "List user page views" API endpoint and pagination appears to be broken...or I'm an idiot. Either possibility is equally likely. Normally, when you go and get a page of data you will get a "next" in the header as explained here: Pagination - Canvas LMS REST API Documentation I've written lots of API calls and this always works fine. HOWEVER, when I try to bring back page views it *ALWAYS* shows that there is a "next" page even when there is not. Obviously this is a problem because my code keeps going back for more data. I would love some feedback. I'm hoping I'm just missing something, but I'm afraid that this API endpoint just does not work like all of the others I've used.
... View more
Labels
- Labels:
-
Open API
10-04-2018
05:38 AM
6 Kudos
We have been battling this issue at our campus. I've worked with several faculty members and done some of my own testing. Here are the definitive steps to recreating this issue as far as I can tell: 1) Create a test bank of several questions, with each containing a graphic file. I was using JPG files that I had uploaded to the course files. 2) Create a quiz and add those questions to it from the test bank. 3) On one or more of the questions, edit and make a change. You can change the point value or some of the text. It does not matter. 4) Save & Publish the quiz. 5) FROM ANOTHER BROWSER, go into this quiz as a student (either logged in as a student or impersonated) and go to this quiz. 6) The questions that were EDITED will have their graphics broken like I’ve shown in the attachment to this entry. The reason for step 5 is that I was seeing issues where a professor had images cached so even if we switched to impersonate a student the images were showing because they were cached in the browser. I have done these exact steps and re-created the problem. I've reported these steps to our customer success manager and escalated a ticket. You might see if you can replicate this issue and escalate this as well.
... View more
10-25-2016
12:19 PM
3 Kudos
I'm writing something that uses the bulk grading API (Submissions - Canvas LMS REST API Documentation) . Basically, you use this API to submit a bunch of grades at once instead of one at a time via a POST. I cannot find anywhere in the documentation where it gives any sort of advice about how MANY grades you can submit at once. I'm familiar with the APIs that pull data out of Canvas where you continue to go back for more (usually 100 records at a time). I get that. However, this is different. There don't seem to be any set limits. The course that I'm using this for is going to have every student enrolled in it and I could be submitting grades for hundreds (or even a few thousand) at a time. Has anyone used this API and run up against an upper limit? It appears that there is no set POST size limit as far as HTTP standards are concerned, but that people can set limits on the server side. I'm curious if Instructure has some sort of limit. The last thing I want to do is to implement this and have it break once I have to submit grades for a large group. It nice to have this bulk API, but I have no idea if it is made to support 50, 500 or 5000 grade submissions at a time. Maybe I've missed where this is documented. Thanks in advance!
... View more
06-01-2015
04:21 PM
Nice! Very well said. I second John's sentiments and urge Canvas to review their decision in light of what he's said. It sounds like Canvas may have been confused on some of the finer points. I can see *NO* reason that this isn't a very reasonable and doable request.
... View more
05-15-2015
08:10 AM
James, You need to look at it from a computer lab and classroom perspective. It is not feasible to re-image hundreds and hundreds of computers in the middle of a semester just to get the latest version of Firefox. THAT is the reason they go with the ESR. Sure, it is easy to tell professors and students to upgrade their personal machines. But classroom and lab machines that are locked/imaged cannot be done this way. Look at it broadly, and you'll see that there *is* a reason for this to go through and to *not* downvote it.
... View more
04-15-2015
09:41 AM
Yes, please!
... View more