Mercurial > prosody-modules
diff mod_rest/res/schema-xmpp.json @ 4547:a9e997d5eb94
mod_rest: Replace 'oob_url' with datamapper-native 'oob'
While 'oob_url' is simpler and covers all current use, it's harder to
describe the XML mapping.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 25 Apr 2021 16:38:20 +0200 |
parents | 9837c73826d2 |
children | cce0e1ec8a74 |
line wrap: on
line diff
--- a/mod_rest/res/schema-xmpp.json Sun Apr 25 16:20:32 2021 +0200 +++ b/mod_rest/res/schema-xmpp.json Sun Apr 25 16:38:20 2021 +0200 @@ -324,11 +324,15 @@ } }, "oob" : { + "description" : "Reference a media file", "properties" : { "desc" : { + "description" : "Optional description", "type" : "string" }, "url" : { + "description" : "The URL of the attached media file", + "example" : "https://media.example.net/thisfile.jpg", "format" : "uri", "type" : "string" }