List environment unified model mappings
/environment-unified-model-resource-method
List environment unified model mappings — the environment-scoped overrides of unified-model mappings. These are the mappings to read (and write) when a change must apply to one environment's installed integration and not to the whole team.
With apply_overrides=true (plus resource_name and/or integration_name) the response instead lists the effective supported resource methods for that environment, with base mappings and environment overrides already merged — use it to see what a connected account actually resolves to today.
Query Parameters
Filter by the environment_unified_model record (environment + unified model pair).
4af1e38e-1d84-4bea-8ef4-2d705aec43bcRestrict the lookup to one environment you have access to.
1ba1f401-7183-47c5-9e39-e8e257e3c795Filter by unified resource name.
contactsFilter by integration slug.
apolloFilter by unified method name.
listRead a specific historical version of the override instead of the current row.
2When true, return the effective (base + environment override) supported resource methods instead of the raw override rows. Requires resource_name or integration_name.
trueResponse Body
20MjAyNC0wNS0yMVQwNjoyNTozMy4xMjRaThe override mapping, deep-merged on top of the base unified model mapping's config for the same (resource, integration, method) triple.
25 properties
Static body merged into the integration request.
object · 2 properties
Strategy-specific options (e.g. multipart field name, base64 wrapper key).
multipartbase64upload
Integration method to call.
object · 2 properties
Static query params merged into the integration request.
Object-form (v2) request body schema; values are partial JSON Schema entries.
Integration resource to call. May be a single name, an array of resource fragments, or a { expression, resources } object for dynamic dispatch.
object · 2 properties
JSONata expression (string) or object-form mapping. The object form is keyed by field name with values that may be JSONata strings, nested objects, or JsonSchemaObjectProperties.
arrayitem
Static value returned for this method without making an HTTP call.
When the override was created.
2024-01-10T10:00:00.000ZThe environment_unified_model record (environment + unified model pair) this override belongs to.
4af1e38e-1d84-4bea-8ef4-2d705aec43bcThe ID of the override.
3cb4223d-8e2f-4a55-9a3f-5f2c9d0a17bdThe integration slug this override serves (e.g. apollo).
apolloThe unified method this override serves (list, get, create, update, delete, or a custom method name).
listThe unified resource this override serves (e.g. contacts).
contactsWhen the override was last updated.
2024-01-11T12:30:00.000ZOptimistic-concurrency version. Send the current value in a PATCH body; every write increments it.
2Errors
| Status | Description |
|---|---|
400 | Bad request — apply_overrides=true without resource_name or integration_name. |
403 | Forbidden — you do not have access to the requested environment. |
curl -X GET 'https://api.truto.one/environment-unified-model-resource-method' \
-H 'Authorization: Bearer <your_api_token>' \
-H 'Content-Type: application/json'const response = await fetch('https://api.truto.one/environment-unified-model-resource-method', {
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/environment-unified-model-resource-method"
headers = {
"Authorization": "Bearer <your_api_token>",
"Content-Type": "application/json",
}
params = {
}
response = requests.get(url, headers=headers, params=params)
print(response.json())