diff --git a/specification/resources/uptime/create_alert.yml b/specification/resources/uptime/create_alert.yml index c3a87190..eda03022 100644 --- a/specification/resources/uptime/create_alert.yml +++ b/specification/resources/uptime/create_alert.yml @@ -34,6 +34,7 @@ requestBody: - name - type - notifications + - period responses: '201': diff --git a/specification/resources/uptime/update_alert.yml b/specification/resources/uptime/update_alert.yml index 08ad8391..1dc7c7ab 100644 --- a/specification/resources/uptime/update_alert.yml +++ b/specification/resources/uptime/update_alert.yml @@ -22,6 +22,12 @@ requestBody: allOf: - $ref: 'models/alert.yml#/alert_updatable' + required: + - name + - type + - notifications + - period + responses: '200': $ref: 'responses/existing_alert.yml'