Warning: These endpoints are still in beta and have not been extensively tested. Use at your own risk!
GET
/api/profile/me
Get the current user's profile information
Open Endpoint
GET
/api/games/me
Get the current user's games list
Open Endpoint
POST
/api/achievements/unlock
Unlock achievements of title-based game by ID.
{""titleId"": ""xxxxx"",""achievementId"": ""xxx""}
POST
/api/achievements/unlockall
⚠️ BEWARE: Unlocks ALL achievements of a game ⚠️
";
var buffer = Encoding.UTF8.GetBytes(htmlContent);
response.ContentLength64 = buffer.Length;
response.ContentType = "text/html";
await response.OutputStream.WriteAsync(buffer);
response.Close();
}
}
================================================
FILE: XAU/Services/HttpServer/GameRoutes.cs
================================================
using Newtonsoft.Json;
using System.Net;
using System.Text;
public static class GameRoutes
{
public static Dictionary