Pin an event

PATCH /api/pinned_event

Pin an event to an existing Timeline.

application/json

Body Required

The pinned event to add or update, along with additional metadata.

Responses

PATCH /api/pinned_event
curl \
 --request PATCH https://localhost:5601/api/pinned_event \
 --header "Content-Type: application/json" \
 --data '{"eventId":"string","pinnedEventId":"string","timelineId":"string"}'
Request examples
{
  "eventId": "string",
  "pinnedEventId": "string",
  "timelineId": "string"
}
Response examples (200)
{
  "created": 42.0,
  "createdBy": "string",
  "eventId": "string",
  "timelineId": "string",
  "updated": 42.0,
  "updatedBy": "string",
  "pinnedEventId": "string",
  "version": "string"
}
{
  "unpinned": true
}