wabbajack/Wabbajack.Networking.NexusApi/Endpoints.cs
Timothy Baldridge e41e5c262b
Switch WJ over to OAuth for Nexus logins (#2559)
* Switch WJ over to OAuth for Nexus logins

* Remove debug code

* Try and fix the build error
2024-05-25 09:38:31 -06:00

13 lines
608 B
C#

namespace Wabbajack.Networking.NexusApi;
public static class Endpoints
{
public const string Validate = "v1/users/validate.json";
public const string ModInfo = "v1/games/{0}/mods/{1}.json";
public const string ModFiles = "v1/games/{0}/mods/{1}/files.json";
public const string ModFile = "v1/games/{0}/mods/{1}/files/{2}.json";
public const string DownloadLink = "v1/games/{0}/mods/{1}/files/{2}/download_link.json";
public const string Updates = "v1/games/{0}/mods/updated.json?period={1}";
public const string OAuthValidate = "https://users.nexusmods.com/oauth/userinfo";
}