掲示板

JSON Web Service for document tag category update

7年前 に Sourabh Lonikar によって更新されました。

JSON Web Service for document tag category update

Junior Member 投稿: 42 参加年月日: 16/11/14 最新の投稿
Hi everyone,
I am exploring JSON web services exposed by Liferay in "/api/jsonws" url. I want to know if its possible to update a document with a tag and category using such web service. But all exposed web services related to Tag and categories (such as update-category, add-tag etc. i.e part of AssetTag & AssetCategory) only refer to tags and category modification independent of their association with any asset.

Is there any web service which lists tags & categories associated with any asset (preferably document) ? Or do I have to go via portlet route for achieving the same ? This seems pretty decent requirement.

As per this thread, it seems tags and categories are intrinsically modified only through web services.

In case this is not possible through JSON web services, will below method be useful for updating document with tags and categories ?

updateAsset(long userId, FileEntry fileEntry, FileVersion fileVersion, long[] assetCategoryIds, String[] assetTagNames, long[] assetLinkEntryIds)

Usage: Updating File


Thanks in advance
Sourabh