Interface CommentsSPI
@Path("/wp")
public interface CommentsSPI
Describes the Wordpress Comments API.
- Since:
- 0.0.1
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionlist(String apiVersion, Context context, Integer page, Integer perPage, String search, Date after, List<Integer> author, List<Integer> authorExclude, String authorEmail, Date before, List<Integer> exclude, List<Integer> include, Integer karma, List<Integer> offset, Order order, CommentOrderBy orderBy, List<Integer> parent, List<Integer> parentExclude, List<Integer> post, CommentStatus status, String type)
-
Method Details
-
list
@GET @Path("/v{apiVersion}/comments") @Produces("application/json") List<Comment> list(@PathParam("apiVersion") String apiVersion, @QueryParam("context") Context context, @QueryParam("page") Integer page, @QueryParam("per_page") Integer perPage, @QueryParam("search") String search, @QueryParam("after") Date after, @QueryParam("author") List<Integer> author, @QueryParam("author_exclude") List<Integer> authorExclude, @QueryParam("author_email") String authorEmail, @QueryParam("before") Date before, @QueryParam("exclude") List<Integer> exclude, @QueryParam("include") List<Integer> include, @QueryParam("karma") Integer karma, @QueryParam("offset") List<Integer> offset, @QueryParam("order") Order order, @QueryParam("orderby") CommentOrderBy orderBy, @QueryParam("parent") List<Integer> parent, @QueryParam("parent_exclude") List<Integer> parentExclude, @QueryParam("post") List<Integer> post, @QueryParam("status") CommentStatus status, @QueryParam("type") String type) -
retrieve
-
create
-
update
-
delete
-