# at.postgame.libraryRequest

> A request to add a game to the user's library, written by an automation (e.g. an Airglow rule that fires when the user replies "backlog" to a Bluesky post) rather than by postgame. postgame resolves the game from the subject's postgame.at game link the next time the user signs in, writes the at.postgame.game record, and deletes the request.

- Kind: record
- Record key: tid
- Authority: postgame.at
- Lexicon: 1
- Published by [postgame.at](https://lexicon.garden/identity/did:plc:crwol3wvv2w2lvvognhvd5cm), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:crwol3wvv2w2lvvognhvd5cm/at.postgame.libraryRequest)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:crwol3wvv2w2lvvognhvd5cm/at.postgame.libraryRequest/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:crwol3wvv2w2lvvognhvd5cm/at.postgame.libraryRequest/analytics)

## Record (`at.postgame.libraryRequest`)

Type: record · key tid

### Properties

- `createdAt` (string · datetime, required)
- `status` (string): The library status to add the game with. Defaults to backlogged.
  - Constraints: knownValues: backlogged
- `subject` (string · at-uri, required): The record that names the game: an app.bsky.feed.post whose link card, links or text include a postgame.at/games/{igdbId} URL.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A request to add a game to the user's library, written by an automation (e.g. an Airglow rule that fires when the user replies \"backlog\" to a Bluesky post) rather than by postgame. postgame resolves the game from the subject's postgame.at game link the next time the user signs in, writes the at.postgame.game record, and deletes the request.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "status": {
            "description": "The library status to add the game with. Defaults to backlogged.",
            "knownValues": [
              "backlogged"
            ],
            "type": "string"
          },
          "subject": {
            "description": "The record that names the game: an app.bsky.feed.post whose link card, links or text include a postgame.at/games/{igdbId} URL.",
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "subject",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "at.postgame.libraryRequest",
  "lexicon": 1
}
```
