At least since 3.38.0, the "lastDownloaded" attribute returned by the Search REST API is returning a null value.
The same attribute when viewed in the UI, or via the Assets or Components REST API is populated with a timestamp value.
To reproduce, upload a component to a repo then call the Search or Search Assets API and observe the "lastDownloaded" value is null.
Note: "fileSize" field is still 0, which was mentioned in JIRA: https://issues.sonatype.org/browse/NEXUS-31411
When the Search API is called, the "lastDownloaded" field should be populated with the asset's correct last modified timestamp.
This is a regression as in previous versions this field was correctly populated.
Note: "lastDownloaded" can be null if asset is never downloaded