Persists a note to a timeline.
Body Required
The note to persist or update along with additional metadata.
-
eventDataView string | null
-
eventIngested string | null
-
eventTimestamp string | null
-
Additional properties are allowed.
-
noteId string | null
-
overrideOwner boolean | null
-
version string | null
PATCH
/api/note
curl \
-X PATCH https://localhost:5601/api/note \
-H "Content-Type: application/json; Elastic-Api-Version=2023-10-31"
Request examples
{
"eventDataView": "string",
"eventIngested": "string",
"eventTimestamp": "string",
"note": {
"created": 42.0,
"createdBy": "string",
"eventId": "string",
"note": "string",
"timelineId": "string",
"updated": 42.0,
"updatedBy": "string"
},
"noteId": "string",
"overrideOwner": true,
"version": "string"
}
Response examples (200)
{
"data": {
"persistNote": {
"code": 42.0,
"message": "string",
"note": {
"created": 42.0,
"createdBy": "string",
"eventId": "string",
"note": "string",
"timelineId": "string",
"updated": 42.0,
"updatedBy": "string",
"noteId": "string",
"version": "string"
}
}
}
}