Remote Entities endpoints

🔗
get
/remoteentities/{connectorId}
Gets remote entities for the given connection.
Parameters
NameTypeDescription
gtmhub-accountId
*
stringSpecifies the ID of the gtmhub account.
expected in header, sample value:
5be26318e5274a0007f17f61
connectorId
*
stringThe connection ID for which remote entities will be retrieved.
expected in path
Expected response codes
200remoteEntities
401unauthorized

curl -X GET 'https://app.gtmhub.com/api/v1/remoteentities/{connectorId}' \ -H 'Content-Type: application/json' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer {token}' \
-H 'gtmhub-accountId: 5be26318e5274a0007f17f61' \

var settings = { "url": "https://app.gtmhub.com/api/v1/remoteentities/{connectorId}", "method": "GET", "timeout": 0, "headers": { "Content-Type": "application/json", "Accept": "application/json", "Authorization": "Bearer {token}",
"gtmhub-accountId": "5be26318e5274a0007f17f61",
}
}; $.ajax(settings).done(function (response) { console.log(response); });
 NOTE: You must install the module requests.
In a terminal window do: pip install requests



import requests, json

headers = { "Authorization" : "Bearer {token}", "gtmhub-accountId" : "{accountId}", "Content-Type" : "application/json" };

url = "https://app.gtmhub.com/api/v1/remoteentities/{connectorId}"



requests.get(url, headers = headers)
[
    {
        "hasChildren": false,
        "key": "string value",
        "namespace": "string value",
        "title": "string value",
        "type": "string value",
        "typeName": "string value"
    }
]