Skip to content

Latest commit

 

History

History
67 lines (44 loc) · 1.66 KB

ProjectApi.md

File metadata and controls

67 lines (44 loc) · 1.66 KB

Passbase\ProjectApi

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

Method HTTP request Description
getSettings() GET /settings Get project settings

getSettings()

getSettings(): \Passbase\models\ProjectSettings

Get project settings

Get project settings

Example

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


// Configure API key authorization: SecretApiKey
$config = Passbase\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Passbase\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');


$apiInstance = new Passbase\Api\ProjectApi(
    // 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->getSettings();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProjectApi->getSettings: ', $e->getMessage(), PHP_EOL;
}

Parameters

This endpoint does not need any parameter.

Return type

\Passbase\models\ProjectSettings

Authorization

SecretApiKey

HTTP request headers

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

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