All URIs are relative to https://api.wordlift.io
Method | HTTP request | Description |
---|---|---|
create_platform_limit | POST /platform-limit/limits | Create Platform Limit |
delete_platform_limit | DELETE /platform-limit/limits/{id} | Delete Platform Limit |
get_platform_limit | GET /platform-limit/limits/{id} | Get Platform Limit |
list_platform_limits | GET /platform-limit/limits | List Platform Limits |
update_platform_limit | PUT /platform-limit/limits/{id} | Update Platform Limit |
PlatformLimit create_platform_limit(platform_limit_request)
Create Platform Limit
Create a platform limit.
- Api Key Authentication (ApiKey):
import wordlift_client
from wordlift_client.models.platform_limit import PlatformLimit
from wordlift_client.models.platform_limit_request import PlatformLimitRequest
from wordlift_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.wordlift.io
# See configuration.py for a list of all supported configuration parameters.
configuration = wordlift_client.Configuration(
host = "https://api.wordlift.io"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure API key authorization: ApiKey
configuration.api_key['ApiKey'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKey'] = 'Bearer'
# Enter a context with an instance of the API client
async with wordlift_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = wordlift_client.PlatformLimitsApi(api_client)
platform_limit_request = wordlift_client.PlatformLimitRequest() # PlatformLimitRequest |
try:
# Create Platform Limit
api_response = await api_instance.create_platform_limit(platform_limit_request)
print("The response of PlatformLimitsApi->create_platform_limit:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling PlatformLimitsApi->create_platform_limit: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
platform_limit_request | PlatformLimitRequest |
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Found | - |
401 | Authentication Failure | - |
404 | Not Found | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_platform_limit(id)
Delete Platform Limit
Delete a platform limit.
- Api Key Authentication (ApiKey):
import wordlift_client
from wordlift_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.wordlift.io
# See configuration.py for a list of all supported configuration parameters.
configuration = wordlift_client.Configuration(
host = "https://api.wordlift.io"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure API key authorization: ApiKey
configuration.api_key['ApiKey'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKey'] = 'Bearer'
# Enter a context with an instance of the API client
async with wordlift_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = wordlift_client.PlatformLimitsApi(api_client)
id = 56 # int | Platform Limit id
try:
# Delete Platform Limit
await api_instance.delete_platform_limit(id)
except Exception as e:
print("Exception when calling PlatformLimitsApi->delete_platform_limit: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | int | Platform Limit id |
void (empty response body)
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
200 | Found | - |
401 | Authentication Failure | - |
404 | Not Found | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PlatformLimit get_platform_limit(id)
Get Platform Limit
Get a platform limit.
- Api Key Authentication (ApiKey):
import wordlift_client
from wordlift_client.models.platform_limit import PlatformLimit
from wordlift_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.wordlift.io
# See configuration.py for a list of all supported configuration parameters.
configuration = wordlift_client.Configuration(
host = "https://api.wordlift.io"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure API key authorization: ApiKey
configuration.api_key['ApiKey'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKey'] = 'Bearer'
# Enter a context with an instance of the API client
async with wordlift_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = wordlift_client.PlatformLimitsApi(api_client)
id = 56 # int | Platform Limit id
try:
# Get Platform Limit
api_response = await api_instance.get_platform_limit(id)
print("The response of PlatformLimitsApi->get_platform_limit:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling PlatformLimitsApi->get_platform_limit: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | int | Platform Limit id |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Found | - |
401 | Authentication Failure | - |
404 | Not Found | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PagePlatformLimit list_platform_limits(based_on_in=based_on_in, based_on_value_in=based_on_value_in, applies_to_in=applies_to_in, scope_in=scope_in)
List Platform Limits
List the platform limits.
- Api Key Authentication (ApiKey):
import wordlift_client
from wordlift_client.models.page_platform_limit import PagePlatformLimit
from wordlift_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.wordlift.io
# See configuration.py for a list of all supported configuration parameters.
configuration = wordlift_client.Configuration(
host = "https://api.wordlift.io"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure API key authorization: ApiKey
configuration.api_key['ApiKey'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKey'] = 'Bearer'
# Enter a context with an instance of the API client
async with wordlift_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = wordlift_client.PlatformLimitsApi(api_client)
based_on_in = ['based_on_in_example'] # List[str] | The type of based on, e.g. `sku`. (optional)
based_on_value_in = ['based_on_value_in_example'] # List[str] | The based on values. (optional)
applies_to_in = ['applies_to_in_example'] # List[str] | The applies to (e.g. API name). (optional)
scope_in = ['scope_in_example'] # List[str] | The scope. (optional)
try:
# List Platform Limits
api_response = await api_instance.list_platform_limits(based_on_in=based_on_in, based_on_value_in=based_on_value_in, applies_to_in=applies_to_in, scope_in=scope_in)
print("The response of PlatformLimitsApi->list_platform_limits:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling PlatformLimitsApi->list_platform_limits: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
based_on_in | List[str] | The type of based on, e.g. `sku`. | [optional] |
based_on_value_in | List[str] | The based on values. | [optional] |
applies_to_in | List[str] | The applies to (e.g. API name). | [optional] |
scope_in | List[str] | The scope. | [optional] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Found | - |
401 | Authentication Failure | - |
404 | Not Found | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PlatformLimit update_platform_limit(id, platform_limit_request)
Update Platform Limit
Update a platform limit.
- Api Key Authentication (ApiKey):
import wordlift_client
from wordlift_client.models.platform_limit import PlatformLimit
from wordlift_client.models.platform_limit_request import PlatformLimitRequest
from wordlift_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.wordlift.io
# See configuration.py for a list of all supported configuration parameters.
configuration = wordlift_client.Configuration(
host = "https://api.wordlift.io"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure API key authorization: ApiKey
configuration.api_key['ApiKey'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKey'] = 'Bearer'
# Enter a context with an instance of the API client
async with wordlift_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = wordlift_client.PlatformLimitsApi(api_client)
id = 56 # int | Platform Limit id
platform_limit_request = wordlift_client.PlatformLimitRequest() # PlatformLimitRequest |
try:
# Update Platform Limit
api_response = await api_instance.update_platform_limit(id, platform_limit_request)
print("The response of PlatformLimitsApi->update_platform_limit:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling PlatformLimitsApi->update_platform_limit: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | int | Platform Limit id | |
platform_limit_request | PlatformLimitRequest |
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Found | - |
401 | Authentication Failure | - |
404 | Not Found | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]