aboutsummaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'pkg')
-rw-r--r--pkg/api/api0/api.go2
-rw-r--r--pkg/api/api0/clientserver.go32
-rw-r--r--pkg/api/api0/playerinfo.go12
-rw-r--r--pkg/api/api0/web.go8
4 files changed, 54 insertions, 0 deletions
diff --git a/pkg/api/api0/api.go b/pkg/api/api0/api.go
new file mode 100644
index 0000000..cf5a37e
--- /dev/null
+++ b/pkg/api/api0/api.go
@@ -0,0 +1,2 @@
+// Package api0 implements the original master server API.
+package api0
diff --git a/pkg/api/api0/clientserver.go b/pkg/api/api0/clientserver.go
new file mode 100644
index 0000000..858e8aa
--- /dev/null
+++ b/pkg/api/api0/clientserver.go
@@ -0,0 +1,32 @@
+package api0
+
+/*
+ /accounts/write_persistence:
+ POST:
+
+ /accounts/lookup_uid:
+ GET:
+ /accounts/get_username:
+ GET:
+
+ /client/mainmenupromos:
+ GET:
+
+ /client/origin_auth:
+ GET:
+ /client/auth_with_server:
+ POST:
+ /client/auth_with_self:
+ POST:
+
+ /client/servers:
+ POST:
+ /server/add_server:
+ POST:
+ /server/heartbeat:
+ POST:
+ /server/update_values:
+ POST:
+ /server/remove_server:
+ DELETE:
+*/
diff --git a/pkg/api/api0/playerinfo.go b/pkg/api/api0/playerinfo.go
new file mode 100644
index 0000000..be62ce3
--- /dev/null
+++ b/pkg/api/api0/playerinfo.go
@@ -0,0 +1,12 @@
+package api0
+
+/*
+ /player/pdata:
+ GET:
+ /player/info:
+ GET:
+ /player/stats:
+ GET:
+ /player/loadout:
+ GET:
+*/
diff --git a/pkg/api/api0/web.go b/pkg/api/api0/web.go
new file mode 100644
index 0000000..477f1ab
--- /dev/null
+++ b/pkg/api/api0/web.go
@@ -0,0 +1,8 @@
+package api0
+
+/*
+ /github: https://github.com/R2Northstar
+ /discord: https://discord.gg/northstar
+ /wiki: https://r2northstar.gitbook.io/
+ /thunderstore: https://northstar.thunderstore.io
+*/