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: docs/TimestampApi.md
+22-3Lines changed: 22 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -153,6 +153,8 @@ Name | Type | Description | Notes
153
153
154
154
Proof
155
155
156
+
Attention! For the different request types (XML and PDF), there have to be passed different options. See the example for more details.
157
+
156
158
This request can be used to proof a submission of a hash. This interface is required to request the evidence. With the help of this proof the verification of a timestamp independent from OriginStamp is necessary. A guide for the verification can be found herehttps://github.com/OriginStampTimestamping/originstamp-verification . Usually, the proof should be requested for each transferred hash and kept with the timestamped data so that an independent verification of the timestamp is possible at any time. As input, the used currency, the hash string and the type of proof is required. Then a file with the information for the submission proof will be returned. If the hash was submitted in an API version lower than 3, a XML file containing the essential information of the Merkle Tree will be returned. Otherwise, the seed file will be returned. The file name can be found in the header of the response. An example could look like this: content-disposition: attachment; filename=\"certificate_6d70a947e19398f1106ad70a60bd34a8305bdcb624b5b7d43782315517e79cad.pdf\" A sample XML file can be found here https://originstamp.org/assets/proof/proof_6d70a947e19398f1106ad70a60bd34a8305bdcb624b5b7d43782315517e79cad.xml and a sample PDF can be found here https://originstamp.org/assets/proof/certificate_6d70a947e19398f1106ad70a60bd34a8305bdcb624b5b7d43782315517e79cad.pdf .
157
159
158
160
### Example
@@ -166,12 +168,29 @@ from pprint import pprint
166
168
# create an instance of the API class
167
169
api_instance = originstamp_client.TimestampApi()
168
170
authorization ='authorization_example'# str | A valid API key is essential for authorization to handle the request.
169
-
proof_request = originstamp_client.ProofRequest() # ProofRequest | Information needed to return the hash status information.
171
+
proof_request = originstamp_client.ProofRequest(0, hash, 0) # ProofRequest for XML | Information needed to return the hash status information.
172
+
proof_request2 = originstamp_client.ProofRequest(0, hash, 1) # ProofRequest for PDF | Information needed to return the hash status information.
0 commit comments