You are reading the documentation for an outdated Corteza release. 2024.9 is the latest stable Corteza release.
Used variables
# Base url for the federation api
$BASE_URL

# JWT of the user
$JWT

# Node id of the destination node
$NODE_ID

# Federation module id
$MODULE_ID
Example request
curl -X GET "$BASE_URL/federation/nodes/$NODE_ID/modules/$MODULE_ID/mapped?composeModuleID=212492028292890627" \
  -H "Authorization: Bearer $JWT";
Table 1. Query parameters
Parameter name Parameter value Description

composeModuleID

uint64

Filter by compose Module ID

Example response
{
    "response": {
        "nodeID": "218931887727443971",
        "federationModuleID": "220434607579922435",
        "composeModuleID": "212492028292890627",
        "composeNamespaceID": "212492019702956035",
        "fields": [
            {
                "origin": {
                    "kind": "String",
                    "name": "AccountName",
                    "label": "Account Name",
                    "isMulti": false
                },
                "destination": {
                    "kind": "String",
                    "name": "AccountName",
                    "label": "Account Name",
                    "isMulti": false
                }
            },
            {
                "origin": {
                    "kind": "String",
                    "name": "BillingCity",
                    "label": "Billing City",
                    "isMulti": false
                },
                "destination": {
                    "kind": "String",
                    "name": "BillingCity",
                    "label": "Billing City",
                    "isMulti": false
                }
            }
        ]
    }
}