org.cairnsproto.draft.listSnapshots
The snapshots a project's maintainers published, newest first by createdAt, each with the exports made from it and their merge state.
Details · query
| Kind | query |
|---|---|
| Authority | draft.cairnsproto.org |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"exportView": {
"properties": {
"export": {
"ref": "com.atproto.repo.strongRef",
"type": "ref"
},
"files": {
"description": "How many files the export lists.",
"minimum": 0,
"type": "integer"
},
"merged": {
"description": "Set once an import result shows every exported file's hash at a branch head.",
"ref": "#merged",
"type": "ref"
},
"pr": {
"format": "uri",
"maxLength": 2048,
"type": "string"
},
"target": {
"description": "The export record's target.",
"type": "unknown"
}
},
"required": [
"export",
"target",
"files"
],
"type": "object"
},
"main": {
"description": "The snapshots a project's maintainers published, newest first by createdAt, each with the exports made from it and their merge state.",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cursor": {
"maxLength": 512,
"type": "string"
},
"project": {
"format": "at-uri",
"type": "string"
},
"snapshots": {
"items": {
"ref": "#snapshotView",
"type": "ref"
},
"type": "array"
}
},
"required": [
"project",
"snapshots"
],
"type": "object"
}
},
"parameters": {
"properties": {
"cursor": {
"maxLength": 512,
"type": "string"
},
"limit": {
"default": 50,
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"project": {
"format": "at-uri",
"type": "string"
}
},
"required": [
"project"
],
"type": "params"
},
"type": "query"
},
"merged": {
"properties": {
"commit": {
"maxLength": 64,
"type": "string"
},
"importResult": {
"ref": "com.atproto.repo.strongRef",
"type": "ref"
}
},
"required": [
"importResult",
"commit"
],
"type": "object"
},
"snapshotView": {
"properties": {
"author": {
"format": "did",
"type": "string"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"exports": {
"items": {
"ref": "#exportView",
"type": "ref"
},
"type": "array"
},
"inputRoot": {
"ref": "org.cairnsproto.draft.defs#hash",
"type": "ref"
},
"policy": {
"ref": "com.atproto.repo.strongRef",
"type": "ref"
},
"previous": {
"ref": "com.atproto.repo.strongRef",
"type": "ref"
},
"readingImpl": {
"ref": "org.cairnsproto.draft.snapshot#readingImpl",
"type": "ref"
},
"seenRound": {
"description": "Quicknet round when the indexer first saw the snapshot.",
"minimum": 1,
"type": "integer"
},
"seenThrough": {
"ref": "com.atproto.repo.strongRef",
"type": "ref"
},
"snapshot": {
"ref": "com.atproto.repo.strongRef",
"type": "ref"
}
},
"required": [
"snapshot",
"author",
"createdAt",
"seenThrough",
"inputRoot",
"seenRound",
"exports"
],
"type": "object"
}
},
"id": "org.cairnsproto.draft.listSnapshots",
"lexicon": 1
}