List the domains on this account
const options = {method: 'GET'};
fetch('https://ownsi.dev/api/domains/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://ownsi.dev/api/domains/{
"domains": [
{
"id": "<string>",
"name": "<string>",
"unicodeName": "<string>",
"archived": true,
"createdAt": "<string>",
"status": "unclaimed",
"claimId": "<string>",
"verificationId": "<string>",
"claimStartedAt": "<string>",
"claimEndedAt": "<string>"
}
],
"counts": {
"unclaimed": 123,
"pending": 123,
"proved": 123,
"expired": 123,
"canceled": 123,
"archived": 123
},
"nextCursor": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"docsUrl": "<string>"
}
}List the domains on this account
Newest first, one page at a time: pass nextCursor back as cursor for the next one. Each domain carries the state of the claim in play on it, and counts tallies every status on the account, not only this page. name narrows to one, which is how a page reads a domain it only knows by name. Browsing leaves archived domains out until archived asks for them, and counts.archived says how many are waiting there; naming one finds it either way, and every domain carries archived so a caller can tell.
GET
/
api
/
domains
/
List the domains on this account
const options = {method: 'GET'};
fetch('https://ownsi.dev/api/domains/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://ownsi.dev/api/domains/{
"domains": [
{
"id": "<string>",
"name": "<string>",
"unicodeName": "<string>",
"archived": true,
"createdAt": "<string>",
"status": "unclaimed",
"claimId": "<string>",
"verificationId": "<string>",
"claimStartedAt": "<string>",
"claimEndedAt": "<string>"
}
],
"counts": {
"unclaimed": 123,
"pending": 123,
"proved": 123,
"expired": 123,
"canceled": 123,
"archived": 123
},
"nextCursor": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"docsUrl": "<string>"
}
}Query Parameters
Required string length:
1 - 253Available options:
unclaimed, pending, proved, expired, canceled Minimum string length:
1Required range:
1 <= x <= 100