{"id":42345,"date":"2026-02-23T08:24:00","date_gmt":"2026-02-23T07:24:00","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/?p=42345"},"modified":"2026-02-22T18:24:31","modified_gmt":"2026-02-22T17:24:31","slug":"production-ready-goldengate-rest-client-in-python","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/production-ready-goldengate-rest-client-in-python\/","title":{"rendered":"Production-ready GoldenGate REST client in Python"},"content":{"rendered":"\n<p>In this blog, I provide GoldenGate administrators with a <strong>fully working, production-ready Python client<\/strong> to efficiently handle <strong>GoldenGate REST API<\/strong> calls. From extract creation to user management, it has never been easier to manage and monitor your GoldenGate deployments !<\/p>\n\n\n\n<div class=\"wp-block-yoast-seo-table-of-contents yoast-table-of-contents\"><h2>Table of contents<\/h2><ul><li><a href=\"#h-basic-oggrestapi-python-class\" data-level=\"2\">Basic OGGRestAPI Python class<\/a><\/li><li><a href=\"#h-example-of-a-rest-api-method-in-the-client\" data-level=\"2\">Example of a REST API method in the client<\/a><\/li><li><a href=\"#h-where-to-find-the-code\" data-level=\"2\">Where to find the code ?<\/a><\/li><li><a href=\"#h-how-to-use-the-client\" data-level=\"2\">How to use the client ?<\/a><\/li><li><a href=\"#h-call-examples\" data-level=\"2\">Call examples<\/a><\/li><li><a href=\"#h-method-naming-explanation\" data-level=\"2\">Method naming explanation<\/a><\/li><\/ul><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-basic-oggrestapi-python-class\">Basic <code>OGGRestAPI<\/code> Python class<\/h2>\n\n\n\n<p>In a previous <a href=\"https:\/\/www.dbi-services.com\/blog\/goldengate-rest-api-basics-with-python\/\" target=\"_blank\" rel=\"noreferrer noopener\">blog post<\/a>, I presented a basic Python script for making calls to the GoldenGate REST API. I also provided an <code>OGGRestAPI<\/code> Python class to handle the connections and API responses. This class serves as the base structure of the client.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>import requests\nimport urllib3\n\n\nclass OGGRestAPI:\n    def __init__(self, url, username=None, password=None, ca_cert=None, verify_ssl=True,\n                 test_connection=False, timeout=None):\n        \"\"\"\n        Initialize Oracle GoldenGate REST API client.\n\n        :param url: Base URL of the OGG REST API. It can be:\n                    'http(s):\/\/hostname:port' without NGINX reverse proxy,\n                    'https:\/\/nginx_host:nginx_port' with NGINX reverse proxy.\n        :param username: service username\n        :param password: service password\n        :param ca_cert: path to a trusted CA cert (for self-signed certs)\n        :param verify_ssl: bool, whether to verify SSL certs\n        :param test_connection: if True, will attempt to retrieve API versions on init\n        :param timeout: request timeout in seconds\n        \"\"\"\n        self.base_url = url\n        self.username = username\n        self.swagger_version = '2026.01.27'\n        self.auth = (self.username, password)\n        self.headers = {'Accept': 'application\/json', 'Content-Type': 'application\/json'}\n        self.verify_ssl = ca_cert if ca_cert else verify_ssl\n        self.timeout = timeout\n        self.session = requests.Session()\n        self.session.auth = self.auth\n        self.session.headers.update(self.headers)\n\n        if not verify_ssl and self.base_url.startswith('https:\/\/'):\n            # Disable InsecureRequestWarning if verification is off\n            urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)\n\n        # Optional connection check\n        if test_connection:\n            try:\n                self._request('GET', '\/services', extract=False)\n                print(f'Connected to OGG REST API at {self.base_url}')\n            except Exception as e:\n                print(f'Error connecting to OGG REST API: {e}')\n                raise\n\n    def _request(self, method, path, *, params=None, data=None, extract=True):\n        url = f'{self.base_url}{path}'\n        response = self.session.request(\n            method,\n            url,\n            auth=self.auth,\n            headers=self.headers,\n            params=params,\n            json=data,\n            verify=self.verify_ssl,\n            timeout=self.timeout\n        )\n        self._check_response(response)\n        result = self._parse(response)\n        return self._extract_main(result) if extract else result\n\n    def _build_path(self, template, path_params=None):\n        path_params = path_params or {}\n        return template.format(**path_params)\n\n    def _call(self, method, template, *, path_params=None, params=None, data=None, extract=True):\n        path = self._build_path(template, path_params=path_params)\n        result = self._request(method, path, params=params, data=data, extract=False)\n        if extract:\n            return self._extract_main(result)\n        return result\n\n    def _get(self, path, params=None, extract=True):\n        return self._request('GET', path, params=params, extract=extract)\n\n    def _post(self, path, data=None, extract=True):\n        return self._request('POST', path, data=data, extract=extract)\n\n    def _put(self, path, data=None, extract=True):\n        return self._request('PUT', path, data=data, extract=extract)\n\n    def _patch(self, path, data=None, extract=True):\n        return self._request('PATCH', path, data=data, extract=extract)\n\n    def _delete(self, path, extract=True):\n        return self._request('DELETE', path, extract=extract)\n\n    def _check_response(self, response):\n        if not response.ok:\n            if 'messages' in response.json():\n                messages = response.json().get('messages', &#091;])\n                raise Exception(\n                    ' ; '.join(&#091;f\"{message&#091;'severity']}: {message&#091;'title']}\" for message in messages])\n                )\n            else:\n                print(f'HTTP {response.status_code}: {response.text}')\n                response.raise_for_status()\n\n    def _parse(self, response):\n        try:\n            return response.json()\n        except ValueError:\n            return response.text\n\n    def close(self):\n        self.session.close()\n\n    def _extract_main(self, result):\n        if not isinstance(result, dict):\n            return result\n\n        resp = result.get('response', result)\n        if 'items' not in resp:\n            return resp\n\n        exclude = {'links', '$schema'}\n        return &#091;{k: v for k, v in i.items() if k not in exclude} for i in resp&#091;'items']]<\/code><\/pre>\n\n\n\n<p>While this is already <strong>useful when starting<\/strong> with GoldenGate automation, <strong>searching for the correct endpoints<\/strong> and methods or providing the correct parameters can quickly become daunting. That is why I decided to build and release an <strong>easy-to-use Python client<\/strong> for the GoldenGate REST API.<\/p>\n\n\n\n<p>To make things easier for developers, REST APIs often come with some sort of standard template file that will guide the user on how to query the API and interpret the results. Oracle provides a <code>swagger.json<\/code> file, which you can get for GoldenGate <a href=\"https:\/\/docs.oracle.com\/en\/database\/goldengate\/core\/26\/oggra\/swagger.json\" target=\"_blank\" rel=\"noreferrer noopener\">26ai<\/a> and <a href=\"https:\/\/docs.oracle.com\/en\/middleware\/goldengate\/core\/19.1\/oggra\/swagger.json\" target=\"_blank\" rel=\"noreferrer noopener\">19c<\/a>.<\/p>\n\n\n\n<p>There are multiple ways online to transform these <code>Swagger<\/code> files into working Python clients, but they are very often not tailored to the specific needs of the API, and unusable in practice. Hence my proposal with this blog post.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-example-of-a-rest-api-method-in-the-client\">Example of a REST API method in the client<\/h2>\n\n\n\n<p>There are around 300 methods included in the client that I provide. Here is an example with the <code>create_alias<\/code> method.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Endpoint: \/services\/{version}\/authorizations\/{role}\/{user}\ndef create_user(self, user, role, data=None, version='v2'):\n    \"\"\"\n    POST \/services\/{version}\/authorizations\/{role}\/{user}\n    Required Role: Security\n    Create a new Authorization User Resource.\n\n    Parameters:\n        user (string): User Resource Name Example: user_example\n        role (string): Authorization Role Resource Name Example: User\n        version (string): Oracle GoldenGate Service API version. Example: v2\n        body (object):  Example: body_example\n\n    Example:\n        client.create_user(\n            user='user_example',\n            role='User',\n            data={\n                \"credential\": \"password-A1\",\n                \"info\": \"Credential Information\"\n            })\n    \"\"\"\n    return self._call(\n        \"POST\",\n        \"\/services\/{version}\/authorizations\/{role}\/{user}\",\n        path_params={\"user\": user, \"role\": role, \"version\": version},\n        data=data,\n    )<\/code><\/pre>\n\n\n\n<p>With this method, you can easily create an alias in GoldenGate, with the following code. But more on that later.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-where-to-find-the-code\">Where to find the code ?<\/h2>\n\n\n\n<p>The full code is available in this <a href=\"https:\/\/github.com\/juliendlttr\/ogg\" target=\"_blank\" rel=\"noreferrer noopener\">GitHub repository<\/a>. Feel free to use it in your deployments. I provided one Python class for GoldenGate 26ai, one for 23ai (if you are still using it) and another one for GoldenGate 19c. For the most basic functions, there is not much difference between the clients, but for more advanced usage, I would suggest using the code dedicated to the proper version of GoldenGate.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-to-use-the-client\">How to use the client ?<\/h2>\n\n\n\n<p>Administering your GoldenGate deployments with this client is straightforward. Just start by importing the class and creating a client instance.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>from oggrestapi import OGGRestAPI\n\n# Connect to http:\/\/vmogg:7809 with user 'ogg'\nogg_client = OGGRestAPI(host=\"vmogg\", port=7809, username=\"ogg\", password=\"ogg\", protocol=\"http\")<\/code><\/pre>\n\n\n\n<p>The connection status is displayed when the client is initialized:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&gt;&gt;&gt; from oggrestapi import OGGRestAPI\n&gt;&gt;&gt; ogg_client = OGGRestAPI(url=\"http:\/\/vmogg:7809\", username=\"ogg\", password=\"ogg\")\nConnected to OGG REST API at http:\/\/vmogg:7809<\/code><\/pre>\n\n\n\n<p>To illustrate the benefits of using this client, here is what a standard API call to create a GoldenGate user would look like with Python.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>import requests\n\nrole = \"User\"\nuser = \"ogg_username\"\nurl = f\"http:\/\/vmogg:7809\/services\/v2\/authorizations\/{role}\/{user}\"\nauth = (\"ogg_user\", \"ogg_password\")\ndata = {\n    \"credential\": \"your_password\"\n}\n\nresult = requests.post(url, auth=auth, json=data)<\/code><\/pre>\n\n\n\n<p>The same operation using the Python client becomes:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ogg_client.create_user(\n    user=\"ogg_username\",\n    role=\"User\",\n    data={\"credential\": \"your_password\"}\n)<\/code><\/pre>\n\n\n\n<p>All endpoint parameters (such as <code>user<\/code> and <code>role<\/code>, in the example above) are now method arguments (<code>create_user<\/code>, in this case). To keep things simple and not over-engineer, the <code>data<\/code> payload of the API is kept. But depending on the endpoint, you could easily add wrapper functions to further simplify usage.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-call-examples\">Call examples<\/h2>\n\n\n\n<p>I give below a few other basic calls that you can use. You should pay attention to the port you are using when making calls to the API. Some endpoints are only accessible on specific services. For instance, <code>list_extracts<\/code> will only work on the administration service of a deployment (default port 7810), while <code>list_deployments<\/code> only works on the service manager (default port 7809).<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>List deployments associated with a service manager.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>&gt;&gt;&gt; ogg_client.list_deployments()\n&#091;{'name': 'ServiceManager', 'status': 'running'}, {'name': 'ogg_test_01', 'status': 'running'}]<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>List extracts in a deployment (for this one, <code>ogg_client<\/code> has to be created on the administration service of the deployment if you are not using an NGINX proxy).<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>&gt;&gt;&gt; ogg_client.list_extracts()\n&#091;{'name': 'EXT01', 'status': 'stopped'}, {'name': 'EXT02', 'status': 'running'}, {'name': 'EXT03', 'status': 'running'}]<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>List and retrieve tasks<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>&gt;&gt;&gt; ogg_client.list_tasks()\n&#091;{'name': 'purge_aa'}]\n\n&gt;&gt;&gt; ogg_client.retrieve_task('purge_aa')\n{'enabled': True, 'critical': False, 'status': 'stopped', 'command': {'name': 'purge', 'purgeType': 'trails', 'useCheckpoints': True, 'trails': &#091;{'name': 'aa', 'path': 'PDB1'}], 'keep': &#091;{'type': 'min', 'value': 48, 'units': 'hours'}]}, 'schedule': {'every': {'units': 'days', 'value': 1}}, 'restart': {'enabled': False}, '$schema': 'ogg:task'}<\/code><\/pre>\n\n\n\n<p>And of course, you can create and manage extracts, replicats, etc. through this client. All tasks available through the API are replicated in the client.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-method-naming-explanation\">Method naming explanation<\/h2>\n\n\n\n<p>I only wrote this section of the blog for those who would like to dig a bit deeper. I generated the method names using three different layers:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The basic method name is the summary given by Oracle. For instance, the endpoint given below is associated with the <code>create_alias<\/code> method. This way, the vast majority of methods written in the Python script have a very simple and canonical name that is easy to remember or to retrieve from the documentation. Words like <em><strong><code>a<\/code><\/strong><\/em>, <strong><em><code>an<\/code><\/em><\/strong> or <em><strong><code>of<\/code><\/strong><\/em> are removed from the name.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"230\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2025\/12\/ogg_restapi_create_alias-1024x230.png\" alt=\"\" class=\"wp-image-42284\" style=\"width:auto;height:150px\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2025\/12\/ogg_restapi_create_alias-1024x230.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2025\/12\/ogg_restapi_create_alias-300x67.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2025\/12\/ogg_restapi_create_alias-768x173.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2025\/12\/ogg_restapi_create_alias.png 1104w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<ul class=\"wp-block-list\">\n<li>Unfortunately, some methods still have the same summary. I give an example below with the &#8220;<strong><em>Retrieve Status<\/em><\/strong>&#8221; summary, which is available for both <strong>extracts<\/strong> and <strong>replicats<\/strong>. To avoid having two methods named <code>retrieve_status<\/code>, I resolve those duplicate methods and add the parameters that are unique to the methods. In this specific case, the <code>retrieve_status<\/code> method is not created, but there is one <code>retrieve_status_extract<\/code> and one <code>retrieve_status_replicat<\/code> method.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"199\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2025\/12\/ogg_restapi_retrieve_status_extract-1024x199.png\" alt=\"\" class=\"wp-image-42285\" style=\"width:auto;height:150px\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2025\/12\/ogg_restapi_retrieve_status_extract-1024x199.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2025\/12\/ogg_restapi_retrieve_status_extract-300x58.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2025\/12\/ogg_restapi_retrieve_status_extract-768x149.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2025\/12\/ogg_restapi_retrieve_status_extract.png 1142w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"197\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2025\/12\/ogg_restapi_retrieve_status_replicat-1024x197.png\" alt=\"\" class=\"wp-image-42286\" style=\"width:auto;height:150px\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2025\/12\/ogg_restapi_retrieve_status_replicat-1024x197.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2025\/12\/ogg_restapi_retrieve_status_replicat-300x58.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2025\/12\/ogg_restapi_retrieve_status_replicat-768x147.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2025\/12\/ogg_restapi_retrieve_status_replicat.png 1188w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<ul class=\"wp-block-list\">\n<li>More than 99% of methods are covered by the first two cases, allowing for a very efficient and clear naming. When it&#8217;s not the case, like the &#8220;<strong><em>Get a list of distribution paths<\/em><\/strong>&#8221; summary below, I search for the difference in REST API endpoint path and add the difference. Here, we get two methods named <code>get_list_distribution_paths_targets<\/code> and <code>get_list_distribution_paths_sources<\/code>.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"230\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2025\/12\/ogg_restapi_get_distpath_target.png\" alt=\"\" class=\"wp-image-42287\" style=\"width:auto;height:150px\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2025\/12\/ogg_restapi_get_distpath_target.png 710w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2025\/12\/ogg_restapi_get_distpath_target-300x97.png 300w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/><\/figure>\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"702\" height=\"222\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2025\/12\/ogg_restapi_get_distpath_source.png\" alt=\"\" class=\"wp-image-42288\" style=\"width:auto;height:150px\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2025\/12\/ogg_restapi_get_distpath_source.png 702w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2025\/12\/ogg_restapi_get_distpath_source-300x95.png 300w\" sizes=\"auto, (max-width: 702px) 100vw, 702px\" \/><\/figure>\n<\/div>\n\n\n<p>In upcoming blog posts, I will provide concrete examples on how to manage your GoldenGate deployments from A to Z with this client. In the meantime, do not hesitate if you have any feedback on this little project !<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this blog, I provide GoldenGate administrators with a fully working, production-ready Python client to efficiently handle GoldenGate REST API calls. From extract creation to user management, it has never been easier to manage and monitor your GoldenGate deployments ! Basic OGGRestAPI Python class In a previous blog post, I presented a basic Python script [&hellip;]<\/p>\n","protected":false},"author":152,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[3787,59],"tags":[3380,3182,3560,3827,3804,979,708,1257,328,3229,1089,1521,3767],"type_dbi":[3835,3826,3406,3828,3823,3801,3817,3836,3740,3231,3768,3800,3769],"class_list":["post-42345","post","type-post","status-publish","format-standard","hentry","category-goldengate","category-oracle","tag-3380","tag-3182","tag-23ai","tag-3827","tag-26ai","tag-api","tag-automation","tag-client","tag-goldengate","tag-microservices","tag-python","tag-rest","tag-restapi","type-3835","type-3826","type-23ai","type-3828","type-26ai","type-api","type-automation","type-client","type-goldengate","type-microservices","type-python","type-rest","type-restapi"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Production-ready GoldenGate REST client in Python - dbi Blog<\/title>\n<meta name=\"description\" content=\"Get the most of your GoldenGate deployments with this easy-to-use production-ready REST API Python client !\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/production-ready-goldengate-rest-client-in-python\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Production-ready GoldenGate REST client in Python\" \/>\n<meta property=\"og:description\" content=\"Get the most of your GoldenGate deployments with this easy-to-use production-ready REST API Python client !\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/production-ready-goldengate-rest-client-in-python\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-02-23T07:24:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2025\/12\/ogg_restapi_create_alias.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1104\" \/>\n\t<meta property=\"og:image:height\" content=\"248\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Julien Delattre\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Julien Delattre\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/production-ready-goldengate-rest-client-in-python\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/production-ready-goldengate-rest-client-in-python\/\"},\"author\":{\"name\":\"Julien Delattre\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/764ab019cc9dec42655b4c6b9b8e474e\"},\"headline\":\"Production-ready GoldenGate REST client in Python\",\"datePublished\":\"2026-02-23T07:24:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/production-ready-goldengate-rest-client-in-python\/\"},\"wordCount\":855,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/production-ready-goldengate-rest-client-in-python\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2025\/12\/ogg_restapi_create_alias-1024x230.png\",\"keywords\":[\"19\",\"23\",\"23ai\",\"26\",\"26ai\",\"api\",\"Automation\",\"Client\",\"GoldenGate\",\"microservices\",\"Python\",\"rest\",\"restapi\"],\"articleSection\":[\"GoldenGate\",\"Oracle\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/production-ready-goldengate-rest-client-in-python\/#respond\"]}],\"accessibilityFeature\":[\"tableOfContents\"]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/production-ready-goldengate-rest-client-in-python\/\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/production-ready-goldengate-rest-client-in-python\/\",\"name\":\"Production-ready GoldenGate REST client in Python - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/production-ready-goldengate-rest-client-in-python\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/production-ready-goldengate-rest-client-in-python\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2025\/12\/ogg_restapi_create_alias-1024x230.png\",\"datePublished\":\"2026-02-23T07:24:00+00:00\",\"author\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/764ab019cc9dec42655b4c6b9b8e474e\"},\"description\":\"Get the most of your GoldenGate deployments with this easy-to-use production-ready REST API Python client !\",\"breadcrumb\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/production-ready-goldengate-rest-client-in-python\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/production-ready-goldengate-rest-client-in-python\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/production-ready-goldengate-rest-client-in-python\/#primaryimage\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2025\/12\/ogg_restapi_create_alias.png\",\"contentUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2025\/12\/ogg_restapi_create_alias.png\",\"width\":1104,\"height\":248},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/production-ready-goldengate-rest-client-in-python\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/www.dbi-services.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Production-ready GoldenGate REST client in Python\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/\",\"name\":\"dbi Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/764ab019cc9dec42655b4c6b9b8e474e\",\"name\":\"Julien Delattre\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/a97d00e680bbf237126e24b65281cbcb66cd20bd1ed2d14bf928991b2bf68eb5?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a97d00e680bbf237126e24b65281cbcb66cd20bd1ed2d14bf928991b2bf68eb5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/a97d00e680bbf237126e24b65281cbcb66cd20bd1ed2d14bf928991b2bf68eb5?s=96&d=mm&r=g\",\"caption\":\"Julien Delattre\"},\"url\":\"https:\/\/www.dbi-services.com\/blog\/author\/juliendelattre\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Production-ready GoldenGate REST client in Python - dbi Blog","description":"Get the most of your GoldenGate deployments with this easy-to-use production-ready REST API Python client !","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbi-services.com\/blog\/production-ready-goldengate-rest-client-in-python\/","og_locale":"en_US","og_type":"article","og_title":"Production-ready GoldenGate REST client in Python","og_description":"Get the most of your GoldenGate deployments with this easy-to-use production-ready REST API Python client !","og_url":"https:\/\/www.dbi-services.com\/blog\/production-ready-goldengate-rest-client-in-python\/","og_site_name":"dbi Blog","article_published_time":"2026-02-23T07:24:00+00:00","og_image":[{"width":1104,"height":248,"url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2025\/12\/ogg_restapi_create_alias.png","type":"image\/png"}],"author":"Julien Delattre","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Julien Delattre","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/production-ready-goldengate-rest-client-in-python\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/production-ready-goldengate-rest-client-in-python\/"},"author":{"name":"Julien Delattre","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/764ab019cc9dec42655b4c6b9b8e474e"},"headline":"Production-ready GoldenGate REST client in Python","datePublished":"2026-02-23T07:24:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/production-ready-goldengate-rest-client-in-python\/"},"wordCount":855,"commentCount":0,"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/production-ready-goldengate-rest-client-in-python\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2025\/12\/ogg_restapi_create_alias-1024x230.png","keywords":["19","23","23ai","26","26ai","api","Automation","Client","GoldenGate","microservices","Python","rest","restapi"],"articleSection":["GoldenGate","Oracle"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/production-ready-goldengate-rest-client-in-python\/#respond"]}],"accessibilityFeature":["tableOfContents"]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/production-ready-goldengate-rest-client-in-python\/","url":"https:\/\/www.dbi-services.com\/blog\/production-ready-goldengate-rest-client-in-python\/","name":"Production-ready GoldenGate REST client in Python - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/production-ready-goldengate-rest-client-in-python\/#primaryimage"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/production-ready-goldengate-rest-client-in-python\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2025\/12\/ogg_restapi_create_alias-1024x230.png","datePublished":"2026-02-23T07:24:00+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/764ab019cc9dec42655b4c6b9b8e474e"},"description":"Get the most of your GoldenGate deployments with this easy-to-use production-ready REST API Python client !","breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/production-ready-goldengate-rest-client-in-python\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/production-ready-goldengate-rest-client-in-python\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/production-ready-goldengate-rest-client-in-python\/#primaryimage","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2025\/12\/ogg_restapi_create_alias.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2025\/12\/ogg_restapi_create_alias.png","width":1104,"height":248},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/production-ready-goldengate-rest-client-in-python\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Production-ready GoldenGate REST client in Python"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/764ab019cc9dec42655b4c6b9b8e474e","name":"Julien Delattre","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/a97d00e680bbf237126e24b65281cbcb66cd20bd1ed2d14bf928991b2bf68eb5?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/a97d00e680bbf237126e24b65281cbcb66cd20bd1ed2d14bf928991b2bf68eb5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a97d00e680bbf237126e24b65281cbcb66cd20bd1ed2d14bf928991b2bf68eb5?s=96&d=mm&r=g","caption":"Julien Delattre"},"url":"https:\/\/www.dbi-services.com\/blog\/author\/juliendelattre\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/42345","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/152"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=42345"}],"version-history":[{"count":24,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/42345\/revisions"}],"predecessor-version":[{"id":43094,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/42345\/revisions\/43094"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=42345"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=42345"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=42345"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=42345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}