Unable to add Golang Virtual Endpoints to API definition in TYK (opensource v4.3.4)

Hi,
I am trying to add virtual endpoint with the help of this doc, but after adding the go_plugin json array in extended_paths and updating the API with management POST call http://{your-tyk-host}:{port}/tyk/apis, when I am trying to get the API definition with management GET call http://{your-tyk-host}:{port}/tyk/apis/{api_id} the definition updated does not has the go_plugin array.
Here is sample of what I am trying to update in the API definition:
{
“versions”: {
“Default”: {
“name”: “Default”,
“expires”: “”,
“paths”: {
“ignored”: null,
“white_list”: null,
“black_list”: null
},
“use_extended_paths”: true,
“extended_paths”: {
“go_plugin”: [
{
“plugin_path”: “…/test/goplugins/goplugins.so”,
“path”: “/get”,
“method”: “GET”,
“func_name”: “MyPluginPerPathFoo”
}
],
“global_headers”: null,
“global_headers_remove”: null,
“global_size_limit”: 0,
“override_target”: “”
}
}
}
},

Hi @Shubham_M_Mishra,

Are you triggering reload of the gateway after the POST call?

Please share gateway logs if issue persists…