Skip to content

Latest commit

 

History

History
65 lines (42 loc) · 1.51 KB

ApplicationApi.md

File metadata and controls

65 lines (42 loc) · 1.51 KB

Brave\NeucoreApi\ApplicationApi

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()

showV1(): \Brave\NeucoreApi\Model\App

Show app information.

Needs role: app

Example

<?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;
}

Parameters

This endpoint does not need any parameter.

Return type

\Brave\NeucoreApi\Model\App

Authorization

BearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]