Update pathway
https://api.eu1.coralogix.com/mgmt/openapi/5/product-analytics/pathways/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 pathway. 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}$
Pathway 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: name, view, direction, pagesCount, topN, timeRange, filters. snake_case names are also accepted. A listed field that is omitted from the body is cleared or reset to its default: direction resets to PATHWAY_DIRECTION_AFTER, pagesCount to 5, topN to 20, and filters becomes empty; name, view, and timeRange 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
Pathway field values for an update. Only fields listed in update_mask are applied.
Whether the paths show the pages after or before view. Clearing it or sending PATHWAY_DIRECTION_UNSPECIFIED resets it to PATHWAY_DIRECTION_AFTER.
Possible values: [PATHWAY_DIRECTION_UNSPECIFIED, PATHWAY_DIRECTION_AFTER, PATHWAY_DIRECTION_BEFORE]
PATHWAY_DIRECTION_AFTERSession filters of the pathway. Replaces the whole list.
Possible values: <= 100
Display name of the pathway. Must not be empty. Cannot be cleared.
Possible values: non-empty and <= 1024 characters, Value must match regular expression ^[\s\S]*$
Number of pages after or before view in each path. Clearing it resets it to 5.
Possible values: >= 1 and <= 2147483647
5Time range of the pathway. Cannot be cleared.
Number of paths shown, most common first. Clearing it resets it to 20.
Possible values: >= 1 and <= 2147483647
20View (page) the paths are traced from. Cannot be cleared.
Possible values: non-empty and <= 1024 characters, Value must match regular expression ^[\s\S]*$
Response
The updated pathway.
- Option 1
- Option 2
- Option 3
RUM application the pathway belongs to.
Possible values: non-empty and <= 1024 characters, Value must match regular expression ^[\s\S]*$
When the pathway was created. Set by the server.
Possible values: <= 64 characters
Whether the paths show the pages after or before view.
Possible values: [PATHWAY_DIRECTION_UNSPECIFIED, PATHWAY_DIRECTION_AFTER, PATHWAY_DIRECTION_BEFORE]
PATHWAY_DIRECTION_AFTERSession filters of the pathway. Empty when not set.
Possible values: <= 100
Pathway 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}$
Display name of the pathway. Does not have to be unique.
Possible values: non-empty and <= 1024 characters, Value must match regular expression ^[\s\S]*$
User who created the pathway. Set by the server. Absent for pathways saved before owners were recorded.
Possible values: non-empty and <= 1024 characters, Value must match regular expression ^[\s\S]*$
Number of pages after or before view in each path.
Possible values: >= 1 and <= 2147483647
5Time range of the pathway.
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}$
Number of paths shown, most common first.
Possible values: >= 1 and <= 2147483647
20When the pathway was last updated, from the API or the Coralogix UI. Set by the server.
Possible values: <= 64 characters
Version of the pathway. 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
View (page) the paths are traced from.
Possible values: non-empty and <= 1024 characters, Value must match regular expression ^[\s\S]*$