The OpenTimestamps proof of one day
GET /v1/ledger-days/{day}/proof.ots
https://verify.tanba-ooh.kz/v1/ledger-days/{day}/proof.ots
Анықтамалықтың техникалық мәтіні ағылшын тілінде жазылған.
The .ots file for the day's digest. It is a pending proof (calendar promises) until status of the day is anchored, then it carries the Bitcoin attestation. Verify with the official client, ots verify -d DIGEST FILE.ots, where DIGEST is the digest of the day. 404 until the digest has been submitted.
Аутентификация
Қажет емес. Шақыру ашық.
Параметрлер
| Атауы | Орны | Түрі | Міндетті | Сипаттама | Мысал |
|---|---|---|---|---|---|
day | жол | string | иә | The Asia/Almaty day, YYYY-MM-DD. | 2026-10-05 |
Жауаптар
200 The proof.
application/vnd.opentimestamps.v1
Қателер
Қателер problem құжаты (application/problem+json) түрінде, тұрақты code өрісімен келеді.
| Мәртебесі | Мағынасы |
|---|---|
| 404 | Nothing there, or not visible to the caller. |
| 429 | Rate limit; see Retry-After. |
Код мысалдары
curl
curl 'https://verify.tanba-ooh.kz/v1/ledger-days/2026-10-05/proof.ots'
Python
import requests
response = requests.get(
"https://verify.tanba-ooh.kz/v1/ledger-days/2026-10-05/proof.ots",
)
print(response.status_code, response.text)
Go
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, err := http.NewRequest("GET", "https://verify.tanba-ooh.kz/v1/ledger-days/2026-10-05/proof.ots", nil)
if err != nil {
panic(err)
}
resp, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
data, _ := io.ReadAll(resp.Body)
fmt.Println(resp.Status, string(data))
}