@@ -38,13 +38,11 @@ protected GlobalField(Retrofit retrofit, HashMap<String, Object> stackHeaders) {
3838 /**
3939 * <b>Get All Global Fields</b>
4040 * <p>
41- * The Get <b>All global fields</b> call returns comprehensive information of
42- * all the global fields available in a
41+ * The Get <b>All global fields</b> call returns comprehensive information of all the global fields available in a
4342 * particular stack in your account
4443 * <p>
4544 * <b>Note:</b> You need to use either the stack's Management Token or the user
46- * Authtoken (any one is mandatory),
47- * along with the stack API key, to make a valid Content Management API request.
45+ * Authtoken (any one is mandatory), along with the stack API key, to make a valid Content Management API request.
4846 * Read more about authentication.
4947 *
5048 * @return retrofit2.Call
@@ -56,20 +54,17 @@ public Call<ResponseBody> fetch() {
5654 /**
5755 * <b>Get Single Global Field:</b>
5856 * <p>
59- * The Get a <b>Single global field</b> request allows you to fetch
60- * comprehensive details of a specific global
57+ * The Get a <b>Single global field</b> request allows you to fetch comprehensive details of a specific global
6158 * field.
6259 * <p>
63- * When executing the API call, in the <b>URI Parameters</b> section, provide
64- * the unique ID of your global field.
60+ * When executing the API call, in the <b>URI Parameters</b> section, provide the unique ID of your global field.
6561 * <p>
6662 * <b>Note:</b> You need to use either the stack's Management Token or the user
67- * Authtoken (any one is mandatory),
68- * along with the stack API key, to make a valid Content Management API request.
63+ * Authtoken (any one is mandatory), along with the stack API key, to make a valid Content Management API request.
6964 * Read more about authentication.
7065 *
7166 * @param globalFiledUid
72- * the global filed uid
67+ * the global filed uid
7368 * @return retrofit2.Call
7469 */
7570 public Call <ResponseBody > single (@ NotNull String globalFiledUid ) {
@@ -79,21 +74,18 @@ public Call<ResponseBody> single(@NotNull String globalFiledUid) {
7974 /**
8075 * <b>Create Global Field</b>
8176 * <p>
82- * The <b>Create a global field</b> request allows you to create a new global
83- * field in a particular stack of your
84- * Contentstack account. You can use this global field in any content type
85- * within your stack.
77+ * The <b>Create a global field</b> request allows you to create a new global field in a particular stack of your
78+ * Contentstack account. You can use this global field in any content type within your stack.
8679 * <p>
8780 * <b>Note:</b> Only the stack owner, administrator and developer can create
8881 * global fields
8982 * <p>
9083 * <b>Note:</b> You need to use either the stack's Management Token or the user
91- * Authtoken (any one is mandatory),
92- * along with the stack API key, to make a valid Content Management API request.
84+ * Authtoken (any one is mandatory), along with the stack API key, to make a valid Content Management API request.
9385 * Read more about authentication.
9486 *
9587 * @param requestBody
96- * the request body
88+ * the request body
9789 * @return retrofit2.Call
9890 */
9991 public Call <ResponseBody > create (@ NotNull JSONObject requestBody ) {
@@ -103,21 +95,18 @@ public Call<ResponseBody> create(@NotNull JSONObject requestBody) {
10395 /**
10496 * <b>Update a global field </b>
10597 * <p>
106- * The <b>Update a global field</b> request allows you to update the schema of
107- * an existing global field.
98+ * The <b>Update a global field</b> request allows you to update the schema of an existing global field.
10899 * <p>
109- * When executing the API call, in the <b>URI Parameters</b> section, provide
110- * the unique ID of your global field.
100+ * When executing the API call, in the <b>URI Parameters</b> section, provide the unique ID of your global field.
111101 *
112102 * <b>Note:</b> You need to use either the stack's Management Token or the user
113- * Authtoken (any one is mandatory),
114- * along with the stack API key, to make a valid Content Management API request.
103+ * Authtoken (any one is mandatory), along with the stack API key, to make a valid Content Management API request.
115104 * Read more about authentication.
116105 *
117106 * @param globalFiledUid
118- * the global filed uid
107+ * the global filed uid
119108 * @param requestBody
120- * the request body
109+ * the request body
121110 * @return retrofit2.Call
122111 */
123112 public Call <ResponseBody > update (@ NotNull String globalFiledUid , @ NotNull JSONObject requestBody ) {
@@ -130,13 +119,12 @@ public Call<ResponseBody> update(@NotNull String globalFiledUid, @NotNull JSONOb
130119 * The Delete global field request allows you to delete a specific global field.
131120 * <p>
132121 * <b>Warning:</b> If your Global field has been referred within a particular
133- * content type, then you will need to
134- * pass an additional query parameter force:true to delete the Global field.
122+ * content type, then you will need to pass an additional query parameter force:true to delete the Global field.
135123 * <p>
136124 * <b>here</b>: force:true is already applied in this request call
137125 *
138126 * @param globalFiledUid
139- * the global filed uid
127+ * the global filed uid
140128 * @return retrofit2.Call
141129 */
142130 public Call <ResponseBody > delete (@ NotNull String globalFiledUid ) {
@@ -145,18 +133,15 @@ public Call<ResponseBody> delete(@NotNull String globalFiledUid) {
145133
146134 /**
147135 * <b>Import a global field</b>
148- * The <br>
149- * Import global field <br>
150- * call imports global fields into <b>Stack</b>
136+ * The <br> Import global field <br> call imports global fields into <b>Stack</b>
151137 * <br>
152138 * <b>[Note]</b>
153139 * <p>
154- * You need to use either the stack's Management Token or the user Authtoken
155- * (any one is mandatory), along with the
140+ * You need to use either the stack's Management Token or the user Authtoken (any one is mandatory), along with the
156141 * stack API key, to make a valid Content Management API request.
157142 *
158143 * @param jsonGlobalField
159- * The Json object to pass as body
144+ * The Json object to pass as body
160145 * @return retrofit2.Call
161146 */
162147 public Call <ResponseBody > imports (@ NotNull Map <String , Object > jsonGlobalField ) {
@@ -170,11 +155,10 @@ public Call<ResponseBody> imports(@NotNull Map<String, Object> jsonGlobalField)
170155 /**
171156 * <b>Export global field</b>
172157 * <p>
173- * This request is used to export a specific global field and it's schema, The
174- * data is exported in JSON format
158+ * This request is used to export a specific global field and it's schema, The data is exported in JSON format
175159 *
176160 * @param globalFiledUid
177- * the global filed uid
161+ * the global filed uid
178162 * @return the retrofit2.Call
179163 */
180164 public Call <ResponseBody > export (@ NotNull String globalFiledUid ) {
0 commit comments