Version history
Every save of an endpoint or workflow is kept, newest first (up to 50 per resource), for Island survival demo.
Published game revisions
Each package sync that publishes a revision keeps an immutable snapshot of its endpoints, workflows, collections, queries and game values. Old builds inside their support window run their own revision's definitions and values; player records are always shared live data, so collection schema changes must stay backward-compatible.
| Revision | Published (UTC) | Support | Players (24h) | Schema | Actions |
|---|---|---|---|---|---|
42 |
2026-11-23 12:40:30 UTC | Live | 0 | — | — |
Versions of economy_earn 1
2026-10-14 11:18:49 UTC
Changes from this version to the live definition
This version matches the live definition.
Full source of this version
sourceVersion: 1
kind: endpoint
id: economy_earn
name: Earn gold
description: Adds gold up to the per-call limit. The amount is checked on the server, never trusted blindly.
method: POST
enabled: true
input:
type: object
properties:
amount:
type: number
required:
- amount
steps:
- id: amount_ok
type: assert
check:
all:
- field: input.amount
op: '>'
value: 0
- field: input.amount
op: <=
value: '{{values.economy_limits.max_earn_per_call}}'
status: 422
errorCode: INVALID_AMOUNT
message: Amount must be between 1 and the per-call limit.
- id: give
type: write
collection: economy_balance
key: '{{steamId}}'
ops:
- op: inc
path: gold
value: '{{input.amount}}'
source: earn
reason: Earned gold
response:
status: 200
body:
success: true
earned: '{{input.amount}}'
module: economy