Deathmax
4162776972
Placed world methods into their own region
2011-09-05 20:43:50 +08:00
Deathmax
b0e27985b6
Added /world/meteor
...
Added /world/bloodmoon/{bool}
2011-09-05 20:41:05 +08:00
Deathmax
04b9fef4d1
Added /world/read
2011-09-05 20:27:05 +08:00
Graham Cantin
afff00b502
REST: ban creation, lookup by name or ip for ban info/delete
...
REST: There are no methods in banmanager to update bans, Update skipped.
2011-09-05 05:15:08 -07:00
Graham Cantin
34136cf3d5
Added ban info and destroy to RestManager.cs
2011-09-05 04:11:10 -07:00
Lucas Nicodemus
dc6ef8e059
Added /lists/players API endpoint.
2011-09-05 04:31:31 -06:00
Lucas Nicodemus
06462af4aa
Test complete
2011-09-05 03:56:08 -06:00
Lucas Nicodemus
81e605872d
test
2011-09-05 03:55:38 -06:00
Lucas Nicodemus
a90c4e85a1
Added /users/update/{user} with params:
...
- password (should be sha512) (this should really be improved, but currently its all we've got)
- group
Refactored a lot of the return blocks to fit coding style.
2011-09-05 03:31:40 -06:00
Lucas Nicodemus
82be1eee1a
Added /users/{user}/info endpoint.
...
Added /users/{user}/destroy endpoint.
Really added endpoint.
2011-09-05 02:56:37 -06:00
Lucas Nicodemus
17683eaeaa
API now checks user credentials before granting tokens.
...
Added new permission - 'api' that allows the group access to using the API.
2011-09-05 02:12:36 -06:00
Lucas Nicodemus
839ce793c7
Examples no longer require tokens
2011-09-05 01:42:37 -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
60462dddfc
request parameter was removed
2011-09-05 02:46:22 -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
Lucas Nicodemus
319f369799
Added example for how all additional endpoints should respond in regards to success and failure.
...
Added example endpoint that demonstrates rest verbs.
2011-09-04 23:59:44 -06:00
high
7cfc219794
RestApi back to Rest, added separate RestManager field.
2011-09-05 01:17:54 -04:00
Lucas Nicodemus
d7012bd094
Reworked a lot of how REST works
2011-09-04 23:06:43 -06:00