All URIs are relative to https://chatbots.obilytics.com/api
Method | HTTP request | Description |
---|---|---|
chatbotChatbotIDRegexDelete | DELETE /chatbot/{chatbotID}/regex | Delete a all training regex |
chatbotChatbotIDRegexGet | GET /chatbot/{chatbotID}/regex | Returns all training regex |
chatbotChatbotIDRegexPost | POST /chatbot/{chatbotID}/regex | Create a specific training regex |
chatbotChatbotIDRegexRegexIDDelete | DELETE /chatbot/{chatbotID}/regex/{RegexID} | Delete a specific training regex |
chatbotChatbotIDRegexRegexIDGet | GET /chatbot/{chatbotID}/regex/{RegexID} | Get a specific training regex |
chatbotChatbotIDRegexRegexIDPut | PUT /chatbot/{chatbotID}/regex/{RegexID} | Returns a specific Regex |
chatbotChatbotIDRegexDelete($chatbot_id)
Delete a all training regex
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: bearerAuth
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new OpenAPI\Client\Api\RegexApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$chatbot_id = 'chatbot_id_example'; // string | Pass in a chatbotID to identify the chatbot.
try {
$apiInstance->chatbotChatbotIDRegexDelete($chatbot_id);
} catch (Exception $e) {
echo 'Exception when calling RegexApi->chatbotChatbotIDRegexDelete: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
chatbot_id | string | Pass in a chatbotID to identify the chatbot. |
void (empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\OpenAPI\Client\Model\RegexFeature[] chatbotChatbotIDRegexGet($chatbot_id)
Returns all training regex
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: bearerAuth
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new OpenAPI\Client\Api\RegexApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$chatbot_id = 'chatbot_id_example'; // string | Pass in a chatbotID to identify the chatbot.
try {
$result = $apiInstance->chatbotChatbotIDRegexGet($chatbot_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RegexApi->chatbotChatbotIDRegexGet: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
chatbot_id | string | Pass in a chatbotID to identify the chatbot. |
\OpenAPI\Client\Model\RegexFeature[]
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\OpenAPI\Client\Model\RegexFeature chatbotChatbotIDRegexPost($chatbot_id, $regex_feature)
Create a specific training regex
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: bearerAuth
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new OpenAPI\Client\Api\RegexApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$chatbot_id = 'chatbot_id_example'; // string | Pass in a chatbotID to identify the chatbot.
$regex_feature = new \OpenAPI\Client\Model\RegexFeature(); // \OpenAPI\Client\Model\RegexFeature |
try {
$result = $apiInstance->chatbotChatbotIDRegexPost($chatbot_id, $regex_feature);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RegexApi->chatbotChatbotIDRegexPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
chatbot_id | string | Pass in a chatbotID to identify the chatbot. | |
regex_feature | \OpenAPI\Client\Model\RegexFeature |
\OpenAPI\Client\Model\RegexFeature
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
chatbotChatbotIDRegexRegexIDDelete($chatbot_id, $regex_id)
Delete a specific training regex
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: bearerAuth
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new OpenAPI\Client\Api\RegexApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$chatbot_id = 'chatbot_id_example'; // string | Pass in a chatbotID to identify the chatbot.
$regex_id = 'regex_id_example'; // string | Pass in a RegexID to identify the Regex.
try {
$apiInstance->chatbotChatbotIDRegexRegexIDDelete($chatbot_id, $regex_id);
} catch (Exception $e) {
echo 'Exception when calling RegexApi->chatbotChatbotIDRegexRegexIDDelete: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
chatbot_id | string | Pass in a chatbotID to identify the chatbot. | |
regex_id | string | Pass in a RegexID to identify the Regex. |
void (empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\OpenAPI\Client\Model\RegexFeature chatbotChatbotIDRegexRegexIDGet($chatbot_id, $regex_id)
Get a specific training regex
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: bearerAuth
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new OpenAPI\Client\Api\RegexApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$chatbot_id = 'chatbot_id_example'; // string | Pass in a chatbotID to identify the chatbot.
$regex_id = 'regex_id_example'; // string | Pass in a RegexID to identify the Regex.
try {
$result = $apiInstance->chatbotChatbotIDRegexRegexIDGet($chatbot_id, $regex_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RegexApi->chatbotChatbotIDRegexRegexIDGet: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
chatbot_id | string | Pass in a chatbotID to identify the chatbot. | |
regex_id | string | Pass in a RegexID to identify the Regex. |
\OpenAPI\Client\Model\RegexFeature
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\OpenAPI\Client\Model\RegexFeature chatbotChatbotIDRegexRegexIDPut($chatbot_id, $regex_id, $regex_feature)
Returns a specific Regex
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: bearerAuth
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new OpenAPI\Client\Api\RegexApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$chatbot_id = 'chatbot_id_example'; // string | Pass in a chatbotID to identify the chatbot.
$regex_id = 'regex_id_example'; // string | Pass in a RegexID to identify the Regex.
$regex_feature = new \OpenAPI\Client\Model\RegexFeature(); // \OpenAPI\Client\Model\RegexFeature |
try {
$result = $apiInstance->chatbotChatbotIDRegexRegexIDPut($chatbot_id, $regex_id, $regex_feature);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RegexApi->chatbotChatbotIDRegexRegexIDPut: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
chatbot_id | string | Pass in a chatbotID to identify the chatbot. | |
regex_id | string | Pass in a RegexID to identify the Regex. | |
regex_feature | \OpenAPI\Client\Model\RegexFeature |
\OpenAPI\Client\Model\RegexFeature
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]