Description: Recalculates the npm search index for this repository (local/virtual). See the npm integration documentation for more details. Supported by local and virtual repositories.
Notes: Requires Artifactory Pro.
Security: Up to version 4.8 , requires a valid admin user. From version 4.8 only requires the set of permissions assumed by Manage (Manage + Delete/Overwrite + Deploy/Cache + Annotate + Read).
Usage: POST /artifactory/api/npm/{repoKey}/reindex
Produces: application/text
Since: 3.2.0
Sample Output:
POST /artifactory/api/npm/npm-local/reindex Recalculating index for npm repository npm-local scheduled to run