Skip to content

Add audit_cumulative-layout-shift_median to JSON returned by API endpoint /v1/projects/${projectId}/builds/${buildId}/statistics #1123

@lina-l-hu

Description

@lina-l-hu

Hi there!

We are running Lighthouse-CI and would like to display some of the report values on Bitbucket pull requests and in Slack, through our Jenkins pipeline. We only want to display the median LCP, median TBT, and median CLS. We are looking at parsing the JSON returned by the API endpoint /v1/projects/${projectId}/builds/${buildId}/statistics, and noticed that there is not an audit_cumulative-layout-shift_median entry, though we see the equivalent for LCP and TBT. Would it be a possibility to make this available? We know it is an option to parse the LHR object returned by the endpoint /v1/projects/${projectId}/builds/${buildId}/runs for all 3 values, but this object is much more complex and it would not be preferable to use for the 3 simple data fields we require.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions