Skip to main content
Version: 1.17.1

API Reference

LiveData Migrator exposes a REST API for use by external clients. These API resources provide equivalent functionality to the commands described in the Command Reference except for the commands related to metadata migrations.

You can access the API documentation for LiveData Migrator directly on your host machine:
http(s)://<ldm-hostname>:<ldm-port>/ldm-api.html

Example
http://localhost:18080/ldm-api.html

This version will reflect exactly the API exposed from your instance of LiveData Migrator.

LiveData Migrator Swagger Documentation

Access REST API documentation on your network#

LiveData Migrator's API documentation can only be viewed from the LDM host machine. This approach minimizes the risk of unauthorized access. However, if you need to access the documentation over your network, take the following steps:

  1. Open /etc/wandisco/livedata-migrator/application.properties.
  2. Delete or comment out the server.address=127.0.0.0 line.
  3. Save the file changes.
  4. Restart the LiveData Migrator service to apply the change:
    restart livedata-migrator.service
  5. Check that access to the documentation is now available on your network:
    Example
    http://LDM-hostname:18080/ldm-api.html
  6. (Optional) Once you have finished using the documentation, consider restoring the server.address entry to secure its access.

Metadata migrations#

Commands related to metadata migrations (such as hive agent, hive rule, hive migration) are serviced through a different REST API port.

Access the API documentation for metadata migrations on your host machine:
http(s)://<ldm-hostname>:<hvm-port>/docs

Example
http://localhost:6780/docs