All URIs are relative to http://localhost
| Method | HTTP request | Description |
|---|---|---|
| settings_controller_add_git_hub | POST /settings/github | |
| settings_controller_auth_url | GET /settings/github/url | |
| settings_controller_delete_repository | DELETE /settings/repository/{id} | |
| settings_controller_delete_team_member | DELETE /settings/team/{id} | |
| settings_controller_get_connected_github_accounts | GET /settings/github | |
| settings_controller_get_organizations | GET /settings/organizations/{id} | |
| settings_controller_get_repositories | GET /settings/organizations/{id}/{github} | |
| settings_controller_get_team | GET /settings/team | |
| settings_controller_invite_team_member | POST /settings/team | |
| settings_controller_update_git_hub_login | POST /settings/organizations/{id} |
settings_controller_add_git_hub()
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.SettingsApi(api_client)
try:
api_instance.settings_controller_add_git_hub()
except Exception as e:
print("Exception when calling SettingsApi->settings_controller_add_git_hub: %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]
settings_controller_auth_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.SettingsApi(api_client)
try:
api_instance.settings_controller_auth_url()
except Exception as e:
print("Exception when calling SettingsApi->settings_controller_auth_url: %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]
settings_controller_delete_repository(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.SettingsApi(api_client)
id = 'id_example' # str |
try:
api_instance.settings_controller_delete_repository(id)
except Exception as e:
print("Exception when calling SettingsApi->settings_controller_delete_repository: %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]
settings_controller_delete_team_member(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.SettingsApi(api_client)
id = 'id_example' # str |
try:
api_instance.settings_controller_delete_team_member(id)
except Exception as e:
print("Exception when calling SettingsApi->settings_controller_delete_team_member: %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]
settings_controller_get_connected_github_accounts()
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.SettingsApi(api_client)
try:
api_instance.settings_controller_get_connected_github_accounts()
except Exception as e:
print("Exception when calling SettingsApi->settings_controller_get_connected_github_accounts: %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]
settings_controller_get_organizations(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.SettingsApi(api_client)
id = 'id_example' # str |
try:
api_instance.settings_controller_get_organizations(id)
except Exception as e:
print("Exception when calling SettingsApi->settings_controller_get_organizations: %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]
settings_controller_get_repositories(id, github)
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.SettingsApi(api_client)
id = 'id_example' # str |
github = 'github_example' # str |
try:
api_instance.settings_controller_get_repositories(id, github)
except Exception as e:
print("Exception when calling SettingsApi->settings_controller_get_repositories: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | str | ||
| github | 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]
settings_controller_get_team()
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.SettingsApi(api_client)
try:
api_instance.settings_controller_get_team()
except Exception as e:
print("Exception when calling SettingsApi->settings_controller_get_team: %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]
settings_controller_invite_team_member(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.SettingsApi(api_client)
body = None # object |
try:
api_instance.settings_controller_invite_team_member(body)
except Exception as e:
print("Exception when calling SettingsApi->settings_controller_invite_team_member: %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]
settings_controller_update_git_hub_login(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.SettingsApi(api_client)
id = 'id_example' # str |
try:
api_instance.settings_controller_update_git_hub_login(id)
except Exception as e:
print("Exception when calling SettingsApi->settings_controller_update_git_hub_login: %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]