Update an existing Metric. You must specify the evalType and outputType of the metric. The structure of a metric depends on the evalType and outputType of the metric.

patch/metrics/{metricId}

Request

  • Base URL
    https://api2.scorecard.io/api/v2
  • Auth
    HTTP bearer

Path parameters

metricIdstring required
Example:321

The ID of the Metric to update.

Request body

OR
OR
OR
OR
OR
OR
OR
OR

Response

Metric updated successfully

OR
OR
OR
OR
OR
OR
OR
OR

Changes

    • info

      the request property default value 0 was added

    • info

      the request property default value 0 was added

    • info

      the request property default value 0 was added

    • info

      the response property / became required for the status

    • info

      the response property / became required for the status

    • info

      the response property / became required for the status

    • info

      the response's property default value 0 was added for the status

    • info

      the response's property default value 0 was added for the status

    • info

      the response's property default value 0 was added for the status

    • breaking

      the response property / became optional for the status

    • breaking

      the response property / became optional for the status

    • breaking

      the response property / became optional for the status

    • info

      the request property default value 0 was removed

    • info

      the request property default value 0 was removed

    • info

      the request property default value 0 was removed

    • info

      the response's property default value 0 was removed for the status

    • info

      the response's property default value 0 was removed for the status

    • info

      the response's property default value 0 was removed for the status