Expand my Community achievements bar.

Assets HTTP API should contain lastReplicated metadata

Avatar

Level 2

2/3/21

Request for Feature Enhancement (RFE) Summary: The HTTP Assets API should also capture metadata such as lastReplicated date.
Use-case:

The HTTP Assets API endpoint will be consumed by channels. (Apps, Salesforce etc). The need for this lastReplicated date is so that channels only retrieve the Content Fragment (CF) if it has changed, if not, the cached version at their end is used. 

This would be a good feature add to consider.

Current/Experienced Behavior: The HTTP Assets API does not contain the lastReplicated date for the CFs. Our channels consume this endpoint. Because the lastReplicated date is not available in this API, we need to build a custom solution that provides this piece of info to Channels as another API.
Improved/Expected Behavior: The HTTP Assets API will contain the lastReplicated date metadata for the CFs, so channels only retrieve the CF if it has changed.
Environment Details (AEM version/service pack, any other specifics if applicable): AEM 6.5.7
Customer-name/Organization name: ANZ
Screenshot (if applicable): Can be seen on OOTB HTTP Assets API for a Content Fragment for example.
Code package (if applicable):  
3 Comments

Avatar

Employee

2/19/21

Hi @AnjaliBiddanda 

This request has been raised to the product team via the Jira CQ-4316819. The product team will triage this request to verify feasibility based on prioritization model. This post will be updated according to the Jira request status.

Status changed to: Investigating

Avatar

Level 2

4/13/21

Hi

 

Can the user somehow configure, which metadata fields will be returned via asset API?

I need some additional fields, but unfortunately, I can't see them in returned JSON.

 

Thank you in advance for any tips.