Activity Feed
- Got a Kudo for Re: New Quizzes API is coming to REST. a week ago
- Got a Kudo for Re: How do we *USE* API?. 01-24-2023 10:59 AM
- Posted Re: How do we *USE* API? on Canvas Developers Group. 01-24-2023 09:06 AM
- Got a Kudo for Re: New Quizzes API is coming to REST. 01-17-2023 11:59 AM
- Posted Re: New Quizzes API is coming to REST on The Product Blog. 01-17-2023 11:23 AM
- Posted Re: Lock Syllabus in Blueprint on Idea Conversations. 09-06-2022 08:48 AM
- Got a Kudo for Re: Via REST, how do I obtain a valid role_id list for a subaccount?. 05-23-2022 11:25 AM
- Got a Kudo for Re: Via REST, how do I obtain a valid role_id list for a subaccount?. 04-22-2022 10:04 AM
- Posted Re: Via REST, how do I obtain a valid role_id list for a subaccount? on Canvas Admin Discussion. 04-22-2022 09:59 AM
- Kudoed Re: Via REST, how do I obtain a valid role_id list for a subaccount? for melodyc_lam. 04-22-2022 09:56 AM
- Kudoed Re: Via REST, how do I obtain a valid role_id list for a subaccount? for melodyc_lam. 04-22-2022 09:50 AM
- Posted Re: Via REST, how do I obtain a valid role_id list for a subaccount? on Canvas Admin Discussion. 04-22-2022 06:57 AM
- Got a Kudo for Via REST, how do I obtain a valid role_id list for a subaccount?. 04-20-2022 05:46 AM
- Posted Via REST, how do I obtain a valid role_id list for a subaccount? on Canvas Admin Discussion. 04-19-2022 07:41 AM
- Tagged Via REST, how do I obtain a valid role_id list for a subaccount? on Canvas Admin Discussion. 04-19-2022 07:41 AM
- Tagged Via REST, how do I obtain a valid role_id list for a subaccount? on Canvas Admin Discussion. 04-19-2022 07:41 AM
- Tagged Via REST, how do I obtain a valid role_id list for a subaccount? on Canvas Admin Discussion. 04-19-2022 07:41 AM
- Tagged Via REST, how do I obtain a valid role_id list for a subaccount? on Canvas Admin Discussion. 04-19-2022 07:41 AM
- Got a Kudo for Add Discussion Board versioning and/or undelete.. 07-21-2020 09:35 AM
- Got a Kudo for Add Discussion Board versioning and/or undelete.. 06-13-2020 10:09 AM
My Posts
Post Details | Date Published | Views | Kudos |
---|---|---|---|
Via REST, how do I obtain a valid role_id list for a subaccount? In the documentation for the Admins REST API it encourages me to use role_id, but I can see no way to get a valid list of Admin roles and their IDs. Where in the API can I get the valid role_id list ... |
04-19-2022 |
622 |
1 |
Add Discussion Board versioning and/or undelete. Currently there is no way to recover a previous version of an edited or deleted discussion post. This can be a problem as a student caught in a situation of questionable academic integrity can e... |
03-04-2020 |
1206 |
9 |
01-24-2023
09:06 AM
1 Kudo
Making REST calls can be difficult without coding skills. However, the SIS integration is relatively easy to use with some basic Excel know-how. If you want to do batch updates, start here. You can upload CSV files (simple tables with a header row) to add hundreds or thousands of courses, accounts, enrollments, etc at a time. And if you add the same account/course/enrollment again (with the same unique SIS ID for the course/student/etc) it won't add a duplicate, it'll update the existing item. So you can also UPDATE thousands of entries at a time. The things you can manage with SIS files includes Users (teachers, students, admins), Accounts (sub accounts, don't confuse with users), Terms, Courses, Sections (of courses), Enrollments (linking users to courses), Groups and Group Memberships (dividing course enrollments into smaller sets for collaboration and group assignments), User Observers (allowing parents/employers to keep tabs on their student), Admins (to grant additional powers to staff), Logins (only needed if you manage multiple auth methods for users), and Change SIS ID (in the rare case you need to manipulate the normally fixed SIS IDs). This covers the most common mass-insert and mass-update needs, and just requires some basic spreadsheet skills. Can you do more with the REST API? Absolutely. Of the things you listed, this can manage batch publishing. If you use blueprint courses (which I highly recommend) then you can also batch create courses from the blueprints which removes the need to batch-copy content. Batch management of the Grade Scheme is still an API-only task as far as I'm aware though.
... View more
01-17-2023
11:23 AM
2 Kudos
I just want an API as soon as possible... REST, GraphQL, whatever. The sooner we have the ability to automate the better. 😁
... View more
09-06-2022
08:48 AM
The syllabus is a rather important document, as far as accreditation goes. For schools using a centralized curriculum via blueprints its rather important that the syllabus reflect the correct content taught... having this be impossible to lock is a rather odd oversight given its importance.
... View more
04-22-2022
09:59 AM
2 Kudos
That's annoying; most APIs I have used indicate when they are paginated, with a result count or page number attribute or similar. But thank you very much @melodyc_lam, I'd still be beating my head against a wall if it weren't for you. 😁
... View more
04-22-2022
06:57 AM
I hadn't known about or noticed that parameter, so thank you very much! It certainly resolves the issue of having to query the parent. However...
[
{"id":1,"role":"AccountAdmin",[...]
{"id":3,"role":"StudentEnrollment",[...]
{"id":4,"role":"TeacherEnrollment",[...]
{"id":5,"role":"TaEnrollment",[...]
{"id":6,"role":"DesignerEnrollment",[...]
{"id":7,"role":"ObserverEnrollment",[...]
{"id":11,"role":"Help Desk",[...]
{"id":12,"role":"Herzing Staff",[...]
{"id":14,"role":"Quizzes.Next Service",[...]
{"id":15,"role":"LTI Account",[...]
]
This does not resolve the issue that I am presented with options in the UI for this subaccount that do not show up via the REST API.
... View more
04-19-2022
07:41 AM
1 Kudo
In the documentation for the Admins REST API it encourages me to use role_id, but I can see no way to get a valid list of Admin roles and their IDs. Where in the API can I get the valid role_id list of Admin types for a specific subaccount?
The obvious choice, Roles, does not appear to be returning relevant data. Here is a screenshot from one of my subaccounts:
You can see the customized admins with special permissions; 'Herzing Staff' and 'Herzing - Faculty Demo.' You can also see the subaccount underlined in the URL at the top. However, using the roles API I am unable to query those roles for subaccount 224: curl.exe -k "https://herzing.instructure.com/api/v1/accounts/224/roles" -X GET -H "Authorization: Bearer [...]" > result.json
The resulting JSON contains only six default roles, with none of our customized ones:
[
{"id":1,"role":"AccountAdmin","label":"Account Admin",[...]},
{"id":3,"role":"StudentEnrollment","label":"Student",[...]},
{"id":4,"role":"TeacherEnrollment","label":"Teacher",[...]},
{"id":5,"role":"TaEnrollment","label":"TA",[...]},
{"id":6,"role":"DesignerEnrollment","label":"Designer",[...]},
{"id":7,"role":"ObserverEnrollment","label":"Observer",[...]}
]
I thought that perhaps the roles were inherited. The parent of subaccount 224 is our root account, 1, but the root account does not have the Faculty Demo role (though it does have the Herzing Staff role). What am I doing incorrectly? How do I reliably query for these custom account roles?
... View more
03-04-2020
11:10 AM
9 Kudos
Currently there is no way to recover a previous version of an edited or deleted discussion post. This can be a problem as a student caught in a situation of questionable academic integrity can edit or delete the evidence. For graded discussions this can also create accreditation issues because the grading artifact can be altered. While the simple answer is 'disallow edits and deletes', these do have value. Double-posts can be cleaned up directly by the student, minor typos can be corrected, and the vast majority of students and faculty benefit from allowing edits. If discussions had versioning that was available to the faculty, so the multiple versions of a post could be viewed, this would eliminate the downsides of allowing edits while retaining all the benefits.
... View more
06-13-2019
08:06 AM
2 Kudos
I posted a suggestion to sort the data tables before export to Ideas. Unlike differential imports (which is also valuable), sorting the data before splitting into million-row chunks would require very little effort, for a moderate increase in the ease-of-use of the data portal.
... View more