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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@

A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com

- API version: 5.10.0
- Package version: 5.10.0
- API version: 5.11.0
- Package version: 5.11.0

## Requirements

Expand Down
17 changes: 17 additions & 0 deletions docs/AuditLogActor.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# AuditLogActor

The user or service that performed the action. Absent if the actor is unknown.

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**email** | **str** | Email address of the actor. Absent if unavailable. | [optional]
**id** | **str** | UUID of the actor. | [optional]
**metadata** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | Additional actor-specific data. | [optional]
**name** | **str** | Display name of the actor. Absent if unavailable. | [optional]
**type** | **str** | Actor type (e.g. member, api_key, system). | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

[[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api)


16 changes: 16 additions & 0 deletions docs/AuditLogContext.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# AuditLogContext

Request context at the time of the event. Absent if context was not captured.

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**country** | **str** | Country code derived from the request IP. | [optional]
**ip** | **str** | IP address the request originated from. | [optional]
**metadata** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | Additional context-specific data. | [optional]
**user_agent** | **str** | User agent of the client that made the request. | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

[[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api)


21 changes: 21 additions & 0 deletions docs/AuditLogEvent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# AuditLogEvent


## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**action** | **str** | The action that was performed (e.g. notification.sent, segment.created, member.invited). | [optional]
**actor** | [**AuditLogActor**](AuditLogActor.md) | | [optional]
**app_id** | **str** | UUID of the app the event is associated with. Absent for org-level events. | [optional]
**context** | [**AuditLogContext**](AuditLogContext.md) | | [optional]
**id** | **str** | UUID of the audit log event. | [optional]
**metadata** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | Additional event-specific data that does not fit into the standard fields. | [optional]
**occurred_at** | **str** | RFC 3339 timestamp of when the event occurred (e.g. 2026-02-18T12:34:56Z). | [optional]
**organization_id** | **str** | UUID of the organization the event belongs to. | [optional]
**targets** | [**[AuditLogTarget]**](AuditLogTarget.md) | The resources the action was performed on. May be empty for org-level events. | [optional]
**version** | **int** | Schema version of the event payload. | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

[[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api)


16 changes: 16 additions & 0 deletions docs/AuditLogTarget.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# AuditLogTarget

A resource the action was performed on.

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **str** | UUID of the resource. | [optional]
**metadata** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | Additional resource-specific data. | [optional]
**name** | **str** | Display name of the resource. Absent if unavailable. | [optional]
**type** | **str** | Resource type (e.g. notification, segment, journey, app). | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

[[Back to API list]](https://github.com/OneSignal/onesignal-python-api#full-api-reference) [[Back to README]](https://github.com/OneSignal/onesignal-python-api)


Loading