Eco-DiscordLink / EcoDiscordPlugin

A plugin that interfaces Eco Global Survival's server with Discord
GNU Affero General Public License v3.0
33 stars 15 forks source link

Add Basic WebAPI support #88

Closed bombitmanbomb closed 3 months ago

bombitmanbomb commented 1 year ago

Adds basic functionality and documentation for DiscordLink to the AdminWebAPI.

All calls require the AdminAPIToken (Header X-API-KEY) else 401 response.

image

MonzUn commented 1 year ago

Hey, sorry it took so long for me to get to this one. Been a lot going on to say the least ^^' It looks good, but I don't see the code for the AdminAPIToken, is that handled via the webserver code?

bombitmanbomb commented 1 year ago

Yes, the controller handles all auth. [Authorize(Policy = PolicyNames.RequireAdmin)] Non admin requests give a 401.

JulianMa commented 1 year ago

oh.. i also totally forgot about this one, i'm sorry. There is so much going in right now, i don't know if i have time to properly review this anytime soon

JulianMa commented 11 months ago

@bombitmanbomb sorry for the long time no update, but we haven't really worked on DiscordLink. Right now, we're preparing for the upcoming release of eco 10.0. So we will release DiscordLink 3.4 at some point.

MonzUn commented 3 months ago

Closing due to lack of response from author.