Get integration mapping metadata for a unified-model resource method
/unified/{model_name}/{resource_name}/{integration_name}/meta/{method}
Path Parameters
The name of the unified model (e.g. crm).
crmThe name of the resource within the model (e.g. contacts).
contactsThe name of the integration to inspect the mapping for (e.g. salesforce).
salesforceThe unified method (e.g. list, get, create, update, delete).
listResponse Body
JSON-schema-style description of the supported query parameters for this method.
Map of property name → JsonSchemaObjectProperties.
object
JSON-schema-style description of the supported request body for this method.
Map of property name → JsonSchemaObjectProperties.
object
A subset of schema containing only the fields actually populated by response_mapping for this integration.
Map of property name → JsonSchemaObjectProperties.
object
The unified-model resource JSON schema.
Map of property name → JsonSchemaObjectProperties.
object
Default request body always applied by the integration mapping. Values may be templated JSONata expressions. Object or null (arrays are allowed at runtime but rare).
Default query parameters always applied by the integration mapping. Values may be templated JSONata expressions.
Vendor documentation URL for this method, if set on the integration mapping.
The unified method this metadata describes.
listcurl -X GET 'https://api.truto.one/unified/{model_name}/{resource_name}/{integration_name}/meta/{method}?integrated_account_id=<integrated_account_id>' \
-H 'Authorization: Bearer <your_api_token>' \
-H 'Content-Type: application/json'const integratedAccountId = '<integrated_account_id>';
const response = await fetch(`https://api.truto.one/unified/{model_name}/{resource_name}/{integration_name}/meta/{method}?integrated_account_id=${integratedAccountId}`, {
method: 'GET',
headers: {
'Authorization': 'Bearer <your_api_token>',
'Content-Type': 'application/json',
},
});
const data = await response.json();
console.log(data);import requests
url = "https://api.truto.one/unified/{model_name}/{resource_name}/{integration_name}/meta/{method}"
headers = {
"Authorization": "Bearer <your_api_token>",
"Content-Type": "application/json",
}
params = {
"integrated_account_id": "<integrated_account_id>"
}
response = requests.get(url, headers=headers, params=params)
print(response.json())import Truto from '@truto/truto-ts-sdk';
const truto = new Truto({
token: '<your_api_token>',
});
const result = await truto.unifiedApi.get(
'',
'unified_model_docs',
'<resource_id>',
{ integrated_account_id: '<integrated_account_id>' }
);
console.log(result);import asyncio
from truto_python_sdk import TrutoApi
truto_api = TrutoApi(token="<your_api_token>")
async def main():
result = await truto_api.unified_api.get(
"",
"unified_model_docs",
"<resource_id>",
{"integrated_account_id": "<integrated_account_id>"}
)
print(result)
asyncio.run(main())