From 6cd899751688cd05057cc9c2cc46df3d67155c42 Mon Sep 17 00:00:00 2001 From: Matteo Rosati Date: Sun, 18 Jan 2026 00:38:53 +0100 Subject: [PATCH] add example api response --- example_api_response.md | 286 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 286 insertions(+) create mode 100644 example_api_response.md diff --git a/example_api_response.md b/example_api_response.md new file mode 100644 index 0000000..24a4ad8 --- /dev/null +++ b/example_api_response.md @@ -0,0 +1,286 @@ +# Example API Response + +**URL**: http://root:root@127.0.0.1:7001/plexts/from-db?limit=5 + +```json +{ + "count": 5, + "plexts": [ + { + "categories": 1, + "coordinates": { + "coordinates": [ + 12.365208, + 45.573661 + ], + "type": "Point" + }, + "event_type": "RESONATOR_DEPLOYED", + "id": "e3696bc7d78d41168a58a7133de10df4.d", + "markup": [ + { + "address": "", + "latE6": 0, + "lngE6": 0, + "name": "", + "plain": "TerminateThis", + "team": "RESISTANCE", + "type": "PLAYER" + }, + { + "address": "", + "latE6": 0, + "lngE6": 0, + "name": "", + "plain": " deployed a Resonator on ", + "team": "", + "type": "TEXT" + }, + { + "address": "Viale della Resistenza, 20, 30020 Quarto D'altino VE, Italy", + "latE6": 45573661, + "lngE6": 12365208, + "location": { + "coordinates": [ + 12.365208, + 45.573661 + ], + "type": "Point" + }, + "name": "Murales Del Plaza", + "plain": "Murales Del Plaza (Viale della Resistenza, 20, 30020 Quarto D'altino VE, Italy)", + "team": "RESISTANCE", + "type": "PORTAL" + } + ], + "player_name": "TerminateThis", + "plext_type": "SYSTEM_BROADCAST", + "portal_name": "Murales Del Plaza", + "team": "RESISTANCE", + "text": "TerminateThis deployed a Resonator on Murales Del Plaza (Viale della Resistenza, 20, 30020 Quarto D'altino VE, Italy)", + "timestamp": 1768548977306, + "timestamp_formatted": "2026-01-16 08:36:17" + }, + { + "categories": 1, + "coordinates": { + "coordinates": [ + 12.365208, + 45.573661 + ], + "type": "Point" + }, + "event_type": "PORTAL_CAPTURED", + "id": "65f356117c654a06aea7f78b37c8291c.d", + "markup": [ + { + "address": "", + "latE6": 0, + "lngE6": 0, + "name": "", + "plain": "TerminateThis", + "team": "RESISTANCE", + "type": "PLAYER" + }, + { + "address": "", + "latE6": 0, + "lngE6": 0, + "name": "", + "plain": " captured ", + "team": "", + "type": "TEXT" + }, + { + "address": "Viale della Resistenza, 20, 30020 Quarto D'altino VE, Italy", + "latE6": 45573661, + "lngE6": 12365208, + "location": { + "coordinates": [ + 12.365208, + 45.573661 + ], + "type": "Point" + }, + "name": "Murales Del Plaza", + "plain": "Murales Del Plaza (Viale della Resistenza, 20, 30020 Quarto D'altino VE, Italy)", + "team": "RESISTANCE", + "type": "PORTAL" + } + ], + "player_name": "TerminateThis", + "plext_type": "SYSTEM_BROADCAST", + "portal_name": "Murales Del Plaza", + "team": "RESISTANCE", + "text": "TerminateThis captured Murales Del Plaza (Viale della Resistenza, 20, 30020 Quarto D'altino VE, Italy)", + "timestamp": 1768548977306, + "timestamp_formatted": "2026-01-16 08:36:17" + }, + { + "categories": 1, + "coordinates": { + "coordinates": [ + 10.298689, + 45.515071 + ], + "type": "Point" + }, + "event_type": "PORTAL_CAPTURED", + "id": "6aec6787b5a84393a1aa2dec5dabc9d2.d", + "markup": [ + { + "address": "", + "latE6": 0, + "lngE6": 0, + "name": "", + "plain": "Sca29", + "team": "RESISTANCE", + "type": "PLAYER" + }, + { + "address": "", + "latE6": 0, + "lngE6": 0, + "name": "", + "plain": " captured ", + "team": "", + "type": "TEXT" + }, + { + "address": "SS 11 Continente, 25086 Rezzato BS, Italy", + "latE6": 45515071, + "lngE6": 10298689, + "location": { + "coordinates": [ + 10.298689, + 45.515071 + ], + "type": "Point" + }, + "name": "Colli dei Longobardi - percorso della Strada del Vino", + "plain": "Colli dei Longobardi - percorso della Strada del Vino (SS 11 Continente, 25086 Rezzato BS, Italy)", + "team": "RESISTANCE", + "type": "PORTAL" + } + ], + "player_name": "Sca29", + "plext_type": "SYSTEM_BROADCAST", + "portal_name": "Colli dei Longobardi - percorso della Strada del Vino", + "team": "RESISTANCE", + "text": "Sca29 captured Colli dei Longobardi - percorso della Strada del Vino (SS 11 Continente, 25086 Rezzato BS, Italy)", + "timestamp": 1768548962208, + "timestamp_formatted": "2026-01-16 08:36:02" + }, + { + "categories": 1, + "coordinates": { + "coordinates": [ + 10.298689, + 45.515071 + ], + "type": "Point" + }, + "event_type": "RESONATOR_DEPLOYED", + "id": "e7c15d8d04bd4b43a276241c3c63337e.d", + "markup": [ + { + "address": "", + "latE6": 0, + "lngE6": 0, + "name": "", + "plain": "Sca29", + "team": "RESISTANCE", + "type": "PLAYER" + }, + { + "address": "", + "latE6": 0, + "lngE6": 0, + "name": "", + "plain": " deployed a Resonator on ", + "team": "", + "type": "TEXT" + }, + { + "address": "SS 11 Continente, 25086 Rezzato BS, Italy", + "latE6": 45515071, + "lngE6": 10298689, + "location": { + "coordinates": [ + 10.298689, + 45.515071 + ], + "type": "Point" + }, + "name": "Colli dei Longobardi - percorso della Strada del Vino", + "plain": "Colli dei Longobardi - percorso della Strada del Vino (SS 11 Continente, 25086 Rezzato BS, Italy)", + "team": "RESISTANCE", + "type": "PORTAL" + } + ], + "player_name": "Sca29", + "plext_type": "SYSTEM_BROADCAST", + "portal_name": "Colli dei Longobardi - percorso della Strada del Vino", + "team": "RESISTANCE", + "text": "Sca29 deployed a Resonator on Colli dei Longobardi - percorso della Strada del Vino (SS 11 Continente, 25086 Rezzato BS, Italy)", + "timestamp": 1768548962208, + "timestamp_formatted": "2026-01-16 08:36:02" + }, + { + "categories": 1, + "coordinates": { + "coordinates": [ + 12.364941, + 45.574634 + ], + "type": "Point" + }, + "event_type": "PORTAL_CAPTURED", + "id": "a604bddc4ca34d838fd2eb7e965aea23.d", + "markup": [ + { + "address": "", + "latE6": 0, + "lngE6": 0, + "name": "", + "plain": "TerminateThis", + "team": "RESISTANCE", + "type": "PLAYER" + }, + { + "address": "", + "latE6": 0, + "lngE6": 0, + "name": "", + "plain": " captured ", + "team": "", + "type": "TEXT" + }, + { + "address": "Via Stazione, 155, 30020 Quarto D'altino Venice, Italy", + "latE6": 45574634, + "lngE6": 12364941, + "location": { + "coordinates": [ + 12.364941, + 45.574634 + ], + "type": "Point" + }, + "name": "Quarto D'Altino - Stazione FS", + "plain": "Quarto D'Altino - Stazione FS (Via Stazione, 155, 30020 Quarto D'altino Venice, Italy)", + "team": "RESISTANCE", + "type": "PORTAL" + } + ], + "player_name": "TerminateThis", + "plext_type": "SYSTEM_BROADCAST", + "portal_name": "Quarto D'Altino - Stazione FS", + "team": "RESISTANCE", + "text": "TerminateThis captured Quarto D'Altino - Stazione FS (Via Stazione, 155, 30020 Quarto D'altino Venice, Italy)", + "timestamp": 1768548949420, + "timestamp_formatted": "2026-01-16 08:35:49" + } + ] +} +``` \ No newline at end of file