ALERTS_V1

Clone

Clone a rule. Only the owner can clone their own rules.

post/api/v1/alerts/rules/{rule_id}/clone

Path parameters

rule_idinteger required

Response

Successful Response

idinteger required
namestring required
descriptionstring nullable
rule_typestring required
sourcestring
platformstring nullable
categorystring nullable
entity_typestring nullable
session_idstring nullable
content_scopestring nullable
deliveryobject nullable
alert_messagestring nullable
statusstring required
created_atstring date-time required
updated_atstring date-time required
created_byinteger required
summarystring nullable

Changes

Changed in 2 of the 28 revisions of this API.746

  • 6aa0788aa5dc745See the full diff
    • the response property entity_type became optional for the status 201

      response-property-became-optional

    • the response property metric_config became optional for the status 201

      response-property-became-optional

    • the response property platform became optional for the status 201

      response-property-became-optional

    • response property entity_type list-of-types was widened by adding types null to media type application/json of response 201

      response-property-list-of-types-widened

    • response property platform list-of-types was widened by adding types null to media type application/json of response 201

      response-property-list-of-types-widened

    • the metric_config response's property type/format changed from object/ to / for status 201

      response-property-type-changed

    • removed the required property metric_config/metric_name from the response with the 201 status

      response-required-property-removed

    • removed the optional property metric_config/category from the response with the 201 status

      response-optional-property-removed

    • removed the optional property metric_config/filters from the response with the 201 status

      response-optional-property-removed

    • removed the optional property metric_config/params from the response with the 201 status

      response-optional-property-removed

    • removed the optional property metric_config/team_id from the response with the 201 status

      response-optional-property-removed

    • added the optional property content_scope to the response with the 201 status

      response-optional-property-added

    • added the optional property session_id to the response with the 201 status

      response-optional-property-added

    • added the optional property source to the response with the 201 status

      response-optional-property-added

    • added MetricConfig subschema #2 to the metric_config response property anyOf list for the response status 201

      response-property-any-of-added

    • added the required property last_run/anyOf[subschema #1: RunResponse]/destinations to the response with the 201 status

      response-required-property-added

    This revision also has 13 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the optional property metric_config/team_id to the response with the 201 status

      response-optional-property-added