Class SteamPartnerEndpoints
The Steamworks partner-site endpoints the Steam definition-sync connector talks to.
Inherited Members
Namespace: Serenity.Steam.Infrastructure
Assembly: Serenity.Steam.Infrastructure.dll
Syntax
public static class SteamPartnerEndpoints
Remarks
These are unofficial, internal endpoints of the partner site's own achievement editor — not the published Steamworks Web API. Valve neither documents nor versions them, and they can change or disappear without notice. This file is deliberately the single place such a change has to be edited: every other Steam sync type reaches an endpoint through here, never by building a URL of its own.
Fields
BaseUrl
The partner site's base URL.
Declaration
public const string BaseUrl = "https://partner.steamgames.com"
Field Value
| Type | Description |
|---|---|
| string |
SetTokenUrl
Where the partner site turns a signed-in token set into its own session cookies.
Declaration
public const string SetTokenUrl = "https://partner.steamgames.com/login/settoken"
Field Value
| Type | Description |
|---|---|
| string |
SignInRedirectUrl
The partner site's root, which the sign-in token exchange names as the page to land on.
Declaration
public const string SignInRedirectUrl = "https://partner.steamgames.com/"
Field Value
| Type | Description |
|---|---|
| string |
UploadAchievementImageUrl
Uploads an achievement's unlocked or locked icon image.
Declaration
public const string UploadAchievementImageUrl = "https://partner.steamgames.com/images/uploadachievement"
Field Value
| Type | Description |
|---|---|
| string |
Methods
AchievementsEditorUrl(string)
The partner site's own achievement editor page for an app — where a manual Publish still has to
happen after a push, and the page a push reads once before its first creation: it renders the
highest stat and bit ids in use (max_statid_used, max_bitid_used) that
newachievement needs. Confirmed against a real app.
Declaration
public static string AchievementsEditorUrl(string appId)
Parameters
| Type | Name | Description |
|---|---|---|
| string | appId | The Steam app id to open the achievement editor for. |
Returns
| Type | Description |
|---|---|
| string |
FetchAchievementsUrl(string)
The full editing state of every achievement for an app, including unpublished ones.
Declaration
public static string FetchAchievementsUrl(string appId)
Parameters
| Type | Name | Description |
|---|---|---|
| string | appId | The Steam app id to fetch achievements for. |
Returns
| Type | Description |
|---|---|
| string |
NewAchievementUrl(string)
Creates a new achievement stat/bit pair for an app.
Declaration
public static string NewAchievementUrl(string appId)
Parameters
| Type | Name | Description |
|---|---|---|
| string | appId | The Steam app id to create the achievement under. |
Returns
| Type | Description |
|---|---|
| string |
SaveAchievementUrl(string)
Saves an achievement's metadata (name, description, hidden flag, and so on) for an app.
Declaration
public static string SaveAchievementUrl(string appId)
Parameters
| Type | Name | Description |
|---|---|---|
| string | appId | The Steam app id the achievement belongs to. |
Returns
| Type | Description |
|---|---|
| string |