From 5e5755c92f816469a4c8c7831cc1a669e1dd0660 Mon Sep 17 00:00:00 2001 From: David Lonie Date: Sun, 12 Jul 2015 07:46:47 -0400 Subject: [PATCH] Create dungeon.js Account based dungeon info. Should also be used under /character/ --- v2/account/dungeon.js | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 v2/account/dungeon.js diff --git a/v2/account/dungeon.js b/v2/account/dungeon.js new file mode 100644 index 00000000..d2be5c6b --- /dev/null +++ b/v2/account/dungeon.js @@ -0,0 +1,29 @@ +// GET /v2/account/dungeon +// Authorization: Bearer oauth2-token +// Requires "account" scope. +// This exact format should also have an endpoint under character, for +// determining, e.g., which story mode unlocks are needed per character. +{ + "Ascalonian Catacombs": { // Name of dungeon + "Story": { // Path id, either "Story" or "Path X". Alternatively, "Hodgins" "Tzaark", etc. + "first": "", // Timestamp of when dungeon was first completed. + "last": "", // Timestamp of most recent completion. + "count": 4 // Total number of times dungeon has been completed. + }, + "Path 1": { + "first": ... + }, + ... + }, + "Twilight Arbor": { ... }, + ... + "Fractals Of The Mist": { // Fractals too! + "Scale 1:" { + "first": ... + }, + ..., + "Scale 50": { + ... + } + } +}