games.gamesgamesgamesgames.reindexCatalogueGames

Queue a job that brings the index rows of these catalogue games back in line with the catalogue PDS. The catalogue repo itself is not changed. Admins only. One reindex runs at a time.

Details · procedure
Kindprocedure
Authoritygamesgamesgamesgames.games
Commit rev3n2ec5q2kxs25
Indexed

Procedure

procedure · POST

Input

application/json

dryRun

boolean

Compare only, and report how many would be reindexed.

  • default: false

perSecond

integer

How many records to process per second, to go easy on the catalogue PDS.

  • minimum: 1
  • maximum: 5
  • default: 2

uris

requiredarray

Catalogue game URIs. The job works through them 200 at a time.

  • minLength: 1
  • maxLength: 5000
itemsstring · at-uri

Output

application/json

True when a reindex was already pending or running; jobId is that job, and nothing new was queued.

count

requiredinteger

How many URIs were queued; 0 when alreadyQueued is true.

jobId

requiredstring
  • maxLength: 128

status

string

The existing job's status, when alreadyQueued is true.

  • maxLength: 32
  • knownValues: pending | running

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Queue a job that finds games whose search document is missing, gutted or stale, and rewrites those documents from the index. Admins only. One search reindex runs at a time, and none while a catalogue reindex is pending or running. Run with dryRun first.

  • Queue a job that copies Wikidata's sitelink counts, publishers, mod and fan game classes, and English Wikipedia articles for our games into the index, keyed by IGDB game ID. Admins only. One sync runs at a time.

  • Queue a job that recounts how many games each organization is credited as publishing. Search uses the counts to tell established publishers from fan teams. Admins only. One refresh runs at a time.

  • 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.