All URIs are relative to https://stalactite.jalis.dev/auth.
Method | HTTP request | Description |
---|---|---|
createServerApp() | POST /serverApps | |
deleteServerApp() | DELETE /serverApps/{uid} | |
getServerApp() | GET /serverApps/{uid} | |
getServerApps() | GET /serverApps | |
resetServerAppTokenSignatureKey() | PUT /serverApps/{uid}/tokenSignatureKey/reset | |
updateServerApp() | PUT /serverApps/{uid} |
createServerApp($create_server_app_request): \Jalismrs\Stalactite\Client\Auth\Model\ServerApp
Create and get a serverApp
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: StalactiteToken
$config = Jalismrs\Stalactite\Client\Auth\Configuration::getDefaultConfiguration()->setApiKey('X-API-TOKEN', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Jalismrs\Stalactite\Client\Auth\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-TOKEN', 'Bearer');
$apiInstance = new Jalismrs\Stalactite\Client\Auth\Api\ServerAppsApi(
// 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
);
$create_server_app_request = new \Jalismrs\Stalactite\Client\Auth\Model\CreateServerAppRequest(); // \Jalismrs\Stalactite\Client\Auth\Model\CreateServerAppRequest
try {
$result = $apiInstance->createServerApp($create_server_app_request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ServerAppsApi->createServerApp: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
create_server_app_request | \Jalismrs\Stalactite\Client\Auth\Model\CreateServerAppRequest |
\Jalismrs\Stalactite\Client\Auth\Model\ServerApp
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
deleteServerApp($uid)
Delete a serverApp based on its uid
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: StalactiteToken
$config = Jalismrs\Stalactite\Client\Auth\Configuration::getDefaultConfiguration()->setApiKey('X-API-TOKEN', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Jalismrs\Stalactite\Client\Auth\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-TOKEN', 'Bearer');
$apiInstance = new Jalismrs\Stalactite\Client\Auth\Api\ServerAppsApi(
// 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
);
$uid = 'uid_example'; // string | The uid of the serverApp to delete
try {
$apiInstance->deleteServerApp($uid);
} catch (Exception $e) {
echo 'Exception when calling ServerAppsApi->deleteServerApp: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
uid | string | The uid of the serverApp to delete |
void (empty response body)
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getServerApp($uid): \Jalismrs\Stalactite\Client\Auth\Model\ServerApp
Get a serverApp by its uid
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: StalactiteToken
$config = Jalismrs\Stalactite\Client\Auth\Configuration::getDefaultConfiguration()->setApiKey('X-API-TOKEN', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Jalismrs\Stalactite\Client\Auth\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-TOKEN', 'Bearer');
$apiInstance = new Jalismrs\Stalactite\Client\Auth\Api\ServerAppsApi(
// 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
);
$uid = 'uid_example'; // string | The uid of the serverApp to get
try {
$result = $apiInstance->getServerApp($uid);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ServerAppsApi->getServerApp: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
uid | string | The uid of the serverApp to get |
\Jalismrs\Stalactite\Client\Auth\Model\ServerApp
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getServerApps($page, $name): \Jalismrs\Stalactite\Client\Auth\Model\GetServerAppsResponse
Get all serverApps with pagination support. A name filter can be applied
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: StalactiteToken
$config = Jalismrs\Stalactite\Client\Auth\Configuration::getDefaultConfiguration()->setApiKey('X-API-TOKEN', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Jalismrs\Stalactite\Client\Auth\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-TOKEN', 'Bearer');
$apiInstance = new Jalismrs\Stalactite\Client\Auth\Api\ServerAppsApi(
// 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
);
$page = 56; // int | Specify the page to get. default: 1
$name = 'name_example'; // string | Filter serverApps by name
try {
$result = $apiInstance->getServerApps($page, $name);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ServerAppsApi->getServerApps: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
page | int | Specify the page to get. default: 1 | [optional] |
name | string | Filter serverApps by name | [optional] |
\Jalismrs\Stalactite\Client\Auth\Model\GetServerAppsResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
resetServerAppTokenSignatureKey($uid, $reset_server_app_token_signature_key_request): \Jalismrs\Stalactite\Client\Auth\Model\ServerApp
Reset a serverApp token signature key based on its uid and its current key
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: StalactiteToken
$config = Jalismrs\Stalactite\Client\Auth\Configuration::getDefaultConfiguration()->setApiKey('X-API-TOKEN', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Jalismrs\Stalactite\Client\Auth\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-TOKEN', 'Bearer');
$apiInstance = new Jalismrs\Stalactite\Client\Auth\Api\ServerAppsApi(
// 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
);
$uid = 'uid_example'; // string | The uid of the serverApp to reset its token signature key
$reset_server_app_token_signature_key_request = new \Jalismrs\Stalactite\Client\Auth\Model\ResetServerAppTokenSignatureKeyRequest(); // \Jalismrs\Stalactite\Client\Auth\Model\ResetServerAppTokenSignatureKeyRequest
try {
$result = $apiInstance->resetServerAppTokenSignatureKey($uid, $reset_server_app_token_signature_key_request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ServerAppsApi->resetServerAppTokenSignatureKey: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
uid | string | The uid of the serverApp to reset its token signature key | |
reset_server_app_token_signature_key_request | \Jalismrs\Stalactite\Client\Auth\Model\ResetServerAppTokenSignatureKeyRequest |
\Jalismrs\Stalactite\Client\Auth\Model\ServerApp
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
updateServerApp($uid, $update_server_app_request)
Update a serverApp based on its uid
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: StalactiteToken
$config = Jalismrs\Stalactite\Client\Auth\Configuration::getDefaultConfiguration()->setApiKey('X-API-TOKEN', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Jalismrs\Stalactite\Client\Auth\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-TOKEN', 'Bearer');
$apiInstance = new Jalismrs\Stalactite\Client\Auth\Api\ServerAppsApi(
// 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
);
$uid = 'uid_example'; // string | The uid of the serverApp to update
$update_server_app_request = new \Jalismrs\Stalactite\Client\Auth\Model\UpdateServerAppRequest(); // \Jalismrs\Stalactite\Client\Auth\Model\UpdateServerAppRequest
try {
$apiInstance->updateServerApp($uid, $update_server_app_request);
} catch (Exception $e) {
echo 'Exception when calling ServerAppsApi->updateServerApp: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
uid | string | The uid of the serverApp to update | |
update_server_app_request | \Jalismrs\Stalactite\Client\Auth\Model\UpdateServerAppRequest |
void (empty response body)
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]