Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 2 additions & 11 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25949,9 +25949,6 @@ components:
description: Base64-encoded image data included in email notifications sent to status page subscribers.
example: data:image/png;base64,pQSLAw0KGgoAAAANSUhEUgAAAQ4AASJKFF
type: string
enabled:
description: Whether the status page is enabled.
type: boolean
favicon:
description: Base64-encoded image data displayed in the browser tab.
example: data:image/png;base64,kWMRNw0KGgoAAAANSUhEUgAAAEAAAABACA
Expand Down Expand Up @@ -80720,7 +80717,6 @@ components:
company_logo: data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAIKMMMM
domain_prefix: status-page-us1-east
email_header_image: data:image/png;base64,pQSLAw0KGgoAAAANSUhEUgAAAQ4AASJKFF
enabled: false
favicon: data:image/png;base64,kWMRNw0KGgoAAAANSUhEUgAAAEAAAABACA
name: Status Page US1 East
subscriptions_enabled: false
Expand Down Expand Up @@ -80764,10 +80760,6 @@ components:
description: The base64-encoded image data displayed in email notifications sent to status page subscribers.
example: data:image/png;base64,pQSLAw0KGgoAAAANSUhEUgAAAQ4AASJKFF
type: string
enabled:
description: Whether the status page is enabled.
example: true
type: boolean
favicon:
description: The base64-encoded image data displayed in the browser tab.
example: data:image/png;base64,kWMRNw0KGgoAAAANSUhEUgAAAEAAAABACA
Expand Down Expand Up @@ -202157,7 +202149,7 @@ paths:
attributes:
components: []
domain_prefix: status-page-us1
enabled: true
enabled: false
name: Status Page US1
subscriptions_enabled: true
type: public
Expand Down Expand Up @@ -202418,7 +202410,7 @@ paths:
permissions:
- status_pages_settings_read
patch:
description: "Updates an existing status page's attributes. **Note**: Publishing and unpublishing via the `enabled` property will be deprecated on this endpoint. Use the dedicated [publish](#publish-status-page) and [unpublish](#unpublish-status-page) status page endpoints instead."
description: "Updates an existing status page's attributes. To publish and unpublish status pages, use the dedicated [publish](#publish-status-page) and [unpublish](#unpublish-status-page) status page endpoints."
operationId: UpdateStatusPage
parameters:
- description: Whether to delete existing subscribers when updating a status page's type.
Expand Down Expand Up @@ -202451,7 +202443,6 @@ paths:
company_logo: data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAIKMMMM
domain_prefix: status-page-us1-east
email_header_image: data:image/png;base64,pQSLAw0KGgoAAAANSUhEUgAAAQ4AASJKFF
enabled: false
favicon: data:image/png;base64,kWMRNw0KGgoAAAANSUhEUgAAAEAAAABACA
name: Status Page US1 East
subscriptions_enabled: false
Expand Down
2 changes: 1 addition & 1 deletion src/datadog_api_client/v2/api/status_pages_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2291,7 +2291,7 @@ def update_status_page(
) -> StatusPage:
"""Update status page.

Updates an existing status page's attributes. **Note** : Publishing and unpublishing via the ``enabled`` property will be deprecated on this endpoint. Use the dedicated `publish <#publish-status-page>`_ and `unpublish <#unpublish-status-page>`_ status page endpoints instead.
Updates an existing status page's attributes. To publish and unpublish status pages, use the dedicated `publish <#publish-status-page>`_ and `unpublish <#unpublish-status-page>`_ status page endpoints.

:param page_id: The ID of the status page.
:type page_id: UUID
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ def openapi_types(_):
"components": ([CreateStatusPageRequestDataAttributesComponentsItems],),
"domain_prefix": (str,),
"email_header_image": (str,),
"enabled": (bool,),
"favicon": (str,),
"name": (str,),
"slack_app_icon": (str,),
Expand All @@ -58,7 +57,6 @@ def openapi_types(_):
"components": "components",
"domain_prefix": "domain_prefix",
"email_header_image": "email_header_image",
"enabled": "enabled",
"favicon": "favicon",
"name": "name",
"slack_app_icon": "slack_app_icon",
Expand All @@ -77,7 +75,6 @@ def __init__(
company_logo: Union[str, UnsetType] = unset,
components: Union[List[CreateStatusPageRequestDataAttributesComponentsItems], UnsetType] = unset,
email_header_image: Union[str, UnsetType] = unset,
enabled: Union[bool, UnsetType] = unset,
favicon: Union[str, UnsetType] = unset,
slack_app_icon: Union[str, UnsetType] = unset,
slack_subscriptions_enabled: Union[bool, UnsetType] = unset,
Expand All @@ -99,9 +96,6 @@ def __init__(
:param email_header_image: Base64-encoded image data included in email notifications sent to status page subscribers.
:type email_header_image: str, optional

:param enabled: Whether the status page is enabled.
:type enabled: bool, optional

:param favicon: Base64-encoded image data displayed in the browser tab.
:type favicon: str, optional

Expand Down Expand Up @@ -129,8 +123,6 @@ def __init__(
kwargs["components"] = components
if email_header_image is not unset:
kwargs["email_header_image"] = email_header_image
if enabled is not unset:
kwargs["enabled"] = enabled
if favicon is not unset:
kwargs["favicon"] = favicon
if slack_app_icon is not unset:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ def openapi_types(_):
"company_logo": (str,),
"domain_prefix": (str,),
"email_header_image": (str,),
"enabled": (bool,),
"favicon": (str,),
"name": (str,),
"slack_app_icon": (str,),
Expand All @@ -50,7 +49,6 @@ def openapi_types(_):
"company_logo": "company_logo",
"domain_prefix": "domain_prefix",
"email_header_image": "email_header_image",
"enabled": "enabled",
"favicon": "favicon",
"name": "name",
"slack_app_icon": "slack_app_icon",
Expand All @@ -65,7 +63,6 @@ def __init__(
company_logo: Union[str, UnsetType] = unset,
domain_prefix: Union[str, UnsetType] = unset,
email_header_image: Union[str, UnsetType] = unset,
enabled: Union[bool, UnsetType] = unset,
favicon: Union[str, UnsetType] = unset,
name: Union[str, UnsetType] = unset,
slack_app_icon: Union[str, UnsetType] = unset,
Expand All @@ -87,9 +84,6 @@ def __init__(
:param email_header_image: The base64-encoded image data displayed in email notifications sent to status page subscribers.
:type email_header_image: str, optional

:param enabled: Whether the status page is enabled.
:type enabled: bool, optional

:param favicon: The base64-encoded image data displayed in the browser tab.
:type favicon: str, optional

Expand Down Expand Up @@ -117,8 +111,6 @@ def __init__(
kwargs["domain_prefix"] = domain_prefix
if email_header_image is not unset:
kwargs["email_header_image"] = email_header_image
if enabled is not unset:
kwargs["enabled"] = enabled
if favicon is not unset:
kwargs["favicon"] = favicon
if name is not unset:
Expand Down
Loading