Skip to content

Latest commit

 

History

History
56 lines (37 loc) · 1.55 KB

VapidApi.md

File metadata and controls

56 lines (37 loc) · 1.55 KB

Ageras\Api\VapidApi

All URIs are relative to https://api.ageras.com/v2

Method HTTP request Description
vapidGet GET /vapid

vapidGet

\Ageras\Api\VapidResource vapidGet()

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: jwt
Ageras\Api\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Ageras\Api\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');
// Configure HTTP basic authorization: login
Ageras\Api\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Ageras\Api\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');

$api_instance = new Ageras\Api\Api\VapidApi();

try {
    $result = $api_instance->vapidGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VapidApi->vapidGet: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

This endpoint does not need any parameter.

Return type

\Ageras\Api\VapidResource

Authorization

jwt, login

HTTP request headers

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

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