@@ -205,27 +205,19 @@ public Call<ResponseBody> subfolder(
205205 * @param requestBody
206206 * Request body for the asset file
207207 * <ul>
208- * <br>
209208 * <li>asset[upload] (mandatory) Select the input type as 'File'. Then, browse and select the asset file that
210209 * you want to import. Supported file types include JPG, GIF, PNG, XML, WebP, BMP, TIFF, SVG, and PSD</li>
211- * <br>
212210 * <li>asset[parent_uid] (optional) If needed, assign a parent folder to your asset by passing the UID of the
213211 * parent folder.</li>
214- * <br>
212+ *
215213 * <li>asset[title] (optional) Enter a title for your uploaded asset.</li>
216- * <br>
217214 * <li>asset[description] (optional) Enter a description for your uploaded asset.</li>
218- * <br>
219215 * <li>asset[tags] (optional) Assign a specific tag(s) to your uploaded asset. {@link #addParam(String, Object)}
220216 * The query parameter for the asset to upload</li>
221- * <br>
222217 * <li>relative_urls(optional) Set this to 'true' to display the relative URL of the asset. Example:false</li>
223- * <br>
224218 * <li>include_dimension(optional) Set this to 'true' to include the dimensions (height and width) of the image
225219 * in the response.</li>
226- * <br>
227220 * </ul>
228- * <br>
229221 * @return Call
230222 * @see <a href="https://www.contentstack.com/docs/developers/apis/content-management-api/#upload-asset"> Upload
231223 * Asset</a>
@@ -319,7 +311,7 @@ public Call<ResponseBody> generatePermanentUrl(String uid, JSONObject body) {
319311 * @return Call
320312 * @see <a
321313 * href="https://www.contentstack.com/docs/developers/apis/content-management-api/#generate-permanent-asset-url">
322- * Generate Permanent Asset Url
314+ * Generate Permanent Asset Url</a>
323315 * @see #addHeader(String, Object) to add headers
324316 * @see #addParam(String, Object) to add query params
325317 * @since 1.0.0
@@ -333,6 +325,7 @@ public Call<ResponseBody> getPermanentUrl(String uid, String slugUrl) {
333325 *
334326 * @param uid
335327 * the UID of the asset you want to delete asset
328+ * @return Call
336329 * @see <a href="https://www.contentstack.com/docs/developers/apis/content-management-api/#delete-asset"> Delete
337330 * Asset
338331 * </a>
@@ -350,7 +343,7 @@ public Call<ResponseBody> delete(@NotNull String uid) {
350343 * @return Call
351344 * @see <a
352345 * href="https://www.contentstack.com/docs/developers/apis/content-management-api/#get-information-on-rte-assets">
353- * Get Information On RTE Assets
346+ * Get Information On RTE Assets</a>
354347 * @see #addHeader(String, Object) to add headers
355348 * @see #addParam(String, Object) to add query params
356349 * @since 1.0.0
@@ -381,7 +374,7 @@ public Call<ResponseBody> rteInformation() {
381374 * @return Call
382375 * @see <a
383376 * href="https://www.contentstack.com/docs/developers/apis/content-management-api/#get-information-on-rte-assets">
384- * Get Information On RTE Assets
377+ * Get Information On RTE Assets</a>
385378 * @see #addHeader(String, Object) to add headers
386379 * @since 1.0.0
387380 */
@@ -416,7 +409,7 @@ public Call<ResponseBody> setVersionName(@NotNull String assetUid, int versionNu
416409 * @return Call
417410 * @see <a
418411 * href="https://www.contentstack.com/docs/developers/apis/content-management-api/#get-details-of-all-versions-of-an-asset">
419- * Get Details of All Versions of an Asset
412+ * Get Details of All Versions of an Asset</a>
420413 * @see #addParam(String, Object) to add Query parameters
421414 * @see #addHeader(String, Object) to add headers
422415 * @since 1.0.0
@@ -438,7 +431,7 @@ public Call<ResponseBody> getVersionNameDetails(@NotNull String assetUid) {
438431 * @return Call
439432 * @see <a
440433 * href="https://www.contentstack.com/docs/developers/apis/content-management-api/#delete-version-name-of-asset">
441- * Delete Version Name Of Asset
434+ * Delete Version Name Of Asset</a>
442435 * @see #addHeader(String, Object) to add headers
443436 * @since 1.0.0
444437 */
@@ -454,7 +447,7 @@ public Call<ResponseBody> deleteVersionName(@NotNull String assetUid, int versio
454447 * asset uid
455448 * @return Call
456449 * @see <a href="https://www.contentstack.com/docs/developers/apis/content-management-api/#get-asset-references">
457- * Get Asset References
450+ * Get Asset References</a>
458451 * @see #addHeader(String, Object) to add headers
459452 * @since 1.0.0
460453 */
@@ -494,23 +487,23 @@ public Call<ResponseBody> getByType(@NotNull String assetType) {
494487 * and also provide a "Title" and a "Description" for the asset. Another way to provide a "Title" and a
495488 * "Description" for the asset is to pass them as optional form-data parameters, i.e., asset[title] and
496489 * asset[description].
497- * <p >
498- * Here's an example of the raw body:
499- * <p >
490+ * <br >
491+ * <b> Here's an example of the body:</b>
492+ * <br >
500493 * <pre>
501- * @code { "asset": { "title": "Title", "description": "Description" }, "version": 3 }
494+ * { "asset": { "title": "Title", "description": "Description" }, "version": 3 }
502495 * </pre>
503496 *
504497 * @param assetUid
505498 * The UID of the asset that you want to update details.
506499 * @param requestBody
507- * JSON Request body
500+ * The request body
508501 * @return Call
509502 * @see #addHeader(String, Object) to add headers
510503 * @see #addParam(String, Object) to add query params
511504 * @since 1.0.0
512505 */
513- public Call <ResponseBody > updateDetails (@ NotNull String assetUid , @ NotNull JSONObject requestBody ) {
506+ public Call <ResponseBody > updateDetails (@ NotNull String assetUid , JSONObject requestBody ) {
514507 return this .service .updateDetails (this .headers , assetUid , this .params , requestBody );
515508 }
516509
@@ -530,7 +523,7 @@ public Call<ResponseBody> updateDetails(@NotNull String assetUid, @NotNull JSONO
530523 * JSON Request body
531524 * @return Call
532525 * @see <a href="https://www.contentstack.com/docs/developers/apis/content-management-api/#publish-an-asset">
533- * Publish An Asset
526+ * Publish An Asset</a>
534527 * @see #addHeader(String, Object) to add headers
535528 * @since 1.0.0
536529 */
@@ -553,7 +546,7 @@ public Call<ResponseBody> publish(@NotNull String assetUid, @NotNull JSONObject
553546 * JSON Request body
554547 * @return Call
555548 * @see <a href="https://www.contentstack.com/docs/developers/apis/content-management-api/#unpublish-an-asset">
556- * Unpublish An Asset
549+ * Unpublish An Asset</a>
557550 * @see #addHeader(String, Object) to add headers
558551 * @since 1.0.0
559552 */
@@ -575,7 +568,7 @@ public Call<ResponseBody> unpublish(
575568 * Example:false
576569 * @return Call
577570 * @see <a href="https://www.contentstack.com/docs/developers/apis/content-management-api/#unpublish-an-asset">
578- * Unpublish An Asset
571+ * Unpublish An Asset</a>
579572 * @see #addHeader(String, Object) to add headers
580573 * @see #addParam(String, Object) to add query params
581574 * @since 1.0.0
@@ -597,7 +590,7 @@ public Call<ResponseBody> singleFolder(
597590 * @return Call
598591 * @see <a
599592 * href="https://www.contentstack.com/docs/developers/apis/content-management-api/#get-a-single-folder-by-name"> Get
600- * A Single Folder By Name
593+ * A Single Folder By Name</a>
601594 * @see #addHeader(String, Object) to add headers
602595 * @see #addParam(String, Object) to add query params
603596 * @since 1.0.0
@@ -615,7 +608,7 @@ public Call<ResponseBody> getSingleFolderByName() {
615608 * @return Call
616609 * @see <a
617610 * href="https://www.contentstack.com/docs/developers/apis/content-management-api/#get-subfolders-of-a-parent-folder">
618- * Get subfolders of a parent folder
611+ * Get subfolders of a parent folder</a>
619612 * @see #addHeader(String, Object) to add headers
620613 * @see #addParam(String, Object) to add query params
621614 * @since 1.0.0
@@ -644,7 +637,7 @@ public Call<ResponseBody> getSubfolder() {
644637 * JSONObject request body
645638 * @return Call
646639 * @see <a href="https://www.contentstack.com/docs/developers/apis/content-management-api/#create-a-folder"> Create
647- * a folder
640+ * a folder</a>
648641 * @see #addHeader(String, Object) to add headers
649642 * @see #addParam(String, Object) to add query params
650643 * @since 1.0.0
@@ -674,7 +667,7 @@ public Call<ResponseBody> createFolder(@Nullable JSONObject requestBody) {
674667 * JSONObject request body { "asset": { "name": "Demo" } }
675668 * @return Call
676669 * @see <a href="https://www.contentstack.com/docs/developers/apis/content-management-api/#update-or-move-folder">
677- * Update ORr Move Folder
670+ * Update ORr Move Folder</a>
678671 * @see #addHeader(String, Object) to add headers
679672 * @see #addParam(String, Object) to add query params
680673 * @since 1.0.0
@@ -692,7 +685,7 @@ public Call<ResponseBody> updateFolder(@NotNull String folderUid, @Nullable JSON
692685 * The UID of the asset folder that you want to delete
693686 * @return Call
694687 * @see <a href="https://www.contentstack.com/docs/developers/apis/content-management-api/#delete-a-folder">
695- * Delete A Folder
688+ * Delete A Folder</a>
696689 * @see #addHeader(String, Object) to add headers
697690 * @see #addParam(String, Object) to add query params
698691 * @since 1.0.0
0 commit comments