All URIs are relative to /
Method | HTTP request | Description |
---|---|---|
get_tag_audit_logs_with_history | GET /1.0/kb/tags/{tagId}/auditLogsWithHistory | Retrieve tag audit logs with history by id |
get_tags | GET /1.0/kb/tags/pagination | List tags |
search_tags | GET /1.0/kb/tags/search/{searchKey} | Search tags |
list[AuditLog] get_tag_audit_logs_with_history(tag_id)
Retrieve tag audit logs with history by id
from __future__ import print_function
import time
import killbill
from killbill.rest import ApiException
from pprint import pprint
# Configure API key authorization: Killbill Api Key
configuration = killbill.Configuration()
configuration.api_key['X-Killbill-ApiKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-Killbill-ApiKey'] = 'Bearer'
# Configure API key authorization: Killbill Api Secret
configuration = killbill.Configuration()
configuration.api_key['X-Killbill-ApiSecret'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-Killbill-ApiSecret'] = 'Bearer'# Configure HTTP basic authorization: basicAuth
configuration = killbill.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = killbill.TagApi(killbill.ApiClient(configuration))
tag_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # str |
try:
# Retrieve tag audit logs with history by id
api_response = api_instance.get_tag_audit_logs_with_history(tag_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling TagApi->get_tag_audit_logs_with_history: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
tag_id | str |
[Killbill Api Key](../README.md#Killbill Api Key), [Killbill Api Secret](../README.md#Killbill Api Secret), basicAuth
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
list[Tag] get_tags(offset=offset, limit=limit, audit=audit)
List tags
from __future__ import print_function
import time
import killbill
from killbill.rest import ApiException
from pprint import pprint
# Configure API key authorization: Killbill Api Key
configuration = killbill.Configuration()
configuration.api_key['X-Killbill-ApiKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-Killbill-ApiKey'] = 'Bearer'
# Configure API key authorization: Killbill Api Secret
configuration = killbill.Configuration()
configuration.api_key['X-Killbill-ApiSecret'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-Killbill-ApiSecret'] = 'Bearer'# Configure HTTP basic authorization: basicAuth
configuration = killbill.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = killbill.TagApi(killbill.ApiClient(configuration))
offset = 0 # int | (optional) (default to 0)
limit = 100 # int | (optional) (default to 100)
audit = 'NONE' # str | (optional) (default to NONE)
try:
# List tags
api_response = api_instance.get_tags(offset=offset, limit=limit, audit=audit)
pprint(api_response)
except ApiException as e:
print("Exception when calling TagApi->get_tags: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
offset | int | [optional] [default to 0] | |
limit | int | [optional] [default to 100] | |
audit | str | [optional] [default to NONE] |
[Killbill Api Key](../README.md#Killbill Api Key), [Killbill Api Secret](../README.md#Killbill Api Secret), basicAuth
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
list[Tag] search_tags(search_key, offset=offset, limit=limit, audit=audit)
Search tags
from __future__ import print_function
import time
import killbill
from killbill.rest import ApiException
from pprint import pprint
# Configure API key authorization: Killbill Api Key
configuration = killbill.Configuration()
configuration.api_key['X-Killbill-ApiKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-Killbill-ApiKey'] = 'Bearer'
# Configure API key authorization: Killbill Api Secret
configuration = killbill.Configuration()
configuration.api_key['X-Killbill-ApiSecret'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-Killbill-ApiSecret'] = 'Bearer'# Configure HTTP basic authorization: basicAuth
configuration = killbill.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = killbill.TagApi(killbill.ApiClient(configuration))
search_key = 'search_key_example' # str |
offset = 0 # int | (optional) (default to 0)
limit = 100 # int | (optional) (default to 100)
audit = 'NONE' # str | (optional) (default to NONE)
try:
# Search tags
api_response = api_instance.search_tags(search_key, offset=offset, limit=limit, audit=audit)
pprint(api_response)
except ApiException as e:
print("Exception when calling TagApi->search_tags: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
search_key | str | ||
offset | int | [optional] [default to 0] | |
limit | int | [optional] [default to 100] | |
audit | str | [optional] [default to NONE] |
[Killbill Api Key](../README.md#Killbill Api Key), [Killbill Api Secret](../README.md#Killbill Api Secret), basicAuth
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]