Skip to content

Latest commit

 

History

History
122 lines (76 loc) · 3.28 KB

File metadata and controls

122 lines (76 loc) · 3.28 KB

postiz_python_client.NotificationsApi

All URIs are relative to http://localhost

Method HTTP request Description
notifications_controller_main_page_list GET /notifications
notifications_controller_notifications GET /notifications/list

notifications_controller_main_page_list

notifications_controller_main_page_list()

Example

import postiz_python_client
from postiz_python_client.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 = postiz_python_client.Configuration(
    host = "http://localhost"
)


# Enter a context with an instance of the API client
with postiz_python_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = postiz_python_client.NotificationsApi(api_client)

    try:
        api_instance.notifications_controller_main_page_list()
    except Exception as e:
        print("Exception when calling NotificationsApi->notifications_controller_main_page_list: %s\n" % e)

Parameters

This endpoint does not need any parameter.

Return type

void (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

HTTP response details

Status code Description Response headers
200 -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

notifications_controller_notifications

notifications_controller_notifications()

Example

import postiz_python_client
from postiz_python_client.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 = postiz_python_client.Configuration(
    host = "http://localhost"
)


# Enter a context with an instance of the API client
with postiz_python_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = postiz_python_client.NotificationsApi(api_client)

    try:
        api_instance.notifications_controller_notifications()
    except Exception as e:
        print("Exception when calling NotificationsApi->notifications_controller_notifications: %s\n" % e)

Parameters

This endpoint does not need any parameter.

Return type

void (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

HTTP response details

Status code Description Response headers
200 -

[Back to top] [Back to API list] [Back to Model list] [Back to README]