Tungsten University
TungstenReplicator Master Class
Intermediate

Using the API

Learn how to enable and use the Tungsten Replicator REST API to manage services programmatically, with secure-by-default settings, version differences between APIv2 and APIv8, and practical curl and tapi examples for common operations in MySQL replication environments.​

This session explains mandatory credentials in v8 (optional in v7), localhost-only and SSL defaults, per-layer entry points, and per-host auth, then demonstrates how to query service status, take services online/offline, reset, change roles, and inspect THL information via GET/PUT/POST/DELETE endpoints.​

You’ll also learn how to configure API parameters in tungsten.ini and how to use curl or tapi for operational and automation workflows.

Topics Covered

  • 00:00 Introduction
  • 00:16 Topics
  • 00:30 The API
  • 02:31 Enabling the API credentials
  • 03:08 Enabling the API
  • 04:03 Accessing the API
  • 04:49 Examples
  • 06:02 Replicator API
  • 07:09 Summary
  • 07:23 Thank you