GET
/
api
/
models
/
{modelId}
/
interfaces
/
{interfaceId}
curl --request GET \
  --url http://localhost:3000/api/models/{modelId}/interfaces/{interfaceId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "modelId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "sourceId": "<string>",
  "targetId": "<string>",
  "name": "<string>",
  "description": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "type": "<string>",
  "source": "<string>",
  "target": "<string>",
  "data": {
    "label": "<string>",
    "connections": [
      {
        "id": "<string>",
        "name": "<string>",
        "type": "Matter",
        "direction": "in",
        "subType": "Fixed",
        "magnitude": "<string>",
        "unitName": "<string>",
        "prefix": "quetta"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

modelId
string
required

ID of the model

interfaceId
string
required

ID of the interface

Response

200
application/json
Interface details

An interface between parts in the model consisting of connections