Page MenuHomePhabricator

Add the Metrics Platform core interactions API definitions
Closed, ResolvedPublic3 Estimated Story Points

Description

Part of [Epic] Create Metrics Platform API for Submitting Core Interaction Events

Description

Add/update the Metrics Platform API to include the newly drafted core interaction events methods.

Additional Notes

The preliminary core interactions API were proposed in a recent spike (see T345439#9217684).

Pending the outcome of T349416, the Javascript and Java libraries (PHP is still in progress but presumably can be articulated; Swift TK) have been/are being refactored to provide a submitInteraction() method that will serve as the basis for other specific submit methods (i.e. submitClick(), submitView(), etc).

Because we opted for option 2 in T345906#9211043, for the few instruments currently in production using the MP monoschema (applicable to web clients only), we will need to maintain the existing API until those instruments are refactored to use the new core interactions schemas. The current documentation on Wikitech for Javascript and PHP is relevant for monoschema usage and should be preserved until/if/when we decommission the monoschema fully.

Acceptance Criteria

Details

Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
[JS][PHP] Update DocBlocksrepos/data-engineering/metrics-platform!12phuedxwork/phuedx/T349413main
Customize query in GitLab

Event Timeline

phuedx removed phuedx as the assignee of this task.Nov 1 2023, 1:28 PM
phuedx updated the task description. (Show Details)
phuedx subscribed.