Skip to content

Latest commit

 

History

History
59 lines (42 loc) · 1.48 KB

File metadata and controls

59 lines (42 loc) · 1.48 KB

ProjectApi

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

Method HTTP request Description
getSettings GET /settings Get project settings

getSettings

ProjectSettings getSettings()

Get project settings

Get project settings

Example

// Import classes:
//import com.passbase.ApiClient;
//import com.passbase.ApiException;
//import com.passbase.Configuration;
//import com.passbase.auth.*;
//import com.passbase.api.ProjectApi;

ApiClient defaultClient = Configuration.getDefaultApiClient();

// Configure API key authorization: SecretApiKey
ApiKeyAuth SecretApiKey = (ApiKeyAuth) defaultClient.getAuthentication("SecretApiKey");
SecretApiKey.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//SecretApiKey.setApiKeyPrefix("Token");

ProjectApi apiInstance = new ProjectApi();
try {
    ProjectSettings result = apiInstance.getSettings();
    System.out.println(result);
} catch (ApiException e) {
    System.err.println("Exception when calling ProjectApi#getSettings");
    e.printStackTrace();
}

Parameters

This endpoint does not need any parameter.

Return type

ProjectSettings

Authorization

SecretApiKey

HTTP request headers

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