AION 2 TIMERS - DPS METER PARTNER QUICKSTART =========================================== Endpoint: https://meter.aion2timers.com Register: https://meter.aion2timers.com/ (page, no account needed) 1. GET A SANDBOX KEY (1 minute) Open https://meter.aion2timers.com/ , enter your app name and a contact (email or Discord), press Register. Copy the key (starts with a2tpk_). It is shown once. Or: curl -X POST https://meter.aion2timers.com/v1/partners/register -H "Content-Type: application/json" -d '{"app":"My Meter","contact":"me@example.com"}' 2. SEND SNAPSHOTS (POST https://meter.aion2timers.com/v1/snapshot) Headers: X-Partner-Key: X-Meter-Version: Body: {"region":"na","snapshots":[{"serverId":1001,"serverTime":NOW_MS,"mapId":210, "entries":[{"npcId":2400123,"spawned":false,"spawnAt":NEXT_MS}]}],"kills":[{"serverId":1001,"serverTime":NOW_MS,"npcId":2400123}]} Limits: 50 snapshots, 2000 entries, 500 kills, 256 KB per request. Send changes, not a repeat of the same state. 3. SEND BOSS HP (POST https://meter.aion2timers.com/v1/hp) - optional Body: {"region":"na","server":1001,"mobcode":"2400123","hp":70} (or a list of up to 100). hp = whole percent 0-100. Send HP in steps of 1% or more and no faster than one update per 5 s per boss. 3b. SEND RANKING TABLES (POST https://meter.aion2timers.com/v1/rankings) - optional One report = one table for one class tab, format 1 (see a2t-rankings-format.md). Body: JSON, plain or gzip (up to 512 KB sent, 2 MB inflated). Fields: format 1, server (reporter's server id), host (KR/TW only), observedAt, table (1,3,4,5,6,21), class (0 All, 2-9), nextUpdate, entries[] (up to 500). Send each table once per game update (use nextUpdate); repeats of the same update return "stored":false. Sandbox keys are validated, never stored. Read back (public): GET https://meter.aion2timers.com/v1/rankings?index=1 and ?server=1304&table=1&class=0. Shown on the site under Leaderboard, Content Boards. 4. WATCH YOUR TRAFFIC GET https://meter.aion2timers.com/v1/partners/me with your key: tier, the go-live checks and your last 20 requests. Sandbox keys are checked and counted but never published. 5. GO LIVE When 50 good requests over at least 600 s pass every check, the site owner is asked to approve production. Approval is a person's decision. You are told by email when it is done; your key stays the same. Answers: 200 ok, 400 body problem (the error says what), 403 unknown key or paused, 413 too large, 426 blocked app version (update), 429 slow down (wait Retry-After seconds). Questions: homelessguynabox@aion2timers.com