Web Server API
#2
Just to be clear, the current webadmin does exactly what you requested here. Every plugin has it's own space with the tabs (For instance gallery.xoft.cs:<port>/webadmin/Core/Chat), so the question pretty much is: Do we want the webadmin integrated in Cuberite or should we move it inside a plugin.

I'm personally inclined to keep it integrated, but I would like to see some changes. For example, I'd like to be able to limit a webadmin user to specific tabs and for plugins to be able to change the return HTTP status code and returned headers. lastly I'd like to be able to hide webtabs from admins as they most likely do not want to see tabs that provide an API. We could possibly add a new method cWebAdmin:AddAPI which would do that. We could even change the API requests to something like "gallery.xoft.cs:<port>/webapi/Core/Chat"
Reply
Thanks given by:


Messages In This Thread
Web Server API - by yangm97 - 11-28-2016, 03:36 AM
RE: Web Server API - by NiLSPACE - 11-28-2016, 04:00 AM
RE: Web Server API - by yangm97 - 11-28-2016, 04:15 AM
RE: Web Server API - by xoft - 11-28-2016, 05:11 AM
RE: Web Server API - by yangm97 - 11-28-2016, 05:29 AM
RE: Web Server API - by ShadowCone - 11-28-2016, 05:56 AM
RE: Web Server API - by yangm97 - 11-28-2016, 06:08 AM
RE: Web Server API - by ShadowCone - 11-28-2016, 05:45 PM
RE: Web Server API - by sphinxc0re - 01-13-2017, 10:42 AM
RE: Web Server API - by sphinxc0re - 01-13-2017, 10:49 AM
RE: Web Server API - by yangm97 - 01-13-2017, 01:31 PM



Users browsing this thread: 2 Guest(s)