How to recalculate the "packages.ref.json" file?

ARTIFACTORY: What is the “packages.ref.json” file in Artifactory Conan repositories?

AuthorFullName__c
Fadi Rouhana
articleNumber
000005405
ft:sourceType
Salesforce
FirstPublishedDate
2022-09-12T10:17:13Z
lastModifiedDate
2022-09-12
VersionNumber
4

The recalculation of the "packages.ref.json" can be triggered by using the Calculate Conan Repository Metadata REST API endpoint, which is only supported for local Conan repositories:

curl -XPOST https://JFROG_URL/artifactory/api/conan/conan-local/reindex

As stated in our documentation, the calculation can be synchronous (the default) or asynchronous. More details regarding the above REST API can be found here.