All URIs are relative to https://backend.id4i.de
| Method | HTTP request | Description |
|---|---|---|
| getPublicDocument | GET /api/v1/public/documents/{id4n}/{organizationId}/{fileName}/metadata | Retrieve a public document (meta-data only, no content) |
| getRoutes | GET /api/v1/public/routes/{id4n} | Retrieve all public routes for a GUID |
| go | GET /go/{guid} | Forward |
| listAllPublicDocuments | GET /api/v1/public/documents/{id4n} | List public documents |
| listPublicHistory | GET /api/v1/public/history/{id4n} | Shows the public history of the given GUID |
| readOrganizationInfo | GET /api/v1/public/organizations/{organizationId} | Read public organization information |
| readPublicDocument | GET /api/v1/public/documents/{id4n}/{organizationId}/{fileName} | Read public document contents |
| resolveImageUsingGET | GET /api/v1/public/image/{imageID} | Resolve image |
| resolveWhoIsEntry | GET /whois/{id4n} | Resolve owner of id4n |
\Bluerain\ID4iClient\Model\Document getPublicDocument($organization_id, $id4n, $file_name)
Retrieve a public document (meta-data only, no content)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: Authorization
$config = Bluerain\ID4iClient\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Bluerain\ID4iClient\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new Bluerain\ID4iClient\Api\PublicServicesApi(
// 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
);
$organization_id = "organization_id_example"; // string | organizationId
$id4n = "id4n_example"; // string | id4n
$file_name = "file_name_example"; // string | fileName
try {
$result = $apiInstance->getPublicDocument($organization_id, $id4n, $file_name);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PublicServicesApi->getPublicDocument: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| organization_id | string | organizationId | |
| id4n | string | id4n | |
| file_name | string | fileName |
\Bluerain\ID4iClient\Model\Document
- Content-Type: application/xml, application/json
- Accept: application/xml, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Bluerain\ID4iClient\Model\Route[] getRoutes($id4n, $type, $interpolate)
Retrieve all public routes for a GUID
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: Authorization
$config = Bluerain\ID4iClient\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Bluerain\ID4iClient\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new Bluerain\ID4iClient\Api\PublicServicesApi(
// 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
);
$id4n = "id4n_example"; // string | id4n
$type = "web"; // string | type
$interpolate = true; // bool | interpolate
try {
$result = $apiInstance->getRoutes($id4n, $type, $interpolate);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PublicServicesApi->getRoutes: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| id4n | string | id4n | |
| type | string | type | [default to web] |
| interpolate | bool | interpolate | [optional] [default to true] |
\Bluerain\ID4iClient\Model\Route[]
- Content-Type: application/xml, application/json
- Accept: application/xml, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
go($guid)
Forward
Forwarding to the designated route defined in the routing,
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Bluerain\ID4iClient\Api\PublicServicesApi(
// 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()
);
$guid = "guid_example"; // string | guid
try {
$apiInstance->go($guid);
} catch (Exception $e) {
echo 'Exception when calling PublicServicesApi->go: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| guid | string | guid |
void (empty response body)
No authorization required
- Content-Type: application/xml, application/json
- Accept: application/xml, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Bluerain\ID4iClient\Model\PaginatedResponseOfDocument listAllPublicDocuments($id4n, $organization_id, $owner, $offset, $limit)
List public documents
Listing all public documents of an id4n
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: Authorization
$config = Bluerain\ID4iClient\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Bluerain\ID4iClient\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new Bluerain\ID4iClient\Api\PublicServicesApi(
// 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
);
$id4n = "id4n_example"; // string | id4n
$organization_id = "organization_id_example"; // string | organizationId
$owner = "owner_example"; // string | Filter by owner organization
$offset = 56; // int | Start with the n-th element
$limit = 56; // int | The maximum count of returned elements
try {
$result = $apiInstance->listAllPublicDocuments($id4n, $organization_id, $owner, $offset, $limit);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PublicServicesApi->listAllPublicDocuments: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| id4n | string | id4n | |
| organization_id | string | organizationId | [optional] |
| owner | string | Filter by owner organization | [optional] |
| offset | int | Start with the n-th element | [optional] |
| limit | int | The maximum count of returned elements | [optional] |
\Bluerain\ID4iClient\Model\PaginatedResponseOfDocument
- Content-Type: application/xml, application/json
- Accept: application/xml, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Bluerain\ID4iClient\Model\PaginatedResponseOfHistoryItem listPublicHistory($id4n, $offset, $limit)
Shows the public history of the given GUID
Only contains public history items
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: Authorization
$config = Bluerain\ID4iClient\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Bluerain\ID4iClient\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new Bluerain\ID4iClient\Api\PublicServicesApi(
// 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
);
$id4n = "id4n_example"; // string | GUID to retrieve the history for
$offset = 56; // int | Start with the n-th element
$limit = 56; // int | The maximum count of returned elements
try {
$result = $apiInstance->listPublicHistory($id4n, $offset, $limit);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PublicServicesApi->listPublicHistory: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| id4n | string | GUID to retrieve the history for | |
| offset | int | Start with the n-th element | [optional] |
| limit | int | The maximum count of returned elements | [optional] |
\Bluerain\ID4iClient\Model\PaginatedResponseOfHistoryItem
- Content-Type: application/xml, application/json
- Accept: application/xml, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Bluerain\ID4iClient\Model\Organization readOrganizationInfo($organization_id)
Read public organization information
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: Authorization
$config = Bluerain\ID4iClient\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Bluerain\ID4iClient\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new Bluerain\ID4iClient\Api\PublicServicesApi(
// 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
);
$organization_id = "organization_id_example"; // string | Organization ID
try {
$result = $apiInstance->readOrganizationInfo($organization_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PublicServicesApi->readOrganizationInfo: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| organization_id | string | Organization ID |
\Bluerain\ID4iClient\Model\Organization
- Content-Type: application/xml, application/json
- Accept: application/xml, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string readPublicDocument($organization_id, $id4n, $file_name)
Read public document contents
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: Authorization
$config = Bluerain\ID4iClient\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Bluerain\ID4iClient\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new Bluerain\ID4iClient\Api\PublicServicesApi(
// 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
);
$organization_id = "organization_id_example"; // string | organizationId
$id4n = "id4n_example"; // string | id4n
$file_name = "file_name_example"; // string | fileName
try {
$result = $apiInstance->readPublicDocument($organization_id, $id4n, $file_name);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PublicServicesApi->readPublicDocument: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| organization_id | string | organizationId | |
| id4n | string | id4n | |
| file_name | string | fileName |
string
- Content-Type: application/xml, application/json
- Accept: application/xml, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string resolveImageUsingGET($image_id)
Resolve image
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: Authorization
$config = Bluerain\ID4iClient\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Bluerain\ID4iClient\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new Bluerain\ID4iClient\Api\PublicServicesApi(
// 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
);
$image_id = "image_id_example"; // string | The id of the image to be resolved.
try {
$result = $apiInstance->resolveImageUsingGET($image_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PublicServicesApi->resolveImageUsingGET: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| image_id | string | The id of the image to be resolved. |
string
- Content-Type: application/xml, application/json
- Accept: application/xml, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Bluerain\ID4iClient\Model\WhoIsResponse resolveWhoIsEntry($id4n)
Resolve owner of id4n
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Bluerain\ID4iClient\Api\PublicServicesApi(
// 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()
);
$id4n = "id4n_example"; // string | id4n
try {
$result = $apiInstance->resolveWhoIsEntry($id4n);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PublicServicesApi->resolveWhoIsEntry: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| id4n | string | id4n |
\Bluerain\ID4iClient\Model\WhoIsResponse
No authorization required
- Content-Type: application/xml, application/json
- Accept: application/xml, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]