Collections
Add a collection
Changed onpost/collections/add
Request
- Base URLhttps://misp.local
- URLhttps://misp.local/collections/add
- AuthAPI key in header Authorization
Request body
Example request
{
"uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
"name": "APT Campaign Collection",
"description": "This is a dummy description, for a collection about Aiur.",
"distribution": "4",
"sharing_group_id": "1"
}Response
A collection
Example response
{
"Collection": {
"id": "12345",
"org_id": "12345",
"orgc_id": "12345",
"uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
"created": "2024-03-19 11:10:24",
"modified": "2024-03-19 11:10:24",
"user_id": "12345",
"name": "APT Campaign Collection",
"description": "This is a dummy description, for a collection about Aiur.",
"distribution": "4",
"sharing_group_id": "1"
}
}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
- info
endpoint added
- info