> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wanderersguide.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Find content updates / errata

> Find content updates / errata



## OpenAPI

````yaml POST /find-content-update
openapi: 3.1.0
info:
  title: Wanderer's Guide API
  description: >-
    Public HTTP API for Wanderer's Guide, the Pathfinder 2e character builder.
    Every endpoint is a Supabase Edge Function reached via `POST
    /functions/v1/<name>`. All responses follow the
    [JSend](https://github.com/omniti-labs/jsend) convention: `{ status:
    'success' | 'fail' | 'error', data?, message? }`.
  version: 1.0.0
  contact:
    name: Wanderer's Guide Discord
    url: https://discord.com/invite/FxsFZVvedr
  license:
    name: MIT
    url: https://github.com/wanderers-guide/wanderers-guide/blob/main/LICENSE
servers:
  - url: https://api.wanderersguide.app/functions/v1
    description: Production
  - url: '{supabaseUrl}/functions/v1'
    description: Self-hosted Supabase
    variables:
      supabaseUrl:
        default: http://127.0.0.1:54321
        description: Base URL of your Supabase instance, including scheme and port.
security:
  - apiKeyAuth: []
tags:
  - name: Content
    description: 'Pathfinder 2e content: spells, items, feats, ancestries, classes, etc.'
  - name: Characters
    description: Player characters.
  - name: Campaigns
    description: Campaigns and encounters.
  - name: GM
    description: 'Game-master tools: group management, access codes.'
  - name: Users
    description: Public user profiles, account management, Patreon integration.
  - name: Search
    description: Full-text and advanced search across content.
  - name: Files
    description: User-uploaded portrait and background images.
  - name: Integrations
    description: Vector DB and Discord webhooks.
paths:
  /find-content-update:
    post:
      tags:
        - Content
      summary: Find content updates / errata
      operationId: findContentUpdate
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                user_id:
                  type: string
                  format: uuid
                state:
                  type: string
                  enum:
                    - PENDING
                    - APPROVED
                    - REJECTED
                created:
                  type: object
                  properties:
                    from:
                      type: string
                      format: date-time
                    to:
                      type: string
                      format: date-time
      responses:
        '200':
          description: JSend success.
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - success
                  data:
                    oneOf:
                      - type: array
                        items:
                          $ref: '#/components/schemas/ContentUpdate'
                      - $ref: '#/components/schemas/ContentUpdate'
                      - type: 'null'
components:
  schemas:
    ContentUpdate:
      type: object
      required:
        - type
        - action
        - data
        - content_source_id
      properties:
        id:
          type: integer
        created_at:
          type: string
          format: date-time
        user_id:
          type: string
          format: uuid
        type:
          $ref: '#/components/schemas/ContentType'
        ref_id:
          type: integer
        action:
          type: string
          enum:
            - UPDATE
            - CREATE
            - DELETE
        data:
          type: object
          additionalProperties: true
        content_source_id:
          type: integer
        status:
          type: object
          properties:
            state:
              type: string
              enum:
                - PENDING
                - APPROVED
                - REJECTED
            discord_user_id:
              type: string
            discord_user_name:
              type: string
        upvotes:
          type: array
          items:
            type: object
            properties:
              discord_user_id:
                type: string
        downvotes:
          type: array
          items:
            type: object
            properties:
              discord_user_id:
                type: string
        discord_msg_id:
          type: string
    ContentType:
      type: string
      enum:
        - trait
        - item
        - spell
        - class
        - archetype
        - versatile-heritage
        - class-archetype
        - ability-block
        - creature
        - ancestry
        - background
        - language
        - content-source
  securitySchemes:
    apiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key (UUID, 36 chars)
      description: >-
        API key created in your Wanderer's Guide account settings. Send as
        `Authorization: Bearer <key>`. Used for direct API access from external
        tools and scripts.

````