All URIs are relative to http://localhost:59999, except if the operation defines another base path.
Method | HTTP request | Description |
---|---|---|
deleteByKeyFromStorage() | DELETE /storage/{key} | |
getByKeyFromStorage() | GET /storage/{key} | |
incrementCounter() | PUT /storage/counter/increment | |
searchRecord() | GET /storage/search/{term} | |
upsertByKeyFromStorage() | PUT /storage/{key} |
deleteByKeyFromStorage($key, $x_monday_access_token)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\StorageApi(
// 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()
);
$key = 'key_example'; // string
$x_monday_access_token = 'x_monday_access_token_example'; // string
try {
$apiInstance->deleteByKeyFromStorage($key, $x_monday_access_token);
} catch (Exception $e) {
echo 'Exception when calling StorageApi->deleteByKeyFromStorage: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
key | string | ||
x_monday_access_token | string |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getByKeyFromStorage($key, $shared, $x_monday_access_token): \OpenAPI\Client\Model\StorageDataContract
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\StorageApi(
// 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()
);
$key = 'key_example'; // string
$shared = True; // bool
$x_monday_access_token = 'x_monday_access_token_example'; // string
try {
$result = $apiInstance->getByKeyFromStorage($key, $shared, $x_monday_access_token);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StorageApi->getByKeyFromStorage: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
key | string | ||
shared | bool | ||
x_monday_access_token | string |
\OpenAPI\Client\Model\StorageDataContract
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
incrementCounter($x_monday_access_token, $increment_counter_params): \OpenAPI\Client\Model\IncrementCounter200Response
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\StorageApi(
// 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()
);
$x_monday_access_token = 'x_monday_access_token_example'; // string
$increment_counter_params = new \OpenAPI\Client\Model\IncrementCounterParams(); // \OpenAPI\Client\Model\IncrementCounterParams
try {
$result = $apiInstance->incrementCounter($x_monday_access_token, $increment_counter_params);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StorageApi->incrementCounter: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
x_monday_access_token | string | ||
increment_counter_params | \OpenAPI\Client\Model\IncrementCounterParams |
\OpenAPI\Client\Model\IncrementCounter200Response
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
searchRecord($term, $x_monday_access_token, $cursor): mixed
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\StorageApi(
// 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()
);
$term = 'term_example'; // string
$x_monday_access_token = 'x_monday_access_token_example'; // string
$cursor = 'cursor_example'; // string
try {
$result = $apiInstance->searchRecord($term, $x_monday_access_token, $cursor);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StorageApi->searchRecord: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
term | string | ||
x_monday_access_token | string | ||
cursor | string | [optional] |
mixed
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
upsertByKeyFromStorage($key, $x_monday_access_token, $json_data_contract, $shared, $previous_version): \OpenAPI\Client\Model\UpsertByKeyFromStorage200Response
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\StorageApi(
// 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()
);
$key = 'key_example'; // string
$x_monday_access_token = 'x_monday_access_token_example'; // string
$json_data_contract = new \OpenAPI\Client\Model\JsonDataContract(); // \OpenAPI\Client\Model\JsonDataContract
$shared = True; // bool
$previous_version = 'previous_version_example'; // string
try {
$result = $apiInstance->upsertByKeyFromStorage($key, $x_monday_access_token, $json_data_contract, $shared, $previous_version);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StorageApi->upsertByKeyFromStorage: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
key | string | ||
x_monday_access_token | string | ||
json_data_contract | \OpenAPI\Client\Model\JsonDataContract | ||
shared | bool | [optional] | |
previous_version | string | [optional] |
\OpenAPI\Client\Model\UpsertByKeyFromStorage200Response
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]