{
"id": "pub.chive.activity.getFeed",
"defs": {
"main": {
"type": "query",
"errors": [
{
"name": "AuthenticationRequired"
}
],
"output": {
"schema": {
"type": "object",
"required": [
"activities",
"hasMore"
],
"properties": {
"cursor": {
"type": "string",
"description": "Pagination cursor for next page"
},
"hasMore": {
"type": "boolean",
"description": "Whether more results are available"
},
"activities": {
"type": "array",
"items": {
"ref": "#activityView",
"type": "ref"
}
}
}
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"properties": {
"limit": {
"type": "integer",
"default": 50,
"maximum": 100,
"minimum": 1,
"description": "Maximum number of results to return"
},
"cursor": {
"type": "string",
"description": "Pagination cursor"
},
"status": {
"type": "string",
"description": "Filter by activity status",
"knownValues": [
"pending",
"confirmed",
"failed",
"timeout"
]
},
"category": {
"type": "string",
"description": "Filter by activity category",
"knownValues": [
"eprint_submit",
"eprint_update",
"eprint_delete",
"review_create",
"review_update",
"review_delete",
"endorsement_create",
"endorsement_delete",
"tag_create",
"tag_delete",
"profile_update",
"proposal_create",
"vote_create"
]
}
}
},
"description": "Get the authenticated user's activity feed with pagination"
},
"activityView": {
"type": "object",
"required": [
"id",
"actorDid",
"collection",
"rkey",
"action",
"category",
"status",
"initiatedAt"
],
"properties": {
"id": {
"type": "string",
"description": "Unique activity identifier (UUID)"
},
"rkey": {
"type": "string",
"description": "Record key"
},
"action": {
"type": "string",
"description": "Action type",
"knownValues": [
"create",
"update",
"delete"
]
},
"status": {
"type": "string",
"description": "Activity status",
"knownValues": [
"pending",
"confirmed",
"failed",
"timeout"
]
},
"actorDid": {
"type": "string",
"format": "did",
"description": "DID of user who initiated the action"
},
"category": {
"type": "string",
"description": "Semantic activity category",
"knownValues": [
"eprint_submit",
"eprint_update",
"eprint_delete",
"review_create",
"review_update",
"review_delete",
"endorsement_create",
"endorsement_delete",
"tag_create",
"tag_delete",
"profile_update",
"proposal_create",
"vote_create"
]
},
"errorCode": {
"type": "string",
"description": "Error code if activity failed"
},
"latencyMs": {
"type": "integer",
"description": "Latency from UI initiation to firehose confirmation (milliseconds)"
},
"targetUri": {
"type": "string",
"format": "at-uri",
"description": "Target record URI"
},
"collection": {
"type": "string",
"description": "NSID of the record collection"
},
"confirmedAt": {
"type": "string",
"format": "datetime",
"description": "When firehose confirmed the action"
},
"firehoseCid": {
"type": "string",
"description": "CID from firehose confirmation"
},
"firehoseUri": {
"type": "string",
"format": "at-uri",
"description": "AT-URI from firehose confirmation"
},
"initiatedAt": {
"type": "string",
"format": "datetime",
"description": "When user initiated the action"
},
"targetTitle": {
"type": "string",
"description": "Target record title for display"
},
"errorMessage": {
"type": "string",
"description": "Error message if activity failed"
}
},
"description": "View of an activity log entry"
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1,
"revision": 1
}