Event Report
Add Event Report
Changed onpost/eventReports/add/{eventId}
Request
- Base URLhttps://misp.local
- URLhttps://misp.local/eventReports/add/{eventId}
- AuthAPI key in header Authorization
Path parameters
Example:12345
UUID or numeric ID of the event
Request body
Example request
{
"uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
"event_id": "12345",
"name": "Report of the incident",
"distribution": "4",
"sharing_group_id": "1",
"timestamp": "1617875568"
}Response
An Event Report
Example response
{
"EventReport": {
"id": "12345",
"uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
"event_id": "12345",
"name": "Report of the incident",
"distribution": "4",
"sharing_group_id": "1",
"timestamp": "1617875568"
}
}Changes
- breaking
the request property
became not nullable - breaking
the
request property type changed fromstringto no type - breaking
the
/////response property's maxLength was unset from10for the response status - breaking
added to the
/////response propertyoneOflist for the response status - breaking
the
/////response's property type changed fromstringto no type for status - info
added to the
request propertyoneOflist - info
removed the pattern
^\d+$|^$from the request property - info
the
/////response's property pattern^\d+$|^$was removed for the status
- breaking
- breaking
the
/////response property's maxLength was unset from36for the response status
- breaking