From 7a5059c06105140cb4547e5570a9d525a3ee6331 Mon Sep 17 00:00:00 2001 From: Martin Brodbeck Date: Tue, 20 Dec 2022 09:17:52 +0100 Subject: [PATCH] JSON-Output formatiert. --- Abfall_API.md | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 67 insertions(+), 1 deletion(-) diff --git a/Abfall_API.md b/Abfall_API.md index d2a5dc0..26ed1ea 100644 --- a/Abfall_API.md +++ b/Abfall_API.md @@ -23,5 +23,71 @@ Content-Type: `application/x-www-form-urlencoded` Request-Body: ```json -[{"key":"e2368c5c4cf4e863ea77c5649c17f9cf","value":"121c322b9e8e8bf0e46c93812449e484"},{"key":"f_abfallarten","value":"31,50,19,17,44"},{"key":"f_abfallarten_index_max","value":"5"},{"key":"f_export_als","value":"{'action':'https://api.abfall.io/?key=514199db585ea04541fe70feead6315f&modus=d6c5855a62cf32a4dadbc2831f0f295f&waction=export_csv','target':''}"},{"key":"f_id_abfalltyp_0","value":"31"},{"key":"f_id_abfalltyp_1","value":"50"},{"key":"f_id_abfalltyp_2","value":"19"},{"key":"f_id_abfalltyp_3","value":"17"},{"key":"f_id_abfalltyp_4","value":"44"},{"key":"f_id_kommune","value":"1258"},{"key":"f_id_strasse","value":"1258eichendorffstrasse"},{"key":"f_id_strasse_hnr","value":"25938"},{"key":"f_posts_json[]","value":"a:2:{s:32:\"e2368c5c4cf4e863ea77c5649c17f9cf\";s:32:\"121c322b9e8e8bf0e46c93812449e484\";s:12:\"f_id_kommune\";s:4:\"1258\";}"},{"key":"f_posts_json[]","value":"a:4:{s:32:\"e2368c5c4cf4e863ea77c5649c17f9cf\";s:32:\"121c322b9e8e8bf0e46c93812449e484\";s:12:\"f_id_kommune\";s:4:\"1258\";s:12:\"f_posts_json\";a:0:{}s:12:\"f_id_strasse\";s:22:\"1258eichendorffstrasse\";}"},{"key":"f_posts_json[]","value":"a:5:{s:32:\"e2368c5c4cf4e863ea77c5649c17f9cf\";s:32:\"121c322b9e8e8bf0e46c93812449e484\";s:12:\"f_id_kommune\";s:4:\"1258\";s:12:\"f_posts_json\";a:1:{i:0;s:117:\"a:2:{s:32:\"e2368c5c4cf4e863ea77c5649c17f9cf\";s:32:\"121c322b9e8e8bf0e46c93812449e484\";s:12:\"f_id_kommune\";s:4:\"1258\";}\";}s:12:\"f_id_strasse\";s:22:\"1258eichendorffstrasse\";s:16:\"f_id_strasse_hnr\";s:5:\"25938\";}"},{"key":"f_zeitraum","value":"20220101-20221231"}] +[ + { + "key": "e2368c5c4cf4e863ea77c5649c17f9cf", + "value": "121c322b9e8e8bf0e46c93812449e484" + }, + { + "key": "f_abfallarten", + "value": "31,50,19,17,44" + }, + { + "key": "f_abfallarten_index_max", + "value": "5" + }, + { + "key": "f_export_als", + "value": "{'action':'https://api.abfall.io/?key=514199db585ea04541fe70feead6315f&modus=d6c5855a62cf32a4dadbc2831f0f295f&waction=export_csv','target':''}" + }, + { + "key": "f_id_abfalltyp_0", + "value": "31" + }, + { + "key": "f_id_abfalltyp_1", + "value": "50" + }, + { + "key": "f_id_abfalltyp_2", + "value": "19" + }, + { + "key": "f_id_abfalltyp_3", + "value": "17" + }, + { + "key": "f_id_abfalltyp_4", + "value": "44" + }, + { + "key": "f_id_kommune", + "value": "1258" + }, + { + "key": "f_id_strasse", + "value": "1258eichendorffstrasse" + }, + { + "key": "f_id_strasse_hnr", + "value": "25938" + }, + { + "key": "f_posts_json[]", + "value": "a:2:{s:32:\"e2368c5c4cf4e863ea77c5649c17f9cf\";s:32:\"121c322b9e8e8bf0e46c93812449e484\";s:12:\"f_id_kommune\";s:4:\"1258\";}" + }, + { + "key": "f_posts_json[]", + "value": "a:4:{s:32:\"e2368c5c4cf4e863ea77c5649c17f9cf\";s:32:\"121c322b9e8e8bf0e46c93812449e484\";s:12:\"f_id_kommune\";s:4:\"1258\";s:12:\"f_posts_json\";a:0:{}s:12:\"f_id_strasse\";s:22:\"1258eichendorffstrasse\";}" + }, + { + "key": "f_posts_json[]", + "value": "a:5:{s:32:\"e2368c5c4cf4e863ea77c5649c17f9cf\";s:32:\"121c322b9e8e8bf0e46c93812449e484\";s:12:\"f_id_kommune\";s:4:\"1258\";s:12:\"f_posts_json\";a:1:{i:0;s:117:\"a:2:{s:32:\"e2368c5c4cf4e863ea77c5649c17f9cf\";s:32:\"121c322b9e8e8bf0e46c93812449e484\";s:12:\"f_id_kommune\";s:4:\"1258\";}\";}s:12:\"f_id_strasse\";s:22:\"1258eichendorffstrasse\";s:16:\"f_id_strasse_hnr\";s:5:\"25938\";}" + }, + { + "key": "f_zeitraum", + "value": "20220101-20221231" + } +] + ```