GET
/
api
/
models
/
{modelId}
/
parts
curl --request GET \
  --url http://localhost:3000/api/models/{modelId}/parts \
  --header 'Authorization: Bearer <token>'
[
  {
    "label": "<string>",
    "requirements": [
      "<string>"
    ],
    "documents": [
      {
        "id": "<string>",
        "name": "<string>",
        "url": "<string>",
        "type": "pdf"
      }
    ],
    "attributes": [
      {
        "id": "<string>",
        "name": "<string>",
        "value": "<string>",
        "unitName": "<string>",
        "prefix": "<string>",
        "lastUpdated": 123,
        "constraints": [
          "<string>"
        ],
        "isLeftAligned": true
      }
    ]
  }
]

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

Query Parameters

type
string

Filter parts by type

Response

200
application/json
List of parts
label
string
required

The label of the part

requirements
string[]
required

The linked requirements

documents
object[]
required

The linked documents

attributes
object[]
required

The attributes of the part