Skip to content
This repository was archived by the owner on Nov 10, 2020. It is now read-only.

Latest commit

 

History

History
190 lines (128 loc) · 4.56 KB

SandboxApi.md

File metadata and controls

190 lines (128 loc) · 4.56 KB

invoker\SandboxApi

All URIs are relative to https://localhost/rest

Method HTTP request Description
getImage GET /v0/sandbox/image/{imageUid} HTTP GET image
getImageList GET /v0/sandbox/imagelist HTTP GET images list
getMrz GET /v0/sandbox/mrz/{mrzUid} HTTP GET mrz
getMrzList GET /v0/sandbox/mrzlist HTTP GET mrz list

getImage

string[] getImage($image_uid, $raw_type, $face, $light)

HTTP GET image

GET image

Example

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

$api_instance = new invoker\Api\SandboxApi();
$image_uid = "image_uid_example"; // string | EnumDemoDocsImage
$raw_type = "raw_type_example"; // string | Image raw type
$face = "face_example"; // string | Image face
$light = "light_example"; // string | Image light

try {
    $result = $api_instance->getImage($image_uid, $raw_type, $face, $light);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SandboxApi->getImage: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
image_uid string EnumDemoDocsImage
raw_type string Image raw type [optional]
face string Image face [optional]
light string Image light [optional]

Return type

string[]

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: /

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

getImageList

\model\ImageListResponse getImageList()

HTTP GET images list

GET images list

Example

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

$api_instance = new invoker\Api\SandboxApi();

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

Parameters

This endpoint does not need any parameter.

Return type

\model\ImageListResponse

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]

getMrz

\model\MrzResponse getMrz($mrz_uid)

HTTP GET mrz

GET mrz

Example

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

$api_instance = new invoker\Api\SandboxApi();
$mrz_uid = "mrz_uid_example"; // string | EnumDemoDocsMrz

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

Parameters

Name Type Description Notes
mrz_uid string EnumDemoDocsMrz

Return type

\model\MrzResponse

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]

getMrzList

\model\MrzListResponse getMrzList()

HTTP GET mrz list

GET mrz list

Example

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

$api_instance = new invoker\Api\SandboxApi();

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

Parameters

This endpoint does not need any parameter.

Return type

\model\MrzListResponse

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]