الحصول على بيانات تعريف صفحة الإثبات
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"
}المستهلك (B2C)
الحصول على بيانات تعريف صفحة الإثبات
يعرض بيانات التعريف لحماية محتوى المستهلك، المستخدمة لعرض صفحات الإثبات العامة. لا يلزم المصادقة.
GET
/
v1
/
public
/
proof
/
{attestation_id}
الحصول على بيانات تعريف صفحة الإثبات
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"
}يعرض بيانات التعريف لسجل حماية محتوى المستهلك. استخدم نقطة النهاية هذه لعرض صفحات الإثبات التي توضح ما تم حمايته ومتى ومن قبل من — دون الحاجة إلى المصادقة.
هذه نقطة نهاية عامة. لا يلزم مفتاح API أو رمز حامل. وهي مصممة لعرض صفحة الإثبات ومعاينات الروابط (مثل بيانات تعريف Open Graph لعناوين URL المشتركة للإثبات).
الاستجابات
الاستجابة
بيانات تعريف صفحة الإثبات

