-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Labels
Needs Technical FeedbackNeeds testing from a developer perspective.Needs testing from a developer perspective.[Feature] Templates APIRelated to API powering block template functionality in the Site EditorRelated to API powering block template functionality in the Site Editor[Status] In ProgressTracking issues with work in progressTracking issues with work in progress
Description
There's two new endpoints introduced: /wp_template and /wp_registered_template. The "old" templates endpoint is /templates so that's already taken. These new rest bases don't really fit other rest bases (underscore instead of dash), so I wonder if we should rename them. /wp_template is linked to the wp_template post type, and the convention is to do something like /templates (plural), but that's already taken. Perhaps the next best thing is to use /created-templates? And for registered templates it could be /registered-templates? Cc @youknowriad @mcsf in case you have an opinion on this.
mcsf
Metadata
Metadata
Assignees
Labels
Needs Technical FeedbackNeeds testing from a developer perspective.Needs testing from a developer perspective.[Feature] Templates APIRelated to API powering block template functionality in the Site EditorRelated to API powering block template functionality in the Site Editor[Status] In ProgressTracking issues with work in progressTracking issues with work in progress
Type
Projects
Status
✅ Done