full diff

games.gamesgamesgamesgames.backfillGameSlugs

From
bafyreicgnm3zeuxyfrebvaecfsvycn77xz3ojfalzn7jj22qd6c4p6v6xu indexed 2026-11-16 16:36 UTC View this version
To
bafyreibytciroz4g5k7jnl4mehpzszsrvke25dhquvz6yuwiwzghu3h6sq indexed 2026-11-16 17:30 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
5 "description": "Queue a job that gives games with no slug one, and puts the slug on their search document. Existing slugs are never changed. A dry run unless dryRun is false. Admins only. One backfill runs at a time.",
5 "description": "Queue a job that gives games with no slug one, and puts the slug on their search document. Existing slugs are never changed. A dry run unless dryRun is false. Admins and the maintenance account only. One backfill runs at a time.",
66 "input": {
77 "encoding": "application/json",
88 "schema": {
99 "properties": {
1010 "dryRun": {
1111 "default": true,
1212 "description": "Choose slugs and compare search documents, but write nothing. Pass false to write.",
1313 "type": "boolean"
1414 },
1515 "maxGames": {
1616 "description": "Stop after this many games, for a trial run.",
1717 "minimum": 1,
1818 "type": "integer"
1919 },
2020 "uris": {
2121 "description": "Only these game URIs. A game that already has a slug gets it copied to its search document if that is missing it. Without uris, the job walks every game that has no slug.",
2222 "items": {
2323 "format": "at-uri",
2424 "type": "string"
2525 },
2626 "maxLength": 5000,
2727 "minLength": 1,
2828 "type": "array"
2929 }
3030 },
3131 "type": "object"
3232 }
3333 },
3434 "output": {
3535 "encoding": "application/json",
3636 "schema": {
3737 "properties": {
3838 "alreadyQueued": {
3939 "description": "True when a backfill was already pending or running; jobId is that job, and nothing new was queued.",
4040 "type": "boolean"
4141 },
4242 "dryRun": {
4343 "type": "boolean"
4444 },
4545 "jobId": {
4646 "maxLength": 128,
4747 "type": "string"
4848 },
4949 "status": {
5050 "description": "The existing job's status, when alreadyQueued is true.",
5151 "knownValues": [
5252 "pending",
5353 "running"
5454 ],
5555 "maxLength": 32,
5656 "type": "string"
5757 }
5858 },
5959 "required": [
6060 "jobId",
6161 "dryRun"
6262 ],
6363 "type": "object"
6464 }
6565 },
6666 "type": "procedure"
6767 }
6868 },
6969 "id": "games.gamesgamesgamesgames.backfillGameSlugs",
7070 "lexicon": 1
7171}

Compare other versions