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>",
"schema": {
"type": "struct",
"name": "<string>",
"fields": [
{
"type": "struct",
"name": "<string>",
"fields": "<array>",
"alias": "<string>",
"doc": "<string>",
"logical": "<string>",
"optional": true
}
],
"alias": "<string>",
"doc": "<string>",
"logical": "<string>"
},
"signatureName": "<string>"
}
],
"egresses": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kind": "<string>",
"schema": {
"type": "struct",
"name": "<string>",
"fields": [
{
"type": "struct",
"name": "<string>",
"fields": "<array>",
"alias": "<string>",
"doc": "<string>",
"logical": "<string>",
"optional": true
}
],
"alias": "<string>",
"doc": "<string>",
"logical": "<string>"
},
"signatureName": "<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,
"columnStart": 123,
"lineEnd": 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>",
"type": "egress",
"egressId": "<string>"
},
"destination": {
"componentId": "<string>",
"type": "ingress",
"ingressId": "<string>"
},
"type": "<string>"
}
]
}Successful operation
The response for the cross service components.
The component for the cross service components.
Show child attributes
The unique identifier for the component.
The ID of the run that the component belongs to
The name of the component.
The ingresses associated with the component.
Show child attributes
The unique identifier for the ingress/egress.
The kind of the ingress/egress.
The schema of the ingress/egress.
Show child attributes
struct Show child attributes
struct The name of the package, class, or method that the ingress/egress point is associated with.
The egresses associated with the component.
Show child attributes
The unique identifier for the ingress/egress.
The kind of the ingress/egress.
The schema of the ingress/egress.
Show child attributes
struct Show child attributes
struct The name of the package, class, or method that the ingress/egress point is associated with.
The paths associated with the component.
Show child attributes
Show child attributes
The unique identifier of the ingress where the path starts.
The unique identifier of the code anchor node where the path starts (optional for BYOL imports).
An AI-generated summary of the ingress point.
Show child attributes
The unique identifier of the egress where the path ends.
The unique identifier of the code anchor node where the path starts (optional for BYOL imports).
An AI-generated summary of the egress point.
A list of node IDs that are part of this path.
Show child attributes
Unique identifier for the anchor.
Human readable name of the code anchor.
Code URI is a unique identifier for a code location. It is used to identify the code location in the codebase.
Show child attributes
Relative file path in the repo.
URL to the code anchor.
A list of field mappings that describe how fields are mapped along the path.
Show child attributes
An AI-generated summary of the data transformation that occurs along this path.
A detailed AI-generated summary of the data transformation that occurs along this path.
The type of the component.
"CODE"Show child attributes
The id of the edge.
"EDGE"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>",
"schema": {
"type": "struct",
"name": "<string>",
"fields": [
{
"type": "struct",
"name": "<string>",
"fields": "<array>",
"alias": "<string>",
"doc": "<string>",
"logical": "<string>",
"optional": true
}
],
"alias": "<string>",
"doc": "<string>",
"logical": "<string>"
},
"signatureName": "<string>"
}
],
"egresses": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kind": "<string>",
"schema": {
"type": "struct",
"name": "<string>",
"fields": [
{
"type": "struct",
"name": "<string>",
"fields": "<array>",
"alias": "<string>",
"doc": "<string>",
"logical": "<string>",
"optional": true
}
],
"alias": "<string>",
"doc": "<string>",
"logical": "<string>"
},
"signatureName": "<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,
"columnStart": 123,
"lineEnd": 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>",
"type": "egress",
"egressId": "<string>"
},
"destination": {
"componentId": "<string>",
"type": "ingress",
"ingressId": "<string>"
},
"type": "<string>"
}
]
}