Skip to main content
POST
/
create-content-update
Submit a content update / errata for community review
curl --request POST \
  --url https://api.wanderersguide.app/functions/v1/create-content-update \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "type": "trait",
  "action": "UPDATE",
  "data": {},
  "content_source_id": 123,
  "ref_id": 123
}
'
{
  "status": "success",
  "data": {
    "type": "trait",
    "action": "UPDATE",
    "data": {},
    "content_source_id": 123,
    "id": 123,
    "created_at": "2023-11-07T05:31:56Z",
    "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "ref_id": 123,
    "status": {
      "state": "PENDING",
      "discord_user_id": "<string>",
      "discord_user_name": "<string>"
    },
    "upvotes": [
      {
        "discord_user_id": "<string>"
      }
    ],
    "downvotes": [
      {
        "discord_user_id": "<string>"
      }
    ],
    "discord_msg_id": "<string>"
  }
}

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.

Authorizations

Authorization
string
header
required

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.

Body

application/json
type
enum<string>
required
Available options:
trait,
item,
spell,
class,
archetype,
versatile-heritage,
class-archetype,
ability-block,
creature,
ancestry,
background,
language,
content-source
action
enum<string>
required
Available options:
UPDATE,
CREATE,
DELETE
data
object
required
content_source_id
integer
required
ref_id
integer

Required for UPDATE/DELETE actions; the id of the existing row.

Response

200 - application/json

JSend success with the created update row.

status
enum<string>
Available options:
success
data
object