@@ -744,12 +744,12 @@ public Call<ResponseBody> publishWithReference(@NotNull JSONObject requestBody)
744744 }
745745
746746 /**
747- * To Unpublish an entry call will unpublish an entry at once, and also, gives
748- * you the provision to unpublish an
747+ * To Un-publish an entry call will un-publish an entry at once, and also, gives
748+ * you the provision to un-publish an
749749 * entry automatically at a later date/time.
750750 * <p>
751751 * In the 'Body' section, you can specify the locales and environments from
752- * which you want to unpublish the entry.
752+ * which you want to un-publish the entry.
753753 * These details should be specified in the
754754 * <p>
755755 * <b>entry</b> parameter. However, if
@@ -778,4 +778,21 @@ public Call<ResponseBody> unpublish(@NotNull JSONObject requestBody) {
778778 return this .service .unpublish (this .headers , this .contentTypeUid , this .entryUid , requestBody );
779779 }
780780
781+
782+ /**
783+ * Get instance of taxonomy search filter class instance through which we can query on taxonomy based on content type
784+ * <p><b>Examples</b></p>
785+ * <p>
786+ * <pre>
787+ * JSONObject query = new JSONObject();
788+ * query.put("taxonomies.taxonomy_uid", "{ \"$in\" : [\"term_uid1\" , \"term_uid2\" ] }");
789+ * Response<ResponseBody> response = entry.query(query).execute();
790+ * </pre>
791+ * instance of {@link Terms}
792+ */
793+ public Call <ResponseBody > query (@ NotNull JSONObject query ) {
794+ validateCT ();
795+ return this .service .filterTaxonomy (this .headers , this .contentTypeUid , query );
796+ }
797+
781798}
0 commit comments