wp-api-v2-client-java
wp-api-v2-client-java copied to clipboard
WP-API v2 Java Client
Hello Team. While creating / updating a post, value passed for Slug is getting ignored. ``` Post post = PostBuilder.aPost() .withTitle(TitleBuilder.aTitle().withRendered("ABCDTitleUpdate124").withRaw("ABCDTitleUpdate124").build()) .withExcerpt(ExcerptBuilder.anExcerpt().withRendered("ABCDTitle124Excerpt").build()) .withContent(ContentBuilder.aContent().withRendered("ABCDTitle124Content").build()) // This string will get ignored completely...
Hi I am able to connect and retrieve categories. I am getting an error when trying to make a post. `final Post post = aPost().withTitle(aTitle().withRendered(expectedTitle).build()) .withExcerpt(anExcerpt().withRendered(expectedExcerpt).build()) .withContent(aContent().withRendered(expectedContent).build()) .withCategories(catogeryList) .build();` java.lang.RuntimeException:...
Hello, dear developer! I have builded jar from source code with maven. Steps to reproduce the problem: - download the project - navigate via terminal (cd {path}) - mvn compile...
Hello, I have a problem with the get of a post with the context "embed". The additionalProperties attribute is empty when I use this context, however it is not empty...
Hello! First of all, thank you so much for this java client. I have some questions and because of the lack of documentation I would like to clarify them with...
Any existed api for WordPress client to get all posts by author name or id? Thanks.
Hi, I tried searching for posts. I need to find those having a post with a certain title with the "draft" status. ``` SearchRequest sr = SearchRequest.Builder.aSearchRequest(Post.class) .withUri(Request.POSTS) .withFilter("title",episode.getTitle()) .withFilter("status","draft")...
[https://forum.blubrry.com/index.php?topic=3466.0](https://forum.blubrry.com/index.php?topic=3466.0) I read here that you need to add information to custom fields in order to do this `$enclosure_value = $row['url']; $enclosure_value .= "\n"; $enclosure_value .= $row['size']; $enclosure_value .= "\n";...
The method to create a media item is: `Wordpress.createMedia(mediaObject:Media, resource:Resource)` This allows for using ByteArrayResource, but an HTTP/400 error response is returned.
For example, when creating multiple tags on a post, it might be better to create the tags and then set them in a batch instead of updating the post each...