Skip to main content
GET
/
v0
/
cross-service-components
Get all components
curl --request GET \
  --url https://{hostname}.gable.ai/v0/cross-service-components \
  --header 'X-API-KEY: <api-key>'
{
  "components": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "runId": "<string>",
      "name": "<string>",
      "ingresses": [
        {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "kind": "<string>",
          "signatureName": "<string>",
          "schema": {
            "type": "struct",
            "name": "<string>",
            "fields": [
              "<any>"
            ],
            "alias": "<string>",
            "doc": "<string>",
            "logical": "<string>"
          }
        }
      ],
      "egresses": [
        {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "kind": "<string>",
          "signatureName": "<string>",
          "schema": {
            "type": "struct",
            "name": "<string>",
            "fields": [
              "<any>"
            ],
            "alias": "<string>",
            "doc": "<string>",
            "logical": "<string>"
          }
        }
      ],
      "paths": [
        {
          "ingress": {
            "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
            "codeAnchorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
            "description": "<string>"
          },
          "egress": {
            "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
            "codeAnchorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
            "description": "<string>"
          },
          "codeAnchors": [
            {
              "anchorId": "<string>",
              "name": "<string>",
              "codeUri": {
                "file": "<string>",
                "lineStart": 123,
                "lineEnd": 123,
                "columnStart": 123,
                "columnEnd": 123
              },
              "url": "<string>"
            }
          ],
          "fieldMappings": [
            {
              "ingressField": "<string>",
              "egressField": "<string>",
              "notes": "<string>"
            }
          ],
          "transformationSummary": "<string>",
          "transformationSummaryDetailed": "<string>"
        }
      ],
      "type": "<string>",
      "metadata": {
        "extras": {}
      }
    }
  ],
  "edge_mappings": [
    {
      "id": "<string>",
      "crossServiceFieldMappings": [
        {
          "sourceField": "<string>",
          "destinationField": "<string>"
        }
      ],
      "source": {
        "componentId": "<string>",
        "egressId": "<string>",
        "type": "egress"
      },
      "destination": {
        "componentId": "<string>",
        "ingressId": "<string>",
        "type": "ingress"
      },
      "type": "<string>"
    }
  ]
}

Authorizations

X-API-KEY
string
header
required

Response

components
object[]
required
  • Option 1
  • Option 2
edge_mappings
object[]
required