GET
/
api
/
models
/
{modelId}
/
transitions
curl --request GET \
  --url http://localhost:3000/api/models/{modelId}/transitions \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "type": "<string>",
    "source": "<string>",
    "target": "<string>",
    "data": {
      "label": "<string>",
      "effects": [
        "<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 transitions
id
string
required

The id of the edge

type
string
required

The type of the edge

source
string
required

The source node id

target
string
required

The target node id

data
object
required

The data associated with the edge