| Package | Description |
|---|---|
| com.afrozaar.wordpress.wpapi.v2 | |
| com.afrozaar.wordpress.wpapi.v2.api | |
| com.afrozaar.wordpress.wpapi.v2.model.builder | |
| com.afrozaar.wordpress.wpapi.v2.request |
| Modifier and Type | Method and Description |
|---|---|
Post |
Client.createPost(Map<String,Object> postFields,
PostStatus status) |
Post |
Client.createPost(Post post,
PostStatus status) |
Post |
Client.deletePost(Post post) |
Post |
Client.getPost(Long id) |
Post |
Client.getPost(Long id,
String context) |
Post |
Client.setPostFeaturedImage(Long postId,
Media media) |
Post |
Client.updatePost(Post post) |
Post |
Client.updatePostField(Long postId,
String field,
Object value) |
| Modifier and Type | Method and Description |
|---|---|
Post |
Client.createPost(Post post,
PostStatus status) |
Term |
Client.createPostTag(Post post,
Term tag) |
Post |
Client.deletePost(Post post) |
Term |
Client.deletePostTag(Post post,
Term tagTerm,
boolean force) |
Term |
Client.getPostTag(Post post,
Term tagTerm) |
List<Term> |
Client.getPostTags(Post post) |
Post |
Client.updatePost(Post post) |
| Modifier and Type | Method and Description |
|---|---|
Post |
Posts.createPost(Map<String,Object> post,
PostStatus status) |
Post |
Posts.createPost(Post post,
PostStatus status) |
Post |
Posts.deletePost(Post post) |
Post |
Posts.getPost(Long id) |
Post |
Posts.getPost(Long id,
String context) |
Post |
Medias.setPostFeaturedImage(Long postId,
Media media) |
Post |
Posts.updatePost(Post post)
PUT /post/{id}
|
Post |
Posts.updatePostField(Long postId,
String field,
Object value) |
| Modifier and Type | Method and Description |
|---|---|
static SearchRequest<Post> |
Posts.list()
Search request just returning the first page of posts.
|
| Modifier and Type | Method and Description |
|---|---|
Post |
Posts.createPost(Post post,
PostStatus status) |
Term |
Tags.createPostTag(Post post,
Term tag) |
Post |
Posts.deletePost(Post post) |
Term |
Tags.deletePostTag(Post post,
Term tagTerm,
boolean force) |
Term |
Tags.getPostTag(Post post,
Term tagTerm) |
List<Term> |
Tags.getPostTags(Post post) |
Post |
Posts.updatePost(Post post)
PUT /post/{id}
|
| Modifier and Type | Method and Description |
|---|---|
Post |
PostBuilder.build() |
| Modifier and Type | Method and Description |
|---|---|
static UpdatePostRequest |
UpdatePostRequest.forPost(Post post) |
Copyright © 2016. All rights reserved.