polyphony-chat / symfonia

A Polyphony chat server, compatible with Spacebar and the Discord API.
Mozilla Public License 2.0
25 stars 3 forks source link

Route: /version #49

Closed kozabrada123 closed 1 month ago

kozabrada123 commented 1 month ago

(See https://github.com/spacebarchat/server/issues/1222)

tl;dr:

It'd be very useful to add a new route along the lines of /version, which just returns the current server version and that it's a symfonia server:

{
  "version": "v0.1.0-alpha.1",
  "server": "symfonia"
}
bitfl0wer commented 1 month ago

image image

Version is being dynamically queried when compiling, "symfonia" is just a static string.

kozabrada123 commented 1 month ago

Great, thanks!

erkinalp commented 1 month ago

I've filed the corresponding ticket for litecord: https://gitlab.com/litecord/litecord/-/issues/149