Metadaten der Nachweisseite abrufen
curl --request GET \
--url https://api.truthlocks.com/v1/public/proof/{attestation_id}const options = {method: 'GET'};
fetch('https://api.truthlocks.com/v1/public/proof/{attestation_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.truthlocks.com/v1/public/proof/{attestation_id}"
response = requests.get(url)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.truthlocks.com/v1/public/proof/{attestation_id}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"attestation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"description": "<string>",
"content_type": "<string>",
"file_name": "<string>",
"file_size": 123,
"content_hash": "<string>",
"category": "<string>",
"protected_at": "2023-11-07T05:31:56Z"
}Verbraucher (B2C)
Metadaten der Nachweisseite abrufen
Gibt Metadaten für einen Verbraucher-Inhaltsschutz zurück, die zum Rendern öffentlicher Nachweisseiten verwendet werden. Keine Authentifizierung erforderlich.
GET
/
v1
/
public
/
proof
/
{attestation_id}
Metadaten der Nachweisseite abrufen
curl --request GET \
--url https://api.truthlocks.com/v1/public/proof/{attestation_id}const options = {method: 'GET'};
fetch('https://api.truthlocks.com/v1/public/proof/{attestation_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.truthlocks.com/v1/public/proof/{attestation_id}"
response = requests.get(url)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.truthlocks.com/v1/public/proof/{attestation_id}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"attestation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"description": "<string>",
"content_type": "<string>",
"file_name": "<string>",
"file_size": 123,
"content_hash": "<string>",
"category": "<string>",
"protected_at": "2023-11-07T05:31:56Z"
}Gibt Metadaten für einen Verbraucher-Inhaltsschutzdatensatz zurück. Verwenden Sie diesen Endpunkt, um Nachweisseiten zu rendern, die zeigen, was wann und von wem geschützt wurde – ohne Authentifizierung zu erfordern.
Dies ist ein öffentlicher Endpunkt. Es wird kein API-Schlüssel oder Bearer-Token benötigt. Er ist für das Rendern von Nachweisseiten und Link-Vorschauen (z. B. Open Graph-Metadaten für geteilte Nachweis-URLs) konzipiert.
Antworten
Pfadparameter
Antwort
Metadaten der Proof-Seite

