notification::display::subscribe_url (public)
notification::display::subscribe_url -type type -object_id object_id \ -url url -user_id user_id [ -pretty_name pretty_name ]
Defined in packages/notifications/tcl/notification-display-procs.tcl
Returns the URL that allows one to subscribe to a notification type on a particular object. If the notifications package has not been mounted return the empty string.
- Switches:
- -type (required)
- -object_id (required)
- -url (required)
- -user_id (required)
- -pretty_name (optional)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: set type_id [notification::type::get_type_id -short_name $type] set root_path [apm_package_url_from_key [notification::package_key]] if { $root_path eq "" } { return "" } set subscribe_url [export_vars -base "${root_path}request-new" { type_id user_id object_id pretty_name {return_url $url} }] return $subscribe_urlXQL Not present: Generic, PostgreSQL, Oracle