All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
credentialCredentialIdDelete | DELETE /credential/{credential_id} | Remove credential from wallet by id |
credentialCredentialIdGet | GET /credential/{credential_id} | Fetch credential from wallet by id |
credentialMimeTypesCredentialIdGet | GET /credential/mime-types/{credential_id} | Get attribute MIME types from wallet |
credentialRevokedCredentialIdGet | GET /credential/revoked/{credential_id} | Query credential revocation status by id |
credentialW3cCredentialIdDelete | DELETE /credential/w3c/{credential_id} | Remove W3C credential from wallet by id |
credentialW3cCredentialIdGet | GET /credential/w3c/{credential_id} | Fetch W3C credential from wallet by id |
credentialsGet | GET /credentials | Fetch credentials from wallet |
credentialsW3cPost | POST /credentials/w3c | Fetch W3C credentials from wallet |
Object credentialCredentialIdDelete(credentialId)
Remove credential from wallet by id
// Import classes:
import com.my_digi_id.acapy_client.invoker.ApiClient;
import com.my_digi_id.acapy_client.invoker.ApiException;
import com.my_digi_id.acapy_client.invoker.Configuration;
import com.my_digi_id.acapy_client.invoker.auth.*;
import com.my_digi_id.acapy_client.invoker.model.*;
import com.my_digi_id.acapy_client.api.CredentialsApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure API key authorization: ApiKeyHeader
ApiKeyAuth ApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyHeader");
ApiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyHeader.setApiKeyPrefix("Token");
CredentialsApi apiInstance = new CredentialsApi(defaultClient);
String credentialId = "credentialId_example"; // String | Credential identifier
try {
Object result = apiInstance.credentialCredentialIdDelete(credentialId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CredentialsApi#credentialCredentialIdDelete");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
credentialId | String | Credential identifier |
Object
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | - |
IndyCredInfo credentialCredentialIdGet(credentialId)
Fetch credential from wallet by id
// Import classes:
import com.my_digi_id.acapy_client.invoker.ApiClient;
import com.my_digi_id.acapy_client.invoker.ApiException;
import com.my_digi_id.acapy_client.invoker.Configuration;
import com.my_digi_id.acapy_client.invoker.auth.*;
import com.my_digi_id.acapy_client.invoker.model.*;
import com.my_digi_id.acapy_client.api.CredentialsApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure API key authorization: ApiKeyHeader
ApiKeyAuth ApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyHeader");
ApiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyHeader.setApiKeyPrefix("Token");
CredentialsApi apiInstance = new CredentialsApi(defaultClient);
String credentialId = "credentialId_example"; // String | Credential identifier
try {
IndyCredInfo result = apiInstance.credentialCredentialIdGet(credentialId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CredentialsApi#credentialCredentialIdGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
credentialId | String | Credential identifier |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | - |
AttributeMimeTypesResult credentialMimeTypesCredentialIdGet(credentialId)
Get attribute MIME types from wallet
// Import classes:
import com.my_digi_id.acapy_client.invoker.ApiClient;
import com.my_digi_id.acapy_client.invoker.ApiException;
import com.my_digi_id.acapy_client.invoker.Configuration;
import com.my_digi_id.acapy_client.invoker.auth.*;
import com.my_digi_id.acapy_client.invoker.model.*;
import com.my_digi_id.acapy_client.api.CredentialsApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure API key authorization: ApiKeyHeader
ApiKeyAuth ApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyHeader");
ApiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyHeader.setApiKeyPrefix("Token");
CredentialsApi apiInstance = new CredentialsApi(defaultClient);
String credentialId = "credentialId_example"; // String | Credential identifier
try {
AttributeMimeTypesResult result = apiInstance.credentialMimeTypesCredentialIdGet(credentialId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CredentialsApi#credentialMimeTypesCredentialIdGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
credentialId | String | Credential identifier |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | - |
CredRevokedResult credentialRevokedCredentialIdGet(credentialId, from, to)
Query credential revocation status by id
// Import classes:
import com.my_digi_id.acapy_client.invoker.ApiClient;
import com.my_digi_id.acapy_client.invoker.ApiException;
import com.my_digi_id.acapy_client.invoker.Configuration;
import com.my_digi_id.acapy_client.invoker.auth.*;
import com.my_digi_id.acapy_client.invoker.model.*;
import com.my_digi_id.acapy_client.api.CredentialsApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure API key authorization: ApiKeyHeader
ApiKeyAuth ApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyHeader");
ApiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyHeader.setApiKeyPrefix("Token");
CredentialsApi apiInstance = new CredentialsApi(defaultClient);
String credentialId = "credentialId_example"; // String | Credential identifier
String from = "from_example"; // String | Earliest epoch of revocation status interval of interest
String to = "to_example"; // String | Latest epoch of revocation status interval of interest
try {
CredRevokedResult result = apiInstance.credentialRevokedCredentialIdGet(credentialId, from, to);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CredentialsApi#credentialRevokedCredentialIdGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
credentialId | String | Credential identifier | |
from | String | Earliest epoch of revocation status interval of interest | [optional] |
to | String | Latest epoch of revocation status interval of interest | [optional] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | - |
Object credentialW3cCredentialIdDelete(credentialId)
Remove W3C credential from wallet by id
// Import classes:
import com.my_digi_id.acapy_client.invoker.ApiClient;
import com.my_digi_id.acapy_client.invoker.ApiException;
import com.my_digi_id.acapy_client.invoker.Configuration;
import com.my_digi_id.acapy_client.invoker.auth.*;
import com.my_digi_id.acapy_client.invoker.model.*;
import com.my_digi_id.acapy_client.api.CredentialsApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure API key authorization: ApiKeyHeader
ApiKeyAuth ApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyHeader");
ApiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyHeader.setApiKeyPrefix("Token");
CredentialsApi apiInstance = new CredentialsApi(defaultClient);
String credentialId = "credentialId_example"; // String | Credential identifier
try {
Object result = apiInstance.credentialW3cCredentialIdDelete(credentialId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CredentialsApi#credentialW3cCredentialIdDelete");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
credentialId | String | Credential identifier |
Object
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | - |
VCRecord credentialW3cCredentialIdGet(credentialId)
Fetch W3C credential from wallet by id
// Import classes:
import com.my_digi_id.acapy_client.invoker.ApiClient;
import com.my_digi_id.acapy_client.invoker.ApiException;
import com.my_digi_id.acapy_client.invoker.Configuration;
import com.my_digi_id.acapy_client.invoker.auth.*;
import com.my_digi_id.acapy_client.invoker.model.*;
import com.my_digi_id.acapy_client.api.CredentialsApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure API key authorization: ApiKeyHeader
ApiKeyAuth ApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyHeader");
ApiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyHeader.setApiKeyPrefix("Token");
CredentialsApi apiInstance = new CredentialsApi(defaultClient);
String credentialId = "credentialId_example"; // String | Credential identifier
try {
VCRecord result = apiInstance.credentialW3cCredentialIdGet(credentialId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CredentialsApi#credentialW3cCredentialIdGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
credentialId | String | Credential identifier |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | - |
CredInfoList credentialsGet(count, start, wql)
Fetch credentials from wallet
// Import classes:
import com.my_digi_id.acapy_client.invoker.ApiClient;
import com.my_digi_id.acapy_client.invoker.ApiException;
import com.my_digi_id.acapy_client.invoker.Configuration;
import com.my_digi_id.acapy_client.invoker.auth.*;
import com.my_digi_id.acapy_client.invoker.model.*;
import com.my_digi_id.acapy_client.api.CredentialsApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure API key authorization: ApiKeyHeader
ApiKeyAuth ApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyHeader");
ApiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyHeader.setApiKeyPrefix("Token");
CredentialsApi apiInstance = new CredentialsApi(defaultClient);
String count = "count_example"; // String | Maximum number to retrieve
String start = "start_example"; // String | Start index
String wql = "wql_example"; // String | (JSON) WQL query
try {
CredInfoList result = apiInstance.credentialsGet(count, start, wql);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CredentialsApi#credentialsGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
count | String | Maximum number to retrieve | [optional] |
start | String | Start index | [optional] |
wql | String | (JSON) WQL query | [optional] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | - |
VCRecordList credentialsW3cPost(count, start, wql, body)
Fetch W3C credentials from wallet
// Import classes:
import com.my_digi_id.acapy_client.invoker.ApiClient;
import com.my_digi_id.acapy_client.invoker.ApiException;
import com.my_digi_id.acapy_client.invoker.Configuration;
import com.my_digi_id.acapy_client.invoker.auth.*;
import com.my_digi_id.acapy_client.invoker.model.*;
import com.my_digi_id.acapy_client.api.CredentialsApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure API key authorization: ApiKeyHeader
ApiKeyAuth ApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyHeader");
ApiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyHeader.setApiKeyPrefix("Token");
CredentialsApi apiInstance = new CredentialsApi(defaultClient);
String count = "count_example"; // String | Maximum number to retrieve
String start = "start_example"; // String | Start index
String wql = "wql_example"; // String | (JSON) WQL query
W3CCredentialsListRequest body = new W3CCredentialsListRequest(); // W3CCredentialsListRequest |
try {
VCRecordList result = apiInstance.credentialsW3cPost(count, start, wql, body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CredentialsApi#credentialsW3cPost");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
count | String | Maximum number to retrieve | [optional] |
start | String | Start index | [optional] |
wql | String | (JSON) WQL query | [optional] |
body | W3CCredentialsListRequest | [optional] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | - |