Update heatmap
https://api.eu1.coralogix.com/mgmt/openapi/5/product-analytics/heatmaps/v1/{id}Updates the fields listed in update_mask. Other fields are unchanged. A listed field that is omitted from the body is cleared or reset to its default. The last write wins, and version increases by 1. Returns the stored heatmap. Returns 412 (FAILED_PRECONDITION) with "Product Analytics is not enabled for this team. A team admin can enable it in Coralogix." when Product Analytics is off for the team.
Requires the following permissions:
product-analytics:Manage
Authorizations
Request
Path Parameters
Possible values: non-empty and <= 19 characters, Value must match regular expression ^[1-9][0-9]{0,18}$
Heatmap ID, a decimal number.
Query Parameters
Possible values: non-empty and <= 512 characters, Value must match regular expression ^[A-Za-z_][A-Za-z0-9_]*(,[A-Za-z_][A-Za-z0-9_]*)*$
Comma-separated JSON paths of the fields to update: viewName, name, filters, snapshotId, timeRange, mode, actionNameFilter. snake_case names are also accepted. A listed field that is omitted from the body is cleared or reset to its default: filters becomes empty, snapshotId is removed, and actionNameFilter resets to ACTION_NAME_FILTER_ALL_CLICKS; name, viewName, timeRange, and mode cannot be cleared: listing one without a value returns 400. Nested, unknown, immutable, and server-generated paths, and *, return 400. A listed field is replaced as a whole, a oneOf arm included.
Body
Heatmap field values for an update. Only fields listed in update_mask are applied.
Which clicks the heatmap includes. Clearing it or sending ACTION_NAME_FILTER_UNSPECIFIED resets it to ACTION_NAME_FILTER_ALL_CLICKS.
Possible values: [ACTION_NAME_FILTER_UNSPECIFIED, ACTION_NAME_FILTER_ALL_CLICKS, ACTION_NAME_FILTER_NAMED_ONLY, ACTION_NAME_FILTER_UNNAMED_ONLY]
ACTION_NAME_FILTER_ALL_CLICKSSession filters of the heatmap. Replaces the whole list.
Possible values: <= 100
Kind of heatmap visualization shown for the page view. Cannot be cleared. HEATMAP_MODE_UNSPECIFIED is rejected.
Possible values: [HEATMAP_MODE_UNSPECIFIED, HEATMAP_MODE_TOP_ELEMENTS, HEATMAP_MODE_CLICK_MAP, HEATMAP_MODE_SCROLL_MAP]
Display name of the heatmap. Must not be empty. Cannot be cleared.
Possible values: non-empty and <= 1024 characters, Value must match regular expression ^[\s\S]*$
ID of the page snapshot the heatmap is drawn on. Clearing it removes the snapshot.
Possible values: non-empty and <= 256 characters, Value must match regular expression ^[\s\S]*$
Time range of the heatmap. Cannot be cleared.
Name of the page view the heatmap covers. Cannot be cleared.
Possible values: non-empty and <= 1024 characters, Value must match regular expression ^[\s\S]*$
Response
The updated heatmap.
- Option 1
- Option 2
- Option 3
Which clicks the heatmap includes.
Possible values: [ACTION_NAME_FILTER_UNSPECIFIED, ACTION_NAME_FILTER_ALL_CLICKS, ACTION_NAME_FILTER_NAMED_ONLY, ACTION_NAME_FILTER_UNNAMED_ONLY]
ACTION_NAME_FILTER_ALL_CLICKSRUM application the heatmap belongs to.
Possible values: non-empty and <= 1024 characters, Value must match regular expression ^[\s\S]*$
When the heatmap was created. Set by the server.
Possible values: <= 64 characters
Session filters of the heatmap. Empty when not set.
Possible values: <= 100
Heatmap ID, a decimal number. Set by the server.
Possible values: non-empty and <= 19 characters, Value must match regular expression ^[1-9][0-9]{0,18}$
Kind of heatmap visualization shown for the page view.
Possible values: [HEATMAP_MODE_UNSPECIFIED, HEATMAP_MODE_TOP_ELEMENTS, HEATMAP_MODE_CLICK_MAP, HEATMAP_MODE_SCROLL_MAP]
Display name of the heatmap. Does not have to be unique.
Possible values: non-empty and <= 1024 characters, Value must match regular expression ^[\s\S]*$
User who created the heatmap. Set by the server. Absent for heatmaps saved before owners were recorded.
Possible values: non-empty and <= 1024 characters, Value must match regular expression ^[\s\S]*$
ID of the page snapshot the heatmap is drawn on. Absent when the heatmap has no snapshot.
Possible values: non-empty and <= 256 characters, Value must match regular expression ^[\s\S]*$
Time range of the heatmap.
oneOfNamed calendar window, resolved in the viewer's timezone. CALENDAR_WINDOW_UNSPECIFIED is rejected.
Possible values: [CALENDAR_WINDOW_UNSPECIFIED, CALENDAR_WINDOW_TODAY, CALENDAR_WINDOW_YESTERDAY]
Absolute time range between two timestamps.
Number of minutes back from now.
Possible values: non-empty and <= 20 characters, Value must match regular expression ^[1-9][0-9]{0,18}$
When the heatmap was last updated, from the API or the Coralogix UI. Set by the server.
Possible values: <= 64 characters
Version of the heatmap. Set by the server: 1 on create, increased by 1 on every update, including updates made in the Coralogix UI.
Possible values: >= 1 and <= 2147483647
Name of the page view the heatmap covers.
Possible values: non-empty and <= 1024 characters, Value must match regular expression ^[\s\S]*$