wikipage manipulation using API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
A lot of what we do is import contents from previously offered courses. As you know what this does to wikipages
is that it keeps the existing ones (from the shell) and copied over the ones from the source course and renames
them with a -2 ( and son on).
Could you point me to the correct API to use if I want to:
1. Delete the existing wikipage eg. "About this course"
2. Rename the newly copied "About this course-2" to "About this course"
3. Recurse for all pages with duplicates
Any leads or template will be greatly appreciated. Thanks!
#wikipage
pklove, have you done anything like this before? Thanks!
I have Thonny and Powershell.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think the Page endpoints (Pages - Canvas LMS REST API Documentation) are what you need to use. They will let you list the pages, update and delete them.