Hello,everyone i want to change the icon of the file using rest api.but I couldn't find any information on this.Can i solve this problem?
AFAIK, there is no REST API for changing icons. Icons may part of Share theme.
Anyway, you may use custom indicators and evaluators in Alfresco Share to be a applied for a custom aspect, for example, to do something similar to your question. In that way, you could apply the cited aspect via REST API, and then, to see some indicator applied in your file via Alfresco Share.
Retrieving data ...