credoxa-notification-sdk
Canonical N17 HTTP contract for Credoxa Notification.
This Python package is automatically generated by the OpenAPI Generator project:
- API version: 1.0.0
- Package version: 1.0.0
- Generator version: 7.14.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
Requirements.
Python 3.9+
Installation & Usage
pip install
If the python package is hosted on a repository, you can install directly using:
</code></pre>
<p>Then import the package:</p>
<pre><code class="language-python">import credoxa_notification
Setuptools
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install to install the package for all users)
Then import the package:
import credoxa_notification
Tests
Execute pytest to run the tests.
Getting Started
Please follow the installation procedure and then run the following:
import credoxa_notification
from credoxa_notification.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = credoxa_notification.Configuration(
host = "http://localhost"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure Bearer authorization (JWT): bearerAuth
configuration = credoxa_notification.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API client
with credoxa_notification.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = credoxa_notification.CampaignsApi(api_client)
campaign_id = 'campaign_id_example' # str |
idempotency_key = 'idempotency_key_example' # str |
request_body = None # Dict[str, object] |
x_request_id = 'x_request_id_example' # str | (optional)
x_correlation_id = 'x_correlation_id_example' # str | (optional)
try:
api_response = api_instance.cancel_campaign(campaign_id, idempotency_key, request_body, x_request_id=x_request_id, x_correlation_id=x_correlation_id)
print("The response of CampaignsApi->cancel_campaign:\n")
pprint(api_response)
except ApiException as e:
print("Exception when calling CampaignsApi->cancel_campaign: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to http://localhost
| Class | Method | HTTP request | Description |
|---|---|---|---|
| CampaignsApi | cancel_campaign | POST /api/v1/campaigns/{campaign_id}/cancel | |
| CampaignsApi | create_campaign | POST /api/v1/campaigns | |
| CampaignsApi | get_campaign | GET /api/v1/campaigns/{campaign_id} | |
| CampaignsApi | pause_campaign | POST /api/v1/campaigns/{campaign_id}/pause | |
| CampaignsApi | resume_campaign | POST /api/v1/campaigns/{campaign_id}/resume | |
| DeliveriesApi | get_delivery | GET /api/v1/deliveries/{delivery_id} | |
| InternalCallbacksApi | process_provider_callback | POST /internal/v1/provider-callbacks/{provider} | |
| NotificationsApi | cancel_notification | POST /api/v1/notifications/{notification_id}/cancel | |
| NotificationsApi | create_notification | POST /api/v1/notifications | |
| NotificationsApi | get_notification | GET /api/v1/notifications/{notification_id} | |
| PreferencesApi | list_preferences | GET /api/v1/preferences | |
| PreferencesApi | put_preference | PUT /api/v1/preferences | |
| TemplatesApi | create_template | POST /api/v1/templates | |
| TemplatesApi | get_template | GET /api/v1/templates/{template_id} | |
| TemplatesApi | update_template | PUT /api/v1/templates/{template_id} |
Documentation For Models
- Campaign
- Delivery
- Error
- ErrorResponse
- Notification
- NotificationCreateRequest
- Preference
- PreferenceList
- PreferencePutRequest
- RecipientReference
- Template
- TemplateCreateRequest
- TemplateUpdateRequest
- TemplateVariable
Documentation For Authorization
Authentication schemes defined for the API:
bearerAuth
- Type: Bearer authentication (JWT)
Author
Metadata
Release files for credoxa-notification-sdk 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| credoxa_notification_sdk-1.0.0.tar.gz | 33.7 kB | With provenance | Details for credoxa_notification_sdk-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| credoxa_notification_sdk-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for credoxa_notification_sdk-1.0.0-py3-none-any.whl |
Total release size: 91.8 kB
Release files / credoxa_notification_sdk-1.0.0.tar.gz
| Download URL | credoxa_notification_sdk-1.0.0.tar.gz |
|---|---|
| Size | 33.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
17e1e5282976d06d6d98c4b39696452a1d2b6e3984bea276054946f7eba24225
|
|
BLAKE2b-256 checksum How to use checksums |
0f0335c1f2ad7d8cffac2e8d7091f00bd794257679d879e0d4cfbe459349305b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.
Transparency logRelease files / credoxa_notification_sdk-1.0.0-py3-none-any.whl
| Download URL | credoxa_notification_sdk-1.0.0-py3-none-any.whl |
|---|---|
| Size | 58.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
59e0aa76932fbfa40507a0a9e186f3d49064e187869e777eebf70eb083106817
|
|
BLAKE2b-256 checksum How to use checksums |
94b16a98aa690d49fa1b19435ef180ca7656578c23895489b140702d53ee44ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.
Transparency logSecurity for credoxa-notification-sdk 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for credoxa_notification_sdk-1.0.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.