Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/speakeasy-sdks/tigris-php-sdk
A php SDK for accessing the tigris-php-sdk API.
https://github.com/speakeasy-sdks/tigris-php-sdk
Last synced: 2 days ago
JSON representation
A php SDK for accessing the tigris-php-sdk API.
- Host: GitHub
- URL: https://github.com/speakeasy-sdks/tigris-php-sdk
- Owner: speakeasy-sdks
- License: mit
- Created: 2023-03-09T11:05:12.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-02T21:19:25.000Z (7 months ago)
- Last Synced: 2024-04-28T05:14:54.740Z (6 months ago)
- Language: PHP
- Size: 949 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# tigris-data/tigris-api
## SDK Installation
### Composer
To install the SDK first add the below to your `composer.json` file:
```json
{
"repositories": [
{
"type": "github",
"url": "https://github.com/speakeasy-sdks/tigris-php-sdk.git"
}
],
"require": {
"tigris-data/tigris-api": "*"
}
}
```Then run the following command:
```bash
composer update
```## SDK Example Usage
```php
bearerAuth = 'Bearer YOUR_BEARER_TOKEN_HERE';$sdk = SDK::builder()
->setSecurity($security);
->build();try {
$request = new TigrisDeleteAppKeyRequest();
$request->deleteAppKeyRequest = new DeleteAppKeyRequest();
$request->deleteAppKeyRequest->id = 'corrupti';
$request->project = 'provident';$response = $sdk->appKey->delete($request);
if ($response->deleteAppKeyResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
bearerAuth = 'Bearer YOUR_BEARER_TOKEN_HERE';$sdk = SDK::builder()
->setSecurity($security);
->build();try {
$request = new TigrisDeleteAppKeyRequest();
$request->deleteAppKeyRequest = new DeleteAppKeyRequest();
$request->deleteAppKeyRequest->id = '89bd9d8d-69a6-474e-8f46-7cc8796ed151';
$request->project = 'deserunt';$response = $sdk->appKey->delete($request);
if ($response->deleteAppKeyResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
bearerAuth = 'Bearer YOUR_BEARER_TOKEN_HERE';$sdk = SDK::builder()
->setSecurity($security);
->build();try {
$request = new TigrisDeleteAppKeyRequest();
$request->deleteAppKeyRequest = new DeleteAppKeyRequest();
$request->deleteAppKeyRequest->id = '89bd9d8d-69a6-474e-8f46-7cc8796ed151';
$request->project = 'deserunt';$response = $sdk->appKey->delete($request);
if ($response->deleteAppKeyResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
bearerAuth = 'Bearer YOUR_BEARER_TOKEN_HERE';$sdk = SDK::builder()
->setSecurity($security);
->build();try {
$request = new TigrisDeleteAppKeyRequest();
$request->deleteAppKeyRequest = new DeleteAppKeyRequest();
$request->deleteAppKeyRequest->id = '89bd9d8d-69a6-474e-8f46-7cc8796ed151';
$request->project = 'deserunt';$response = $sdk->appKey->delete($request);
if ($response->deleteAppKeyResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
bearerAuth = 'Bearer YOUR_BEARER_TOKEN_HERE';$sdk = SDK::builder()
->setSecurity($security);
->build();try {
$request = new TigrisDeleteAppKeyRequest();
$request->deleteAppKeyRequest = new DeleteAppKeyRequest();
$request->deleteAppKeyRequest->id = '89bd9d8d-69a6-474e-8f46-7cc8796ed151';
$request->project = 'deserunt';$response = $sdk->appKey->delete($request);
if ($response->deleteAppKeyResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
bearerAuth = 'Bearer YOUR_BEARER_TOKEN_HERE';$sdk = SDK::builder()
->setSecurity($security);
->build();try {
$request = new TigrisDeleteAppKeyRequest();
$request->deleteAppKeyRequest = new DeleteAppKeyRequest();
$request->deleteAppKeyRequest->id = '89bd9d8d-69a6-474e-8f46-7cc8796ed151';
$request->project = 'deserunt';$response = $sdk->appKey->delete($request);
if ($response->deleteAppKeyResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new TigrisDeleteAppKeyRequest();
$request->deleteAppKeyRequest = new DeleteAppKeyRequest();
$request->deleteAppKeyRequest->id = '89bd9d8d-69a6-474e-8f46-7cc8796ed151';
$request->project = 'deserunt';$response = $sdk->appKey->delete($request);
if ($response->deleteAppKeyResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new TigrisDeleteAppKeyRequest();
$request->deleteAppKeyRequest = new DeleteAppKeyRequest();
$request->deleteAppKeyRequest->id = '89bd9d8d-69a6-474e-8f46-7cc8796ed151';
$request->project = 'deserunt';$response = $sdk->appKey->delete($request);
if ($response->deleteAppKeyResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new TigrisDeleteAppKeyRequest();
$request->deleteAppKeyRequest = new DeleteAppKeyRequest();
$request->deleteAppKeyRequest->id = '89bd9d8d-69a6-474e-8f46-7cc8796ed151';
$request->project = 'deserunt';$response = $sdk->appKey->delete($request);
if ($response->deleteAppKeyResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new TigrisDeleteAppKeyRequest();
$request->deleteAppKeyRequest = new DeleteAppKeyRequest();
$request->deleteAppKeyRequest->id = '89bd9d8d-69a6-474e-8f46-7cc8796ed151';
$request->project = 'deserunt';$response = $sdk->appKey->delete($request);
if ($response->deleteAppKeyResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new TigrisDeleteAppKeyRequest();
$request->deleteAppKeyRequest = new DeleteAppKeyRequest();
$request->deleteAppKeyRequest->id = '89bd9d8d-69a6-474e-8f46-7cc8796ed151';
$request->project = 'deserunt';$response = $sdk->appKey->delete($request);
if ($response->deleteAppKeyResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new TigrisDeleteAppKeyRequest();
$request->deleteAppKeyRequest = new DeleteAppKeyRequest();
$request->deleteAppKeyRequest->id = '89bd9d8d-69a6-474e-8f46-7cc8796ed151';
$request->project = 'deserunt';$response = $sdk->appKey->delete($request);
if ($response->deleteAppKeyResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
``````php
build();try {
$request = new CacheCreateCacheRequest();
$request->createCacheRequest = new CreateCacheRequest();
$request->createCacheRequest->options = new CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 548814;
$request->name = 'Kelvin Sporer';
$request->project = 'corrupti';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Exception $e) {
// handle exception
}
```
## SDK Example Usage### Example
```php
bearerAuth = '';$sdk = core\SDK::builder()
->setSecurity($security)
->build();try {
$request = new Operations\CacheCreateCacheRequest();
$request->createCacheRequest = new Shared\CreateCacheRequest();
$request->createCacheRequest->options = new Shared\CreateCacheOptions();
$request->createCacheRequest->options->ttlMs = 481196;
$request->name = '';
$request->project = '';$response = $sdk->cache->create($request);
if ($response->createCacheResponse !== null) {
// handle response
}
} catch (Throwable $e) {
// handle exception
}```
## Available Resources and Operations
### [Auth](docs/sdks/auth/README.md)
* [get](docs/sdks/auth/README.md#get) - Access Token
### [System](docs/sdks/system/README.md)
* [getHealth](docs/sdks/system/README.md#gethealth) - Health Check
* [getServerInfo](docs/sdks/system/README.md#getserverinfo) - Information about the server
* [observabilityQuotaUsage](docs/sdks/system/README.md#observabilityquotausage) - Queries current namespace quota usage
* [queryQuotaLimits](docs/sdks/system/README.md#queryquotalimits) - Queries current namespace quota limits
* [queryTimeSeriesMetrics](docs/sdks/system/README.md#querytimeseriesmetrics) - Queries time series metrics### [NamespaceT](docs/sdks/namespace/README.md)
* [create](docs/sdks/namespace/README.md#create) - Creates a Namespace
* [get](docs/sdks/namespace/README.md#get) - Describe the details of all namespaces
* [getMetadata](docs/sdks/namespace/README.md#getmetadata) - Reads the Namespace Metadata
* [insertMetadata](docs/sdks/namespace/README.md#insertmetadata) - Inserts Namespace Metadata
* [list](docs/sdks/namespace/README.md#list) - Lists all Namespaces
* [updateMetadata](docs/sdks/namespace/README.md#updatemetadata) - Updates Namespace Metadata### [User](docs/sdks/user/README.md)
* [getMetadata](docs/sdks/user/README.md#getmetadata) - Reads the User Metadata
* [insertMetadata](docs/sdks/user/README.md#insertmetadata) - Inserts User Metadata
* [updateMetadata](docs/sdks/user/README.md#updatemetadata) - Updates User Metadata### [Project](docs/sdks/project/README.md)
* [create](docs/sdks/project/README.md#create) - Create Project
* [deleteProject](docs/sdks/project/README.md#deleteproject) - Delete Project and all resources under project
* [list](docs/sdks/project/README.md#list) - List Projects### [AppKey](docs/sdks/appkey/README.md)
* [delete](docs/sdks/appkey/README.md#delete) - Deletes the app key
* [list](docs/sdks/appkey/README.md#list) - List all the app keys
* [rotate](docs/sdks/appkey/README.md#rotate) - Rotates the app key secret
* [tigrisCreateAppKey](docs/sdks/appkey/README.md#tigriscreateappkey) - Creates the app key
* [update](docs/sdks/appkey/README.md#update) - Updates the description of the app key### [Cache](docs/sdks/cache/README.md)
* [create](docs/sdks/cache/README.md#create) - Creates the cache
* [delete](docs/sdks/cache/README.md#delete) - Deletes the cache
* [deleteKeys](docs/sdks/cache/README.md#deletekeys) - Deletes an entry from cache
* [getKey](docs/sdks/cache/README.md#getkey) - Reads an entry from cache
* [getSetKey](docs/sdks/cache/README.md#getsetkey) - Sets an entry in the cache and returns the previous value if exists
* [list](docs/sdks/cache/README.md#list) - Lists all the caches for the given project
* [listKeys](docs/sdks/cache/README.md#listkeys) - Lists all the key for this cache
* [setKey](docs/sdks/cache/README.md#setkey) - Sets an entry in the cache### [Database](docs/sdks/database/README.md)
* [beginTransaction](docs/sdks/database/README.md#begintransaction) - Begin a transaction
* [commitTransaction](docs/sdks/database/README.md#committransaction) - Commit a Transaction
* [createBranch](docs/sdks/database/README.md#createbranch) - Create a database branch
* [deleteBranch](docs/sdks/database/README.md#deletebranch) - Delete a database branch
* [describe](docs/sdks/database/README.md#describe) - Describe database
* [listCollections](docs/sdks/database/README.md#listcollections) - List Collections
* [rollbackTransaction](docs/sdks/database/README.md#rollbacktransaction) - Rollback a transaction
* [tigrisListBranches](docs/sdks/database/README.md#tigrislistbranches) - List database branches### [Collection](docs/sdks/collection/README.md)
* [create](docs/sdks/collection/README.md#create) - Create or update a collection
* [deleteDocuments](docs/sdks/collection/README.md#deletedocuments) - Delete Documents
* [describe](docs/sdks/collection/README.md#describe) - Describe Collection
* [drop](docs/sdks/collection/README.md#drop) - Drop Collection
* [importDocuments](docs/sdks/collection/README.md#importdocuments) - Import Documents
* [insertDocuments](docs/sdks/collection/README.md#insertdocuments) - Insert Documents
* [readDocuments](docs/sdks/collection/README.md#readdocuments) - Read Documents
* [replaceDocuments](docs/sdks/collection/README.md#replacedocuments) - Insert or Replace Documents
* [searchDocuments](docs/sdks/collection/README.md#searchdocuments) - Search Documents.
* [updateDocuments](docs/sdks/collection/README.md#updatedocuments) - Update Documents.### [Channel](docs/sdks/channel/README.md)
* [get](docs/sdks/channel/README.md#get) - Get the details about a channel
* [getMessages](docs/sdks/channel/README.md#getmessages) - Get all messages for a channel
* [list](docs/sdks/channel/README.md#list) - Get all channels for your application project
* [listSubscriptions](docs/sdks/channel/README.md#listsubscriptions) - Get the subscriptions details about a channel
* [pushMessages](docs/sdks/channel/README.md#pushmessages) - push messages to a single channel
* [realtimePresence](docs/sdks/channel/README.md#realtimepresence) - Presence about the channel### [Search](docs/sdks/search/README.md)
* [createDocument](docs/sdks/search/README.md#createdocument) - Create a single document
* [createDocuments](docs/sdks/search/README.md#createdocuments) - Create multiple documents
* [deleteDocuments](docs/sdks/search/README.md#deletedocuments) - Delete documents by ids
* [deleteIndex](docs/sdks/search/README.md#deleteindex) - Deletes search index
* [findDocuments](docs/sdks/search/README.md#finddocuments) - Search Documents.
* [getDocuments](docs/sdks/search/README.md#getdocuments) - Get a single or multiple documents
* [getIndex](docs/sdks/search/README.md#getindex) - Get information about a search index
* [listIndexes](docs/sdks/search/README.md#listindexes) - List search indexes
* [queryDeleteDocuments](docs/sdks/search/README.md#querydeletedocuments) - Delete documents by query
* [replaceDocuments](docs/sdks/search/README.md#replacedocuments) - Create or replace documents in an index
* [updateDocuments](docs/sdks/search/README.md#updatedocuments) - Update documents in an index
* [updateIndex](docs/sdks/search/README.md#updateindex) - Creates or updates search index## Server Selection
## Server Selection
### Select Server by Index
You can override the default server globally by passing a server index to the `server_idx: int` optional parameter when initializing the SDK client instance. The selected server will then be used as the default on the operations that use it. This table lists the indexes associated with the available servers:
| # | Server | Variables |
| - | ------ | --------- |
| 0 | `https://api.preview.tigrisdata.cloud` | None |
| 1 | `http://localhost:8081` | None |### Override Server URL Per-Client
The default server can also be overridden globally by passing a URL to the `server_url: str` optional parameter when initializing the SDK client instance. For example:
### SDK Generated by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks)