All URIs are relative to https://localhost/api, except if the operation defines another base path.
Method | HTTP request | Description |
---|---|---|
showV1() | GET /app/v1/show | Show app information. |
showV1(): \Brave\NeucoreApi\Model\App
Show app information.
Needs role: app
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer authorization: BearerAuth
$config = Brave\NeucoreApi\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Brave\NeucoreApi\Api\ApplicationApi(
// 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->showV1();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ApplicationApi->showV1: ', $e->getMessage(), PHP_EOL;
}
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]