GET
/
api
/
models
/
{modelId}
/
requirements
curl --request GET \
  --url http://localhost:3000/api/models/{modelId}/requirements \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "level": "<string>",
    "name": "<string>",
    "statement": "<string>",
    "systems": [
      "<string>"
    ],
    "status": "In Progress",
    "constraints": [
      {
        "limit": 123,
        "operator": ">",
        "variableId": "<string>",
        "id": "<string>",
        "type": "attribute"
      }
    ],
    "parentId": "<string>",
    "pendingState": "add",
    "type": "none",
    "autoUpdate": true,
    "info": {
      "comment": "<string>",
      "reference": {
        "file": "<string>",
        "pageNumber": 123,
        "text": "<string>"
      }
    }
  }
]

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

Response

200
application/json
List of requirements

The response is of type object[].