Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Revisions

Revisions abilities of the Hostinger AI plugin's WordPress site MCP server. List, read, restore and delete earlier versions of posts and pages.

List, read, restore and delete earlier versions of posts and pages.

Available: Always.

Ability
What it does
Type

Delete a specific revision for an item.

Destructive · Safe to retry

Get a specific revision for an item.

Read-only

List revisions for a specific item.

Read-only

Restore a specific revision for an item by copying its content back to the parent.

Changes the site

Delete Revision

hostinger-ai/revisions-delete · Destructive · Safe to retry

Delete a specific revision for an item.

Required parameter
Type
Description

id

integer

Unique identifier for the resource

base_api

string

REST API base for the post type (e.g., posts, pages, templates, product, etc.).

parent

integer

The parent item ID.

Description sent to AI tools

Delete a specific revision for an item. Provide REST API base and parent ID, plus the revision ID.

Get Revision

hostinger-ai/revisions-get · Read-only

Get a specific revision for an item.

Required parameter
Type
Description

id

integer

Unique identifier for the resource

base_api

string

REST API base for the post type (e.g., posts, pages, templates, product, etc.).

parent

integer

The parent item ID.

Description sent to AI tools

Get a specific revision for an item. Provide REST API base and parent ID, plus the revision ID.

List Revisions

hostinger-ai/revisions-list · Read-only

List revisions for a specific item.

Required parameter
Type
Description

base_api

string

REST API base for the post type (e.g., posts, pages, templates, product, etc.).

parent

integer

The parent item ID to list revisions for.

Optional parameters (9)
Parameter
Type
Default
Description

context

one of view, embed, edit

view

Scope under which the request is made; determines fields present in response.

page

integer

1

Current page of the collection.

per_page

integer

Maximum number of items to be returned in result set.

search

string

Limit results to those matching a string.

exclude

array of integer

[]

Ensure result set excludes specific IDs.

include

array of integer

[]

Limit result set to specific IDs.

offset

integer

Offset the result set by a specific number of items.

order

one of asc, desc

desc

Order sort attribute ascending or descending.

orderby

one of date, id, include, relevance, slug, include_slugs, title

date

Sort collection by object attribute.

Description sent to AI tools

List revisions for a specific item. Provide its REST API base (e.g., posts, pages, templates) and the parent ID.

Restore Revision

hostinger-ai/revisions-restore · Changes the site

Restore a specific revision for an item by copying its content back to the parent.

Required parameter
Type
Description

base_api

string

REST API base for the post type (e.g., posts, pages, templates, product, etc.).

parent

integer

ID of the parent item to restore into.

revision_id

integer

ID of the revision to restore from.

Optional parameters (1)
Parameter
Type
Description

fields

array of title, content, excerpt

Optional list of fields to restore. Defaults to title, content, and excerpt.

Description sent to AI tools

Restore a specific revision for an item by copying its content back to the parent. Works for any post type using its REST base.

Last updated

Was this helpful?