@@ -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,22 @@ 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+ * <pre>
786+ * JSONObject query = new JSONObject();
787+ * query.put("taxonomies.taxonomy_uid", "{ \"$in\" : [\"term_uid1\" , \"term_uid2\" ] }");
788+ * Call response = entry.query(query).execute();
789+ * </pre>
790+ *
791+ * @param query the request body of type {@link JSONObject}
792+ * @return instance of {@link Terms}
793+ */
794+ public Call <ResponseBody > query (@ NotNull JSONObject query ) {
795+ validateCT ();
796+ return this .service .filterTaxonomy (this .headers , this .contentTypeUid , query );
797+ }
798+
781799}
0 commit comments