canvas pages
canvas pages¶
Manage Canvas wiki pages
Synopsis¶
Manage Canvas wiki pages including listing, viewing, creating, and updating pages.
Pages are rich content associated with Courses in Canvas. They can be used for course information, resources, or any other content.
Examples:
canvas pages list --course-id 123
canvas pages get --course-id 123 my-page-url
canvas pages create --course-id 123 --title "Welcome" --body "<p>Hello!</p>"
canvas pages front --course-id 123
Options¶
Options inherited from parent commands¶
--as-user int Masquerade as another user (admin feature, requires permission)
--columns strings Select specific columns to display (comma-separated)
--config string config file (default is $HOME/.canvas-cli/config.yaml)
--dry-run Print curl commands instead of executing requests
--filter string Filter results by text (case-insensitive substring match)
--instance string Canvas instance URL (overrides config)
--limit int Limit number of results for list operations (0 = unlimited)
--no-cache Disable caching of API responses
-o, --output string Output format: table, json, yaml, csv (default "table")
--show-token Show actual token in dry-run output (default: redacted)
--sort string Sort results by field (prefix with - for descending, e.g., -name)
-v, --verbose Enable verbose output
SEE ALSO¶
- canvas - Canvas LMS CLI - Interact with Canvas from the command line
- canvas pages create - Create a new page
- canvas pages delete - Delete a page
- canvas pages duplicate - Duplicate a page
- canvas pages front - Get the front page
- canvas pages get - Get a specific page
- canvas pages list - List pages in a course
- canvas pages revert - Revert to a specific revision
- canvas pages revisions - List page revisions
- canvas pages update - Update an existing page