Skip to content

Commit 1516e72

Browse files
CS-42937 : Support for Early Access Header
CS-42936 : Taxonomy document and Test
1 parent 36b4cf8 commit 1516e72

File tree

5 files changed

+7
-8
lines changed

5 files changed

+7
-8
lines changed

src/main/java/com/contentstack/cms/stack/Entry.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff 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();

src/main/java/com/contentstack/cms/stack/Locale.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
import 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

src/main/java/com/contentstack/cms/stack/ManagementToken.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
import 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>

src/main/java/com/contentstack/cms/stack/Taxonomy.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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);

src/main/java/com/contentstack/cms/stack/Tokens.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
import 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***

0 commit comments

Comments
 (0)