games.gamesgamesgamesgames.autoAcceptContributions
Queue a job that applies pending contributions from auto-accept accounts to the catalogue, oldest first. Admins sweep every auto-accept account; an auto-accept account can sweep only its own contributions. Only one sweep per account runs at a time.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | gamesgamesgamesgames.games |
| Commit rev | 3n2ccegdogs25 |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Queue a job that applies pending contributions from auto-accept accounts to the catalogue, oldest first. Admins sweep every auto-accept account; an auto-accept account can sweep only its own contributions. Only one sweep per account runs at a time.",
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"after": {
"description": "Resume from this cursor. Use the `after` a previous sweep reported.",
"maxLength": 4096,
"type": "string"
},
"dryRun": {
"default": false,
"description": "Report what would be applied without writing anything.",
"type": "boolean"
},
"limit": {
"default": 500,
"description": "How many pending contributions the job looks at.",
"maximum": 5000,
"minimum": 1,
"type": "integer"
},
"writes": {
"description": "full writes the game, a verification and a review. minimal writes the game and the review, which is what marks the contribution as no longer pending.",
"knownValues": [
"full",
"minimal"
],
"maxLength": 64,
"type": "string"
}
},
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"alreadyQueued": {
"description": "True when a sweep for the same account was already pending or running; jobId is that sweep.",
"type": "boolean"
},
"jobId": {
"maxLength": 128,
"type": "string"
},
"startedAt": {
"description": "When the existing sweep started running, when alreadyQueued is true and it has started.",
"format": "datetime",
"type": "string"
},
"status": {
"description": "The existing sweep's status, when alreadyQueued is true.",
"knownValues": [
"pending",
"running"
],
"maxLength": 32,
"type": "string"
}
},
"required": [
"jobId"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "games.gamesgamesgamesgames.autoAcceptContributions",
"lexicon": 1
}