Issues with Assets API | Community
Skip to main content
Level 3
December 11, 2023

Issues with Assets API

  • December 11, 2023
  • 2 replies
  • 823 views

Hello All,

 

We're using assets api to retrieve the content fragments. i.e www.author-aem/api/assets/cf/cflist.json and we are getting the response with the list of CFs which comes under the specific folder expect one CF(E.g. product-list). If we rename the specific content fragment (E.g. From product-list to any name), we're able to get the renamed content fragment and if we rename it back, it is not appearing in the response.

 

We have check the permission of the folder and also the content fragment and don't see any issues related to permission. Can you someone tell me what could be the issue and how to fix it? Is this related to indexing issue or something else? I have even triggered the indexing for /oak:index/damAssetLucene.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

arunpatidar
Community Advisor
Community Advisor
December 12, 2023

Hi @s1101v 
Could you please check if, is there any kind of cache?

Could you also check the metadata of the assets to make sure Title and other properties also updated with rename.

Arun Patidar
s1101vAuthor
Level 3
December 12, 2023

Thanks for your reply. Can you confirm if you're referring about any specific cache for assets api ? Title and Metadata properties are getting updated with the rename.

arunpatidar
Community Advisor
Community Advisor
December 13, 2023

Browser, Dispatcher, CDN cache

Arun Patidar
kautuk_sahni
Community Manager
Community Manager
January 2, 2024

@s1101v Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Kautuk Sahni