Add or update a note

PATCH /api/note

Add a note to a Timeline or update an existing note.

application/json

Body Required

The note to add or update, along with additional metadata.

Responses

PATCH /api/note
curl \
 --request PATCH https://localhost:5601/api/note \
 --header "Content-Type: application/json" \
 --data '{"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"}'
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)
{
  "note": {
    "created": 42.0,
    "createdBy": "string",
    "eventId": "string",
    "note": "string",
    "timelineId": "string",
    "updated": 42.0,
    "updatedBy": "string",
    "noteId": "string",
    "version": "string"
  }
}