All URIs are relative to http://localhost
| Method | HTTP request | Description |
|---|---|---|
| copilot_controller_agent | POST /copilot/agent | |
| copilot_controller_calculate_credits | GET /copilot/credits | |
| copilot_controller_chat_agent | POST /copilot/chat | |
| copilot_controller_get_list | GET /copilot/list | |
| copilot_controller_get_messages_list | GET /copilot/{thread}/list | |
| root_controller_get_root | GET / |
copilot_controller_agent()
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.DefaultApi(api_client)
try:
api_instance.copilot_controller_agent()
except Exception as e:
print("Exception when calling DefaultApi->copilot_controller_agent: %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 |
|---|---|---|
| 201 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
copilot_controller_calculate_credits(type)
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.DefaultApi(api_client)
type = 'type_example' # str |
try:
api_instance.copilot_controller_calculate_credits(type)
except Exception as e:
print("Exception when calling DefaultApi->copilot_controller_calculate_credits: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| type | 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]
copilot_controller_chat_agent()
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.DefaultApi(api_client)
try:
api_instance.copilot_controller_chat_agent()
except Exception as e:
print("Exception when calling DefaultApi->copilot_controller_chat_agent: %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 |
|---|---|---|
| 201 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
copilot_controller_get_list()
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.DefaultApi(api_client)
try:
api_instance.copilot_controller_get_list()
except Exception as e:
print("Exception when calling DefaultApi->copilot_controller_get_list: %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]
copilot_controller_get_messages_list(thread)
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.DefaultApi(api_client)
thread = 'thread_example' # str |
try:
api_instance.copilot_controller_get_messages_list(thread)
except Exception as e:
print("Exception when calling DefaultApi->copilot_controller_get_messages_list: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| thread | 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]
root_controller_get_root()
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.DefaultApi(api_client)
try:
api_instance.root_controller_get_root()
except Exception as e:
print("Exception when calling DefaultApi->root_controller_get_root: %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]