Skip to content

/templates/<parent>/revisions endpoint#1308

Open
oguzkocer wants to merge 4 commits intotrunkfrom
template-revisions-endpoints
Open

/templates/<parent>/revisions endpoint#1308
oguzkocer wants to merge 4 commits intotrunkfrom
template-revisions-endpoints

Conversation

@oguzkocer
Copy link
Copy Markdown
Contributor

No description provided.

Implements the `GET /wp/v2/templates/<parent>/revisions` list endpoint
with contextual sparse types, pagination params, filter support, test
fixtures with 10 revisions, and integration tests.
Implements `GET /wp/v2/templates/<parent>/revisions/<id>` with contextual
support, filter tests, and integration tests.
Implements `DELETE /wp/v2/templates/<parent>/revisions/<id>` with
`force=true`, `TemplateRevisionDeleteResponse` type, and integration test.
Tests list, filter list, retrieve, filter retrieve, and delete for
the `/templates/<parent>/revisions` endpoints.
@wpmobilebot
Copy link
Copy Markdown
Collaborator

XCFramework Build

This PR's XCFramework is available for testing. Add to your Package.swift:

.package(url: "https://github.com/automattic/wordpress-rs", branch: "pr-build/1308")

Built from f226b2a

@oguzkocer oguzkocer marked this pull request as ready for review April 28, 2026 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants