go-ssb-room/web
boreq ab664aafc3 Add a JSON endpoint for generating invites
When running in open mode invites can be freely generated by accessing
/create-invite. This displays an HTML page which creates and displays an
invite to the user.

This commit adds an additional way of creating invites in open mode. A
POST request can be sent to the same /create-invite endpoint with the
Accept header set to application/json. This returns a JSON response
which contains an invite url.

The purpose of this change is to make automatic invite generation easier
in SSB clients.
2022-12-13 19:15:11 +01:00
..
assets update production style.css 2022-08-22 09:10:09 +00:00
errors Migrate to ssbc urls (#336) 2022-11-07 11:18:13 +02:00
handlers Add a JSON endpoint for generating invites 2022-12-13 19:15:11 +01:00
i18n Migrate to ssbc urls (#336) 2022-11-07 11:18:13 +02:00
members Migrate to ssbc urls (#336) 2022-11-07 11:18:13 +02:00
router Add a JSON endpoint for generating invites 2022-12-13 19:15:11 +01:00
styles fix SPDX headers and add reuse API badge 2021-10-08 14:39:31 +02:00
templates Migrate to ssbc urls (#336) 2022-11-07 11:18:13 +02:00
webassert fix SPDX headers and add reuse API badge 2021-10-08 14:39:31 +02:00
embedded_dev.go Migrate to ssbc urls (#336) 2022-11-07 11:18:13 +02:00
embedded_prod.go fix SPDX headers and add reuse API badge 2021-10-08 14:39:31 +02:00
utils.go Migrate to ssbc urls (#336) 2022-11-07 11:18:13 +02:00