changeset 5558:3276750332ea

mod_rest: Map the archive-id attribute in MAM result items I was wondering why this wasn't in the JSON output
author Kim Alvefur <zash@zash.se>
date Mon, 19 Jun 2023 01:26:56 +0200
parents d7667d9ad96a
children d7fb8b266663
files mod_rest/res/schema-xmpp.json
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mod_rest/res/schema-xmpp.json	Sun Jun 18 22:23:24 2023 +0200
+++ b/mod_rest/res/schema-xmpp.json	Mon Jun 19 01:26:56 2023 +0200
@@ -698,6 +698,12 @@
                   "forward" : {
                      "$ref" : "#/properties/message/properties/forwarded"
                   },
+                  "id" : {
+                     "type" : "string",
+                     "xml" : {
+                        "attribute" : true
+                     }
+                  },
                   "queryid" : {
                      "type" : "string",
                      "xml" : {