File tree Expand file tree Collapse file tree 5 files changed +7
-8
lines changed
src/main/java/com/contentstack/cms/stack Expand file tree Collapse file tree 5 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -782,13 +782,14 @@ public Call<ResponseBody> unpublish(@NotNull JSONObject requestBody) {
782782 /**
783783 * Get instance of taxonomy search filter class instance through which we can query on taxonomy based on content type
784784 * <p><b>Examples</b></p>
785- * <p>
786785 * <pre>
787786 * JSONObject query = new JSONObject();
788787 * query.put("taxonomies.taxonomy_uid", "{ \"$in\" : [\"term_uid1\" , \"term_uid2\" ] }");
789- * Response<ResponseBody> response = entry.query(query).execute();
788+ * Call response = entry.query(query).execute();
790789 * </pre>
791- * instance of {@link Terms}
790+ *
791+ * @param query the request body of type {@link JSONObject}
792+ * @return instance of {@link Terms}
792793 */
793794 public Call <ResponseBody > query (@ NotNull JSONObject query ) {
794795 validateCT ();
Original file line number Diff line number Diff line change 1111import java .util .Map ;
1212
1313/**
14- * <b>Languages</b>
15- * <br>
1614 * Contentstack has a sophisticated multilingual capability. It allows you to
1715 * create and publish entries in any
1816 * language. This feature allows you to set up multilingual websites and cater
Original file line number Diff line number Diff line change 99import java .util .HashMap ;
1010
1111/**
12- * <b>Management tokens: </b> <br>
1312 * To authenticate Content Management API (CMA) requests over your stack
1413 * content, you can use Management Tokens
1514 * <br>
Original file line number Diff line number Diff line change @@ -258,6 +258,9 @@ public Terms terms() {
258258 * <pre>JSONObject object = new JSonObject();</pre>
259259 * <pre>object.put("taxonomies.color", Object)</pre>
260260 * <pre>Taxonomy taxonomy = stack("authtoken").taxonomy("taxonomyId").filterTaxonomy(object);</pre>
261+ *
262+ * @param query the query of type @{@link JSONObject}
263+ * @return instance of {@link Call}
261264 */
262265 public Call <ResponseBody > query (JSONObject query ) {
263266 return this .taxonomyService .filterTaxonomy (this .headers , query );
Original file line number Diff line number Diff line change 44import retrofit2 .Retrofit ;
55
66/**
7- * <b>Tokens</b>
8- * <br>
97 * Contentstack provides different types of tokens to authorize API requests
108 *
119 * @author ***REMOVED***
You can’t perform that action at this time.
0 commit comments