Read a published proof
const options = {method: 'GET'};
fetch('https://ownsi.dev/api/proofs/{slug}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://ownsi.dev/api/proofs/{slug}{
"slug": "<string>",
"url": "<string>",
"domain": "<string>",
"unicodeDomain": "<string>",
"heldBy": "<string>",
"token": "<string>",
"challengeHost": "<string>",
"provider": "<string>",
"provedAt": "<string>",
"recency": {
"type": "latest"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"docsUrl": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"docsUrl": "<string>"
}
}Read a published proof
The machine-readable side of the page a link opens. No account needed: the slug is the whole of it. Hands back the domain, the holder as a stranger may see them, the token and the host it was written on, so a reader can run the lookup themselves — this reads no DNS. recency says whether a later proof of the same name exists — it takes nothing away from this one, and the reader decides what it means. Answers 410 once the link is taken back, and the proof behind it stands either way.
GET
/
api
/
proofs
/
{slug}
Read a published proof
const options = {method: 'GET'};
fetch('https://ownsi.dev/api/proofs/{slug}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://ownsi.dev/api/proofs/{slug}{
"slug": "<string>",
"url": "<string>",
"domain": "<string>",
"unicodeDomain": "<string>",
"heldBy": "<string>",
"token": "<string>",
"challengeHost": "<string>",
"provider": "<string>",
"provedAt": "<string>",
"recency": {
"type": "latest"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"docsUrl": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"docsUrl": "<string>"
}
}Path Parameters
Minimum string length:
1