Commit graph

12 commits

Author SHA1 Message Date
high
866a4c9932 Implemented RestObject to enforce status/error keys. 2011-09-05 13:59:07 -04:00
Lucas Nicodemus
3e961b32ab Removed dumb outputs that don't work. 2011-09-05 01:39:40 -06:00
Lucas Nicodemus
1fa5c7236e All API requests now respond with a predictable template, for further troubleshooting. 2011-09-05 01:37:56 -06:00
Lucas Nicodemus
e4030d9e38 Merge branch 'general-devel-rest' of github.com:TShock/TShock into general-devel-rest
Conflicts:
	TShockAPI/RestManager.cs
Fixed /status returning a 500
2011-09-05 01:03:20 -06:00
high
1fe7284f7c Added SecureRest which implements token requirement for commands. Still must implement a Verify function and probably change SecureRest around a bit. 2011-09-05 02:44:46 -04:00
Lucas Nicodemus
92d940e5dc Added startup/shutdown messages to Rest, for troubleshooting bad configuration settings.
Added server nickname configuration option, to be returned in the /status API endpoint
Added configuration option for disabling the /check API endpoint in the event that users don't like that.
Added /status API endpoint
2011-09-05 00:30:46 -06:00
high
332fe805a9 != should be == 2011-09-05 01:44:46 -04:00
high
f087ae5c83 IP/Port can now be changed before started.
RestVerbs added instead of Dictionary<string,string>
2011-09-05 01:11:08 -04:00
high
d824e71507 Added rest {verb} support 2011-09-05 00:48:05 -04:00
high
fea3be69f5 Fixed serializing wrong object.
Error is now serialized too.
2011-09-05 00:02:01 -04:00
high
e9c3363313 Now instead outputs json serialized objects. 2011-09-04 23:50:35 -04:00
high
59a2fcd62e Added Rest example 2011-09-04 23:43:39 -04:00