Publish a link to this proof
const options = {method: 'POST'};
fetch('https://ownsi.dev/api/claims/{id}/proof_links', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://ownsi.dev/api/claims/{id}/proof_links{
"slug": "<string>",
"url": "<string>",
"claimId": "<string>",
"domain": "<string>",
"unicodeDomain": "<string>",
"heldBy": "<string>",
"token": "<string>",
"challengeHost": "<string>",
"provider": "<string>",
"provedAt": "<string>",
"standing": "live",
"issuedAt": "<string>",
"revokedAt": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"docsUrl": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"docsUrl": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"docsUrl": "<string>"
}
}Publish a link to this proof
Idempotent: asking twice hands back the same slug. The slug is its own — never the DNS token — and it resolves until the holder takes it back. An archived domain publishes nothing: archiving revoked its links, and it has to be back on the list before a new one is minted.
POST
/
api
/
claims
/
{id}
/
proof_links
Publish a link to this proof
const options = {method: 'POST'};
fetch('https://ownsi.dev/api/claims/{id}/proof_links', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://ownsi.dev/api/claims/{id}/proof_links{
"slug": "<string>",
"url": "<string>",
"claimId": "<string>",
"domain": "<string>",
"unicodeDomain": "<string>",
"heldBy": "<string>",
"token": "<string>",
"challengeHost": "<string>",
"provider": "<string>",
"provedAt": "<string>",
"standing": "live",
"issuedAt": "<string>",
"revokedAt": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"docsUrl": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"docsUrl": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"docsUrl": "<string>"
}
}Path Parameters
Minimum string length:
1Response
Response for status 201
Available options:
live, revoked