All URIs are relative to https://localhost:9200/graph, except if the operation defines another base path.
| Method | HTTP request | Description |
|---|---|---|
| getApplication() | GET /v1.0/applications/{application-id} | Get application by id |
| listApplications() | GET /v1.0/applications | Get all applications |
getApplication($application_id): \OpenAPI\Client\Model\ApplicationGet application by id
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new OpenAPI\Client\Api\ApplicationsApi(
// 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
);
$application_id = 'application_id_example'; // string | key: id of application
try {
$result = $apiInstance->getApplication($application_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ApplicationsApi->getApplication: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| application_id | string | key: id of application |
\OpenAPI\Client\Model\Application
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
listApplications(): \OpenAPI\Client\Model\CollectionOfApplicationsGet all applications
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new OpenAPI\Client\Api\ApplicationsApi(
// 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
);
try {
$result = $apiInstance->listApplications();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ApplicationsApi->listApplications: ', $e->getMessage(), PHP_EOL;
}This endpoint does not need any parameter.
\OpenAPI\Client\Model\CollectionOfApplications
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]