{
"id": "space.highport.manage.getMyActivity",
"defs": {
"main": {
"type": "query",
"errors": [
{
"name": "AnalyticsDisabled",
"description": "This deployment has no analytics store configured."
}
],
"output": {
"schema": {
"type": "object",
"required": [
"domains"
],
"properties": {
"cursor": {
"type": "string",
"description": "Present when more entries exist."
},
"domains": {
"type": "array",
"items": {
"type": "object",
"required": [
"domain",
"requests",
"bytesBilled",
"lastSeen"
],
"properties": {
"domain": {
"type": "string",
"description": "The domain browsed."
},
"lastSeen": {
"type": "string",
"format": "datetime",
"description": "The most recent request."
},
"requests": {
"type": "integer",
"description": "Responses received."
},
"asVisitor": {
"type": "boolean",
"description": "Whether this drew on the caller's allowance as a visitor to somebody else's sender-pays site, rather than as the domain's own owner."
},
"bytesBilled": {
"type": "integer",
"description": "Billed bytes drawn from this identity's own allowance."
}
},
"description": "One domain this identity browsed, and what it drew."
}
}
}
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"properties": {
"to": {
"type": "string",
"format": "datetime",
"description": "Exclusive upper bound. Defaults to now."
},
"from": {
"type": "string",
"format": "datetime",
"description": "Inclusive lower bound. Defaults to 30 days ago."
},
"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 calling identity's own browsing, across every domain it authenticated to. There is no parameter for whose activity to read: this view belongs to its subject, and it exists so a person being billed can audit the bill."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}