All URIs are relative to http://localhost
| Method | HTTP request | Description |
|---|---|---|
| autopost_controller_change_active | POST /autopost/{id}/active | |
| autopost_controller_create_autopost | POST /autopost | |
| autopost_controller_delete_autopost | DELETE /autopost/{id} | |
| autopost_controller_get_autoposts | GET /autopost | |
| autopost_controller_send_webhook | POST /autopost/send | |
| autopost_controller_update_autopost | PUT /autopost/{id} |
autopost_controller_change_active(id)
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.AutopostApi(api_client)
id = 'id_example' # str |
try:
api_instance.autopost_controller_change_active(id)
except Exception as e:
print("Exception when calling AutopostApi->autopost_controller_change_active: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | str |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 201 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
autopost_controller_create_autopost(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.AutopostApi(api_client)
body = None # object |
try:
api_instance.autopost_controller_create_autopost(body)
except Exception as e:
print("Exception when calling AutopostApi->autopost_controller_create_autopost: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| 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]
autopost_controller_delete_autopost(id)
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.AutopostApi(api_client)
id = 'id_example' # str |
try:
api_instance.autopost_controller_delete_autopost(id)
except Exception as e:
print("Exception when calling AutopostApi->autopost_controller_delete_autopost: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | 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]
autopost_controller_get_autoposts()
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.AutopostApi(api_client)
try:
api_instance.autopost_controller_get_autoposts()
except Exception as e:
print("Exception when calling AutopostApi->autopost_controller_get_autoposts: %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]
autopost_controller_send_webhook(url)
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.AutopostApi(api_client)
url = 'url_example' # str |
try:
api_instance.autopost_controller_send_webhook(url)
except Exception as e:
print("Exception when calling AutopostApi->autopost_controller_send_webhook: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| url | str |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 201 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
autopost_controller_update_autopost(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.AutopostApi(api_client)
id = 'id_example' # str |
body = None # object |
try:
api_instance.autopost_controller_update_autopost(id, body)
except Exception as e:
print("Exception when calling AutopostApi->autopost_controller_update_autopost: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | str | ||
| body | object |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]