You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 17, 2026. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+14-25Lines changed: 14 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,32 +59,21 @@ OriginStamp has now become a commercial product and the leading platform for blo
59
59
Please follow the [installation](#installation) instruction and execute the following Java code:
60
60
61
61
```java
62
-
63
-
importcom.originstamp.api.client.*;
64
-
importcom.originstamp.api.client.auth.*;
65
-
importcom.originstamp.model.*;
66
-
importcom.originstamp.api.SchedulerApi;
67
-
68
-
importjava.io.File;
69
-
importjava.util.*;
70
-
71
-
publicclassSchedulerApiExample {
72
-
73
-
publicstaticvoidmain(String[] args) {
74
-
75
-
SchedulerApi apiInstance =newSchedulerApi();
76
-
SchedulerRequest schedulerRequest =newSchedulerRequest(); // SchedulerRequest | Request DTO for next schedules.
77
-
String authorization ="authorization_example"; // String | A valid API key is essential for authorization to handle the request.
78
-
try {
79
-
DefaultSchedulerResponse result = apiInstance.getNextSchedulingTime(schedulerRequest, authorization);
80
-
System.out.println(result);
81
-
} catch (ApiException e) {
82
-
System.err.println("Exception when calling SchedulerApi#getNextSchedulingTime");
83
-
e.printStackTrace();
84
-
}
85
-
}
62
+
// Import classes:
63
+
//import com.originstamp.api.client.ApiException;
64
+
//import com.originstamp.api.TimestampApi;
65
+
66
+
67
+
TimestampApi apiInstance =newTimestampApi();
68
+
String authorization ="authorization_example"; // String | A valid API key is essential for authorization to handle the request.
69
+
TimestampRequest timestampRequest =newTimestampRequest(); // TimestampRequest | DTO for the hash submission. Add all relevant information concerning your hash submission.
70
+
try {
71
+
DefaultTimestampResponse result = apiInstance.createTimestamp(authorization, timestampRequest);
72
+
System.out.println(result);
73
+
} catch (ApiException e) {
74
+
System.err.println("Exception when calling TimestampApi#createTimestamp");
**notificationType** | **Integer** | 0: notify via email 1: notify a webhook |
9
9
**target** | **String** | Depending on the notification type, specify the target for the notification (e.g. email address or webhook url). The webhook url will reveive a POST request after timestamp was successfully created. |
**hashString** | **String** | Hash in HEX representation. We allow the use of SHA-256. Note: We handle the hashes in lower-case. |
9
-
**proofType** | **Integer** | Specifies which type of file should be returned. Possible value(s): 0: proof with a seed file (txt) or proof with a merkle tree (xml) Other formats will follow. |
7
+
**currency** | **Integer** | 0: Bitcoin |
8
+
**hashString** | **String** | Hash in HEX representation for which the proof should be created. We allow the use of SHA-256. Note: We handle the hashes in lower-case. |
9
+
**proofType** | **Integer** | Specifies which type of file should be returned. Possible value(s): 0: proof with a seed file (txt) or proof with a merkle tree (xml) 1: proof with a PDF file Other formats will follow. |
**submissionTime** | **Long** | Next submission time. | [optional]
7
+
**submissionTime** | **Long** | Next submission time. The date is returned in the following format: [ms] since 1.1.1970 (unix epoch), timezone: UTC. The timezone is UTC. | [optional]
0 commit comments