All URIs are relative to https://api.wordlift.io, except if the operation defines another base path.
Method | HTTP request | Description |
---|---|---|
updateNodesCollection() | PUT /vector-search/nodes-collection | Update |
updateNodesCollection($node_request)
Update
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: ApiKey
$config = Wordlift\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Wordlift\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new Wordlift\Client\Api\VectorSearchNodesApi(
// 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
);
$node_request = array(new \Wordlift\Client\Model\NodeRequest()); // \Wordlift\Client\Model\NodeRequest[]
try {
$apiInstance->updateNodesCollection($node_request);
} catch (Exception $e) {
echo 'Exception when calling VectorSearchNodesApi->updateNodesCollection: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
node_request | \Wordlift\Client\Model\NodeRequest[] |
void (empty response body)
- Content-Type:
application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]