aboutsummaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorpg9182 <96569817+pg9182@users.noreply.github.com>2022-10-02 13:52:28 -0400
committerpg9182 <96569817+pg9182@users.noreply.github.com>2022-10-02 13:52:28 -0400
commit48d62518365133d7a4fef855a47e9834acb40afe (patch)
tree58eee0e9dba009c53c1700dae0deefdcf1b86bb3 /pkg
parent62f7f79513ea453b5f0fa01c1e9518619f6d6194 (diff)
downloadAtlas-48d62518365133d7a4fef855a47e9834acb40afe.tar.gz
Atlas-48d62518365133d7a4fef855a47e9834acb40afe.zip
pkg/api/api0: Initial stub
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
+*/