Re-index paths on Metadata Server

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: If needed, Artifactory can re-send Metadata events to the Metadata Server in case of an inconsistent state. The API will recursively re-index artifacts under the given repository or path if a repository key or a directory path is specified. Asynchronous by default. Does not delete data associated with the given paths on the Metadata Server before re-indexing by default.

Since: 7.0.0

Security: Requires an admin user

Usage: POST /api/metadata_server/reindex?[async=true/false&delete_first=true/false]

Consumes: application/json

{
  "paths": ["libs-release-local", "libs-snapshot-local"]
}

Produces: text/plain

Sample usage:

POST /api/metadata_server/reindex