Feeds
Edit a feed
Changed onput/feeds/edit/{feedId}
Request
- Base URLhttps://misp.local
- URLhttps://misp.local/feeds/edit/{feedId}
- AuthAPI key in header Authorization
Path parameters
Example:3
UUID or numeric ID of the feed
Request body
Example request
{
"id": "3",
"name": "CIRCL OSINT Feed",
"provider": "CIRCL",
"url": "https://www.circl.lu/doc/misp/feed-osint",
"rules": "{\"tags\":{\"OR\":[],\"NOT\":[]},\"orgs\":{\"OR\":[],\"NOT\":[]},\"url_params\":\"\"}",
"distribution": "4",
"sharing_group_id": "1",
"tag_id": "12345",
"event_id": "12345",
"headers": "X-Custom-Header-A: Foo\nX-Custom-Header-B: Bar\n",
"orgc_id": "12345"
}Response
Get feed response
Example response
{
"Feed": {
"id": "3",
"name": "CIRCL OSINT Feed",
"provider": "CIRCL",
"url": "https://www.circl.lu/doc/misp/feed-osint",
"rules": "{\"tags\":{\"OR\":[],\"NOT\":[]},\"orgs\":{\"OR\":[],\"NOT\":[]},\"url_params\":\"\"}",
"distribution": "4",
"sharing_group_id": "1",
"tag_id": "12345",
"event_id": "12345",
"settings": "{\"csv\":{\"value\":\"\",\"delimiter\":\"\"},\"common\":{\"excluderegex\":\"\"},\"disable_correlation\":\"1\"}",
"headers": "X-Custom-Header-A: Foo\nX-Custom-Header-B: Bar\n",
"orgc_id": "12345",
"cache_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