On-Demand Migration

Xray REST APIs

ft:sourceType
Paligo

Description: Triggers data migration on-demand.

Since: 3.18.0

Notes: The retrigger flag was introduced in Xray version 3.38.5.

Security: Requires a user with Admin permissions.

Usage: POST /api/v1/migration/trigger/{name}[?retrigger=true]

Sample Request

POST /api/v1/migration/trigger/version_misclassification_fix?retrigger=true

Response Codes:

  • 200 success- migration was triggered

  • 400 bad request- migration is not registered as on-demand migration

  • 409 status conflict- migration was completed and the ‘retrigger’ boolean flag was not passed

  • 500- internal server error