BlockEditorTemplate
Block Editor Templates are pre-build templates that can be used to create pages. The BlockEditorTemplate API allows you to create, retrieve, update, and delete templates.
A BlockEditorTemplate object looks like:
BlockEditorTemplatesApiController#index
GET /api/v1/courses/:course_id/block_editor_templates
GET /api/v1/courses/:course_id/block_editor_templates
Scope: url:GET|/api/v1/courses/:course_id/block_editor_templates
A list of the block templates available to the current user.
Request Parameters:
sort
string
Sort results by this field.
Allowed values: name
, created_at
, updated_at
order
string
The sorting order. Defaults to ‘asc’.
Allowed values: asc
, desc
drafts
boolean
If true, include draft templates. If false or omitted only published templates will be returned.
type[]
string
What type of templates should be returned.
Allowed values: page
, section
, block
include[]
string
no description
Allowed values: node_tree
, thumbnail
Example Request:
Returns a list of BlockEditorTemplate objects.
This documentation is generated directly from the Canvas LMS source code, available on Github.
Last updated