diff options
author | pg9182 <96569817+pg9182@users.noreply.github.com> | 2022-10-02 13:52:28 -0400 |
---|---|---|
committer | pg9182 <96569817+pg9182@users.noreply.github.com> | 2022-10-02 13:52:28 -0400 |
commit | 48d62518365133d7a4fef855a47e9834acb40afe (patch) | |
tree | 58eee0e9dba009c53c1700dae0deefdcf1b86bb3 /pkg | |
parent | 62f7f79513ea453b5f0fa01c1e9518619f6d6194 (diff) | |
download | Atlas-48d62518365133d7a4fef855a47e9834acb40afe.tar.gz Atlas-48d62518365133d7a4fef855a47e9834acb40afe.zip |
pkg/api/api0: Initial stub
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/api/api0/api.go | 2 | ||||
-rw-r--r-- | pkg/api/api0/clientserver.go | 32 | ||||
-rw-r--r-- | pkg/api/api0/playerinfo.go | 12 | ||||
-rw-r--r-- | pkg/api/api0/web.go | 8 |
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 +*/ |