comparison mod_rest/res/openapi.yaml @ 4549:cce0e1ec8a74

mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
author Kim Alvefur <zash@zash.se>
date Sun, 25 Apr 2021 16:53:08 +0200
parents c50fac0f3cbf
children 82df1eed45d1
comparison
equal deleted inserted replaced
4548:c50fac0f3cbf 4549:cce0e1ec8a74
417 join: 417 join:
418 description: For joining Multi-User-Chats 418 description: For joining Multi-User-Chats
419 type: boolean 419 type: boolean
420 enum: 420 enum:
421 - true 421 - true
422
423 invite:
424 type: object
425 description: Invite to a group chat
426 required:
427 - jid
428 xml:
429 name: x
430 namespace: jabber:x:conference
431 properties:
432 jid:
433 type: string
434 description: Address of the group chat
435 format: xmpp-jid
436 xml:
437 attribute: true
438 reason:
439 type: string
440 description: Optional message by the inviter
441 xml:
442 attribute: true
443 password:
444 type: string
445 description: Password for the group chat, if required
446 xml:
447 attribute: true
448 thread:
449 type: string
450 xml:
451 attribute: true
452 continue:
453 type: boolean
454 description: Whether the group chat continues a one-to-one chat
455 xml:
456 attribute: true
422 457
423 html: 458 html:
424 description: HTML version of 'body' 459 description: HTML version of 'body'
425 example: <body><p>Hello!</p></body> 460 example: <body><p>Hello!</p></body>
426 type: string 461 type: string