IdcheckioPerl::Client::AdministrationApi
Load the API package
use IdcheckioPerl::Client::Object::AdministrationApi;
All URIs are relative to https://localhost/rest
Method | HTTP request | Description ------------- | ------------- | ------------- get_health | GET /v0/admin/health | HTTP GET health get_user | GET /v0/admin/user | HTTP GET user
get_health
HealthResponse get_health()
HTTP GET health
GET server health (OK 200)
Example
use Data::Dumper;
my $api_instance = IdcheckioPerl::Client::AdministrationApi->new();
eval {
my $result = $api_instance->get_health();
print Dumper($result);
};
if ($@) {
warn "Exception when calling AdministrationApi->get_health: $@\n";
}
Parameters
This endpoint does not need any parameter.
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json; charset=utf-8
[Back to top] [Back to API list] [Back to Model list] [Back to README]
get_user
UserResponse get_user(accept_language => $accept_language)
HTTP GET user
Get user informations
Example
use Data::Dumper;
# Configure HTTP basic authorization: basic
$IdcheckioPerl::Client::Configuration::username = 'YOUR_USERNAME';
$IdcheckioPerl::Client::Configuration::password = 'YOUR_PASSWORD';
my $api_instance = IdcheckioPerl::Client::AdministrationApi->new();
my $accept_language = 'accept_language_example'; # string | Accept language header
eval {
my $result = $api_instance->get_user(accept_language => $accept_language);
print Dumper($result);
};
if ($@) {
warn "Exception when calling AdministrationApi->get_user: $@\n";
}
Parameters
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- accept_language | string| Accept language header | [optional]
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json; charset=utf-8
[Back to top] [Back to API list] [Back to Model list] [Back to README]