Counterpart of exclude_types[]. Also updates Swagger spec for types[] to use the correct param name and enumerate possible values. Fixes #3003
* [bugfix] Lock when checking/creating notifs to avoid race * test notif spam