All URIs are relative to http://localhost
| Method | HTTP request | Description |
|---|---|---|
| messages_controller_create_message | POST /messages/{groupId} | |
| messages_controller_get_messages | GET /messages/{groupId}/{page} | |
| messages_controller_get_messages_group | GET /messages |
messages_controller_create_message(group_id, body)
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.MessagesApi(api_client)
group_id = 'group_id_example' # str |
body = None # object |
try:
api_instance.messages_controller_create_message(group_id, body)
except Exception as e:
print("Exception when calling MessagesApi->messages_controller_create_message: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| group_id | str | ||
| body | object |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 201 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
messages_controller_get_messages(group_id, page)
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.MessagesApi(api_client)
group_id = 'group_id_example' # str |
page = 'page_example' # str |
try:
api_instance.messages_controller_get_messages(group_id, page)
except Exception as e:
print("Exception when calling MessagesApi->messages_controller_get_messages: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| group_id | str | ||
| page | str |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
messages_controller_get_messages_group()
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.MessagesApi(api_client)
try:
api_instance.messages_controller_get_messages_group()
except Exception as e:
print("Exception when calling MessagesApi->messages_controller_get_messages_group: %s\n" % e)This endpoint does not need any parameter.
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]