{
"id": "space.highport.manage.listDomainBilling",
"defs": {
"main": {
"type": "query",
"output": {
"schema": {
"type": "object",
"required": [
"domains"
],
"properties": {
"cursor": {
"type": "string",
"description": "Present when more entries exist."
},
"domains": {
"type": "array",
"items": {
"type": "object",
"required": [
"domain",
"payerPolicy",
"fallbackToOwner"
],
"properties": {
"domain": {
"type": "string",
"description": "The domain."
},
"updatedAt": {
"type": "string",
"format": "datetime",
"description": "When it last changed. Absent when the domain has no arrangement recorded and is reporting the default."
},
"payerPolicy": {
"type": "string",
"description": "owner or visitor.",
"knownValues": [
"owner",
"visitor"
]
},
"fallbackToOwner": {
"type": "boolean",
"description": "Under the visitor policy, whether a visitor with nothing left falls back to the owner rather than being refused."
},
"visitorCapBytes": {
"type": "integer",
"description": "A ceiling on what any single visitor may spend here per period."
},
"ownerBudgetBytes": {
"type": "integer",
"minimum": 0,
"description": "Bytes of the owner's own allowance this site may spend on readers who have not signed in, per period. 0 requires a sign-in before anything is served; omitted leaves payerPolicy and fallbackToOwner in charge. When present it derives both."
}
},
"description": "Whose allowance a domain's traffic draws on."
}
}
}
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"properties": {
"limit": {
"type": "integer",
"default": 50,
"maximum": 100,
"minimum": 1,
"description": "Maximum entries to return."
},
"cursor": {
"type": "string",
"description": "Pagination cursor from a previous response."
}
}
},
"description": "The payer policy of every domain the calling identity owns. A domain with no arrangement recorded reports the default: the owner pays, with no visitor cap."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}