Marker object

A marker object includes these fields:

Name

Type

Description

uuid

string

The id of the marker.

type

string

Can be "interval" or "instance".

value

string or number

label

string

The label of the marker.

port

string

The port of the marker, ie where the marker comes from. Examples: "Software", "Serial", etc...

startDatetime

string (ISO date time)

endDatetime

string (ISO date time)

If you didn't call this method, then endDatetime is equal to startDatetime.

extras

object

Can be any extra information you want to associate with this marker.

Examples

An instance marker:

{
    "extras": {},
    "label": "test2",
    "port": "Cortex Example",
    "startDatetime": "2019-06-06T15:57:41.529661+07:00",
    "endDatetime":   "2019-06-06T15:57:41.529661+07:00",
    "type": "instance",
    "uuid": "26fccfd8-e487-4623-910a-1ba8591fcdcf",
    "value": 42
}

An interval marker:

{
    "extras": {},
    "label": "test2",
    "port": "Cortex Example",
    "startDatetime": "2019-06-06T15:57:41.529661+07:00",
    "endDatetime":   "2019-06-06T15:57:49.530743+07:00",
    "type": "interval",
    "uuid": "26fccfd8-e487-4623-910a-1ba8591fcdcf",
    "value": 42
}

Last updated