Notifications

NotificationDetailView operations.

patch/v2/notifications/{notification_id}/

Request

  • Base URL: https://api.density.io
  • URL: https://api.density.io/v2/notifications/{notification_id}/
  • Auth: API key in header Authorization

Request body

idinteger
enabledboolean nullable
trigger_valueinteger
space_idinteger
space_namestring
is_one_shotboolean nullable
cooldowninteger
trigger_type'greater_than' | 'less_than' | 'equal_to'
trigger_metric'occupancy' | 'utilization' | 'events' | 'rate_of_entry'
trigger_comparison'greater_than' | 'less_than' | 'equal_to'
trigger_space_capacity_type'target' | 'legal' | 'safe' nullable
trigger_duration_minutesinteger nullable
trigger_event_directioninteger nullable
restart_count_at_daily_resetboolean nullable
escalation_thresholdinteger nullable
message_templatestring

Response

Updated

idinteger
enabledboolean nullable
trigger_valueinteger
space_idinteger
is_one_shotboolean nullable
cooldowninteger
notification_type'sms' | 'slack' | 'push_notification'
trigger_typestring required
metaobject

Changes

No recorded changes to this operation across all 3 revisions of this API.