Get a component by id
curl --request GET \
--url 'https://api-(organization).gable.ai/v0/component/{id}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"ingresses": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kind": "<string>",
"schema": {
"type": "struct",
"name": "<string>",
"fields": [
{
"type": "struct",
"name": "<string>",
"fields": [
"<any>"
],
"alias": "<string>",
"doc": "<string>",
"logical": "<string>",
"optional": true
}
],
"alias": "<string>",
"doc": "<string>",
"logical": "<string>"
}
}
],
"egresses": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kind": "<string>",
"schema": {
"type": "struct",
"name": "<string>",
"fields": [
{
"type": "struct",
"name": "<string>",
"fields": [
"<any>"
],
"alias": "<string>",
"doc": "<string>",
"logical": "<string>",
"optional": true
}
],
"alias": "<string>",
"doc": "<string>",
"logical": "<string>"
}
}
],
"paths": [
{
"ingress": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"codeAnchorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"egress": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"codeAnchorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"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>"
}
]
}
]
}
UUID of the component
Full component
The response is of type object
.
curl --request GET \
--url 'https://api-(organization).gable.ai/v0/component/{id}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"ingresses": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kind": "<string>",
"schema": {
"type": "struct",
"name": "<string>",
"fields": [
{
"type": "struct",
"name": "<string>",
"fields": [
"<any>"
],
"alias": "<string>",
"doc": "<string>",
"logical": "<string>",
"optional": true
}
],
"alias": "<string>",
"doc": "<string>",
"logical": "<string>"
}
}
],
"egresses": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kind": "<string>",
"schema": {
"type": "struct",
"name": "<string>",
"fields": [
{
"type": "struct",
"name": "<string>",
"fields": [
"<any>"
],
"alias": "<string>",
"doc": "<string>",
"logical": "<string>",
"optional": true
}
],
"alias": "<string>",
"doc": "<string>",
"logical": "<string>"
}
}
],
"paths": [
{
"ingress": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"codeAnchorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"egress": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"codeAnchorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"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>"
}
]
}
]
}