Skip to content

Latest commit

 

History

History
67 lines (45 loc) · 1.97 KB

VectorSearchNodesApi.md

File metadata and controls

67 lines (45 loc) · 1.97 KB

Wordlift\Client\VectorSearchNodesApi

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()

updateNodesCollection($node_request)

Update

Example

<?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;
}

Parameters

Name Type Description Notes
node_request \Wordlift\Client\Model\NodeRequest[]

Return type

void (empty response body)

Authorization

ApiKey

HTTP request headers

  • Content-Type: application/json
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]