Hash

Questo endpoint verifica se un hash esiste già.

hash

GET https://public-api.timesafe.io/hash/{hash}

Questo servizio restituisce true o false in base alla presenza o meno del hash specificato come parametro tra i certificati dell'utente. L'hash passato può essere quello originale del file, quello calcolato dalla giustapposizione di hash del file e hash del codice fiscale dell'utente, o quello della transazione Ethereum. NOTA: se si cerca un hash di un certifica creato con una modalità (live/sandbox) differente da quella dell'utenza che si sta usando, il servizio risponderà FALSE, anche se il certificato fosse presente.

Path Parameters

Headers

// HASH PRESENTE
{
    "status": "OK",
    "data": {
        "exists": true,
        "id": 93843
    }
}

// HASH NON PRESENTE
{
    "status": "OK",
    "data": {
        "exists": false
    }
}

Last updated