Interface WpRestClient
- All Superinterfaces:
CategoryOperations,MediaOperations,PostOperations,TagOperations
- All Known Implementing Classes:
ApacheWpRestClient,WpBaseRestClient
public interface WpRestClient
extends CategoryOperations, MediaOperations, PostOperations, TagOperations
Main entry point for interacting with the WordPress REST API.
This interface aggregates operations for managing WordPress resources such as posts, categories, tags, and media items.
The client provides a strongly typed abstraction over the WordPress REST API, exposing high-level operations for creating, retrieving, updating, listing, trashing, and deleting resources.
Supported resource domains include:
CategoryOperationsfor category managementMediaOperationsfor media upload and managementPostOperationsfor post managementTagOperationsfor tag management
Implementations are expected to communicate with the standard WordPress REST API endpoints under
/wp-json/wp/v2 or compatible APIs.
-
Method Summary
Methods inherited from interface io.github.evisentin.wordpress.client.domain.api.CategoryOperations
createCategory, deleteCategory, getCategory, listCategories, updateCategoryMethods inherited from interface io.github.evisentin.wordpress.client.domain.api.MediaOperations
createMedia, deleteMedia, getMedia, listMedia, updateMediaMethods inherited from interface io.github.evisentin.wordpress.client.domain.api.PostOperations
createPost, deletePost, getPost, getPost, listPosts, trashPost, updatePost