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 |
Document getPublicDocument(organizationId, id4n, fileName)
Retrieve a public document (meta-data only, no content)
// Import classes:
//import de.id4i.ApiClient;
//import de.id4i.ApiException;
//import de.id4i.Configuration;
//import de.id4i.auth.*;
//import de.id4i.api.PublicServicesApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: Authorization
ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
Authorization.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.setApiKeyPrefix("Token");
PublicServicesApi apiInstance = new PublicServicesApi();
String organizationId = "organizationId_example"; // String | organizationId
String id4n = "id4n_example"; // String | id4n
String fileName = "fileName_example"; // String | fileName
try {
Document result = apiInstance.getPublicDocument(organizationId, id4n, fileName);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PublicServicesApi#getPublicDocument");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| organizationId | String | organizationId | |
| id4n | String | id4n | |
| fileName | String | fileName |
- Content-Type: application/xml, application/json
- Accept: application/xml, application/json
List<Route> getRoutes(id4n, type, interpolate)
Retrieve all public routes for a GUID
// Import classes:
//import de.id4i.ApiClient;
//import de.id4i.ApiException;
//import de.id4i.Configuration;
//import de.id4i.auth.*;
//import de.id4i.api.PublicServicesApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: Authorization
ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
Authorization.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.setApiKeyPrefix("Token");
PublicServicesApi apiInstance = new PublicServicesApi();
String id4n = "id4n_example"; // String | id4n
String type = "web"; // String | type
Boolean interpolate = true; // Boolean | interpolate
try {
List<Route> result = apiInstance.getRoutes(id4n, type, interpolate);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PublicServicesApi#getRoutes");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id4n | String | id4n | |
| type | String | type | [default to web] |
| interpolate | Boolean | interpolate | [optional] [default to true] |
- Content-Type: application/xml, application/json
- Accept: application/xml, application/json
go(guid)
Forward
Forwarding to the designated route defined in the routing,
// Import classes:
//import de.id4i.ApiException;
//import de.id4i.api.PublicServicesApi;
PublicServicesApi apiInstance = new PublicServicesApi();
String guid = "guid_example"; // String | guid
try {
apiInstance.go(guid);
} catch (ApiException e) {
System.err.println("Exception when calling PublicServicesApi#go");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| guid | String | guid |
null (empty response body)
No authorization required
- Content-Type: application/xml, application/json
- Accept: application/xml, application/json
PaginatedResponseOfDocument listAllPublicDocuments(id4n, organizationId, owner, offset, limit)
List public documents
Listing all public documents of an id4n
// Import classes:
//import de.id4i.ApiClient;
//import de.id4i.ApiException;
//import de.id4i.Configuration;
//import de.id4i.auth.*;
//import de.id4i.api.PublicServicesApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: Authorization
ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
Authorization.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.setApiKeyPrefix("Token");
PublicServicesApi apiInstance = new PublicServicesApi();
String id4n = "id4n_example"; // String | id4n
String organizationId = "organizationId_example"; // String | organizationId
String owner = "owner_example"; // String | Filter by owner organization
Integer offset = 56; // Integer | Start with the n-th element
Integer limit = 56; // Integer | The maximum count of returned elements
try {
PaginatedResponseOfDocument result = apiInstance.listAllPublicDocuments(id4n, organizationId, owner, offset, limit);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PublicServicesApi#listAllPublicDocuments");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id4n | String | id4n | |
| organizationId | String | organizationId | [optional] |
| owner | String | Filter by owner organization | [optional] |
| offset | Integer | Start with the n-th element | [optional] |
| limit | Integer | The maximum count of returned elements | [optional] |
- Content-Type: application/xml, application/json
- Accept: application/xml, application/json
PaginatedResponseOfHistoryItem listPublicHistory(id4n, offset, limit)
Shows the public history of the given GUID
Only contains public history items
// Import classes:
//import de.id4i.ApiClient;
//import de.id4i.ApiException;
//import de.id4i.Configuration;
//import de.id4i.auth.*;
//import de.id4i.api.PublicServicesApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: Authorization
ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
Authorization.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.setApiKeyPrefix("Token");
PublicServicesApi apiInstance = new PublicServicesApi();
String id4n = "id4n_example"; // String | GUID to retrieve the history for
Integer offset = 56; // Integer | Start with the n-th element
Integer limit = 56; // Integer | The maximum count of returned elements
try {
PaginatedResponseOfHistoryItem result = apiInstance.listPublicHistory(id4n, offset, limit);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PublicServicesApi#listPublicHistory");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id4n | String | GUID to retrieve the history for | |
| offset | Integer | Start with the n-th element | [optional] |
| limit | Integer | The maximum count of returned elements | [optional] |
PaginatedResponseOfHistoryItem
- Content-Type: application/xml, application/json
- Accept: application/xml, application/json
Organization readOrganizationInfo(organizationId)
Read public organization information
// Import classes:
//import de.id4i.ApiClient;
//import de.id4i.ApiException;
//import de.id4i.Configuration;
//import de.id4i.auth.*;
//import de.id4i.api.PublicServicesApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: Authorization
ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
Authorization.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.setApiKeyPrefix("Token");
PublicServicesApi apiInstance = new PublicServicesApi();
String organizationId = "organizationId_example"; // String | Organization ID
try {
Organization result = apiInstance.readOrganizationInfo(organizationId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PublicServicesApi#readOrganizationInfo");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| organizationId | String | Organization ID |
- Content-Type: application/xml, application/json
- Accept: application/xml, application/json
byte[] readPublicDocument(organizationId, id4n, fileName)
Read public document contents
// Import classes:
//import de.id4i.ApiClient;
//import de.id4i.ApiException;
//import de.id4i.Configuration;
//import de.id4i.auth.*;
//import de.id4i.api.PublicServicesApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: Authorization
ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
Authorization.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.setApiKeyPrefix("Token");
PublicServicesApi apiInstance = new PublicServicesApi();
String organizationId = "organizationId_example"; // String | organizationId
String id4n = "id4n_example"; // String | id4n
String fileName = "fileName_example"; // String | fileName
try {
byte[] result = apiInstance.readPublicDocument(organizationId, id4n, fileName);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PublicServicesApi#readPublicDocument");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| organizationId | String | organizationId | |
| id4n | String | id4n | |
| fileName | String | fileName |
byte[]
- Content-Type: application/xml, application/json
- Accept: application/xml, application/json
byte[] resolveImageUsingGET(imageID)
Resolve image
// Import classes:
//import de.id4i.ApiClient;
//import de.id4i.ApiException;
//import de.id4i.Configuration;
//import de.id4i.auth.*;
//import de.id4i.api.PublicServicesApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: Authorization
ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
Authorization.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.setApiKeyPrefix("Token");
PublicServicesApi apiInstance = new PublicServicesApi();
String imageID = "imageID_example"; // String | The id of the image to be resolved.
try {
byte[] result = apiInstance.resolveImageUsingGET(imageID);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PublicServicesApi#resolveImageUsingGET");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| imageID | String | The id of the image to be resolved. |
byte[]
- Content-Type: application/xml, application/json
- Accept: application/xml, application/json
WhoIsResponse resolveWhoIsEntry(id4n)
Resolve owner of id4n
// Import classes:
//import de.id4i.ApiException;
//import de.id4i.api.PublicServicesApi;
PublicServicesApi apiInstance = new PublicServicesApi();
String id4n = "id4n_example"; // String | id4n
try {
WhoIsResponse result = apiInstance.resolveWhoIsEntry(id4n);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PublicServicesApi#resolveWhoIsEntry");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id4n | String | id4n |
No authorization required
- Content-Type: application/xml, application/json
- Accept: application/xml, application/json