diff mod_rest/res/schema-xmpp.json @ 4747:566e54a07f54

mod_rest: Map the XEP-0313 <fin> element to make paging work
author Kim Alvefur <zash@zash.se>
date Thu, 04 Nov 2021 20:18:02 +0100
parents b7df2c61a144
children a6b94f4fb065
line wrap: on
line diff
--- a/mod_rest/res/schema-xmpp.json	Thu Nov 04 20:17:07 2021 +0100
+++ b/mod_rest/res/schema-xmpp.json	Thu Nov 04 20:18:02 2021 +0100
@@ -458,6 +458,18 @@
                   "namespace" : "jabber:iq:register"
                }
             },
+            "result" : {
+               "properties" : {
+                  "page" : {
+                     "$ref" : "#_common/rsm"
+                  }
+               },
+               "type" : "object",
+               "xml" : {
+                  "name" : "fin",
+                  "namespace" : "urn:xmpp:mam:2"
+               }
+            },
             "stats" : {
                "description" : "Simple statistics gathering, array of (name, unit, value) tuples.",
                "items" : {