Skip to main content

Alta.Api.DataTransferModels

Types in the Alta.Api.DataTransferModels assembly: requests, responses and shared models of Alta's web API. 277 types, 4 with a hand-written page.

See the overview for what the columns mean and how this list is made.

Alta.Api.DataTransferModels.Constants​

TypeKindBasePublic membersDocumented in, or what it is
CustomClaimTypesstatic class13Names of the claims and policies found in Alta API JWT tokens.

Alta.Api.DataTransferModels.Converters​

TypeKindBasePublic membersDocumented in, or what it is
ForceDefaultConverterclassJsonConverter5A JSON converter that can neither read nor write, so Json.NET falls back to default handling for a property marked with it. Its methods all throw.
IPAddressJsonConverterclassJsonConverter3JSON converter that writes an IPAddress as its string and parses it back.
JwtSecurityTokenJsonConverterclassJsonConverter3JSON converter that stores a JwtSecurityToken as its encoded string.
JWTUtilitystatic class1Builds a JwtSecurityToken from a raw token string without checking its signature.
RegionEndpointJsonConverterclassJsonConverter3JSON converter that stores a Region as its short name.
SensitiveStringConverterclassJsonConverter3JSON converter for strings that masks secrets: any value whose JSON path contains password, token or nonce is written as *. Meant for logging.

Alta.Api.DataTransferModels.Enums​

TypeKindBasePublic membersDocumented in, or what it is
AssignableRolesenum1Account roles the Alta API lets you assign. Only PreAlphaPlayer.
GameServerStatusenum3Online state of a game server in the Alta API: forced offline, offline or online.
GameServerWebsocketResponseTypeenum3Kind of GameServerWebsocketResponse sent over the game server websocket: system message, subscription event or command result.
ImageTypeenum5Which slot a shop item image fills (primary, hover, carousel, detailed or gallery). Used by LowLevelApiClient.AddImageToItemAsync.
PermissionTypeenum8Flags for what a user may do with an Alta web API form: edit, respond, view responses or comments, comment, resolve and unresolve.
Regionenum2Which Alta platform region an account belongs to: Global or China.
ServerTypeenum2Alta server type: Normal or World.
ShopTransactionStatusenum11State of an Alta shop purchase, from started and processing to successful or refunded, with values for each kind of failure.

Alta.Api.DataTransferModels.Enums.Alta.WebApi.Models​

TypeKindBasePublic membersDocumented in, or what it is
FormQueryTypeenum11Kind of question in an Alta web API form, such as boolean, text, rating, choice, or a pick of an item, server or player.

Alta.Api.DataTransferModels.Errors​

TypeKindBasePublic membersDocumented in, or what it is
ApiErrorclass11Error body returned by the Alta web API: message, error code, request validation errors and optional context.
ErrorCodeenum60Error codes the Alta web API returns, covering shop, accounts, bans, groups, servers and login failures.
NotFoundApiErrorclassApiError1An ApiError preset for a missing object: message Not found, code ObjectNotFound.
ValidationErrorclass5One field-level validation error in an API error response.

Alta.Api.DataTransferModels.Exceptions​

TypeKindBasePublic membersDocumented in, or what it is
ApiErrorExceptionclassException4Exception that carries an ApiError and an HTTP status code (500 unless given).
AuthorizationExceptionclassException3Exception for a failed authorization in the API client.
ForbiddenExceptionclassException3Thrown when an API call returns 403 Forbidden.
HttpExceptionclassException4Thrown when an API call fails with an HTTP status other than 400 or 403. Carries the status and the response.
OfflineExceptionclassException1Thrown when an API method is called while the client is in offline mode. The message names the calling method.

Alta.Api.DataTransferModels.Extensions​

TypeKindBasePublic membersDocumented in, or what it is
EnumerableExtensionsstatic class6Small collection helpers used by the API models.
GuidExtensionsstatic class3Helpers for turning GUIDs into short strings.
HttpClientExtensionsstatic class7HttpClient helpers for the API client: JSON post, put, patch and delete, with debug logging of requests and responses.
HttpClientExtensions.JsonContentclassStringContent1HTTP string content holding an object serialized to UTF-8 JSON. Used by the JSON post, put, patch and delete helpers.
HttpContentExtensionsstatic class1Reads HTTP response content as JSON.
HttpResponseExtensionMethodsstatic class4Turns API responses into results or exceptions, and logs them.
QueryExtensionsstatic class1Builds URL query strings.
WebRequestExtensionsstatic class3Turns request bodies and response headers into readable strings for the API client's logs, hiding secrets.

Alta.Api.DataTransferModels.Helpers​

TypeKindBasePublic membersDocumented in, or what it is
ShopHelperstatic class3Helpers for shop SKUs. Item sets are told apart from single items by a set_ prefix on the SKU.

Alta.Api.DataTransferModels.Interfaces​

TypeKindBasePublic membersDocumented in, or what it is
IIdentifiableinterface1An API model with an integer database id.

Alta.Api.DataTransferModels.Models.Agones​

TypeKindBasePublic membersDocumented in, or what it is
AgonesAllocationFailureTypeenum5Why allocating an Agones game server failed: no access to the cluster, web request failed, could not allocate, or server locked.
AgonesGameServerclassAgonesObject3An Agones GameServer Kubernetes object, as sent to or read from the Agones API.
AgonesObjectabstract class6Base for Agones (Kubernetes game server manager) objects as the Alta API reads and writes them in JSON.
AgonesServerListclass1A list of Agones game servers as returned by Kubernetes.
AllocationResultclass4Result of asking Agones (the game server hosting system) for a server: whether one was allocated and how to connect.
DictionaryExtensionstatic class1Dictionary lookup helper used with the Agones models.
GameServerAllocationclassAgonesObject2An Agones GameServerAllocation request, which asks Agones for a ready game server.
GameServerAllocationSpecclass4Spec of an Agones game server allocation request: which servers may be picked and metadata to set on the chosen one.
GameServerAllocationSpec.RequiredSpecclass1Label selector in an Agones game server allocation request.
GameServerSpecclass2Spec of an Agones game server: its ports and pod template.
GameServerSpec.GameServerTemplateclass1Pod template inside an Agones game server spec.
GameServerSpec.GameServerTemplate.GameServerTemplateSpecclass1Pod spec inside an Agones game server template.
GameServerSpec.GameServerTemplate.GameServerTemplateSpec.ContainerConfigclass2One container in an Agones game server pod.
Metadataclass7Kubernetes object metadata as used in Agones requests and responses.
PortConfigclass2A named port in an Agones game server's status.
SpecPortConfigclass4A port in an Agones game server spec.
Statusclass5Status of an Agones game server: its state, address and ports.
Status.GameServerStateenum11Lifecycle state of an Agones game server, from Creating through Ready and Allocated to Shutdown or Unhealthy.

Alta.Api.DataTransferModels.Models.Requests​

TypeKindBasePublic membersDocumented in, or what it is
AccountLinkDataclass3Platform account details sent when registering an Oculus or Pico user, so the new Alta account is linked to it.
AccountRequestBaseclass3Web API request body for Oculus account linking: the platform account ID, its proof token and the region. Built by OculusClient.
AllocationRequestclass1Body of the Alta web API call that allocates a server for migration (AllocateServerForMigration).
BanRequestclass7Body of an Alta web API request to ban a user.
BooleanRequestclass1Request body holding a single true or false, sent as value.
BufferChangeRequestclass3Request body for LowLevelApiClient.RequestBufferChange, which asked Alta's API to change the number of spare servers kept for a fleet and region.
ChangeBalanceRequestclass1Request body for changing a balance by an amount, probably a user's virtual currency.
ChangePasswordRequestclass4Body of an Alta web API request to change the account password. Sends hashes, not plain passwords.
ChangeUsernameRequestclass4Body of an Alta web API request to change the account's username, confirmed with the password hash.
ConsoleCommandRequestclass1Request body carrying one console command to run, probably on a game server.
CreateGroupAndServerRequestclassQuickCreateRequest4Body for the API's groups quick-create call, which makes a group and its server together. The launch region comes from QuickCreateRequest.
CreateGroupRequestclass3Request body for creating a group.
CreateGroupServerRequestclass3Request body for creating a game server for a group.
CreatePresetRequestclass3Body of the Alta web API call that saves a cosmetic preset (CreateCosmeticPreset).
CreateReportRequestclass3Body of an Alta web API request to report a player.
DeleteItemRequestclass1Request body naming a shop item to delete.
EditGroupRequestclass5Body for updating a group's details on the Alta web API.
EditGroupRoleRequestclass4Request body for changing a group role.
EmailAndUsernameRequestclass2Request body holding an email and a username.
EmailValidationRequestclass1Body of an Alta web API request to check an email address.
FutureUserActionCreateRequestclass4Body of the Alta web API call that queues an action to apply to a user later (CreateFutureUserActions).
FutureUserActionTypeenum2Kind of future user action stored for an outside user: add a friend or invite to a group.
GameServerCreateRequestclass9Request body for creating a game server through Alta's web API.
GameServerWebsocketRequeststruct2A command sent to a game server over its WebSocket, with an id to match the reply to.
GenerateSignUpCodeRequestclass5Body of an Alta web API request to generate a sign-up code for someone.
GetShardsTokenRequestclass2Request body for getting a payment token to buy a shards package.
GetSubscriptionTokenRequestclass1Request body for getting a payment token for a subscription plan.
GiveRoleRequestclass1Body of an Alta web API request to give a user a role.
GroupPermissionsCheckRequestclass1Body for asking the API whether a user has permissions in a group or on a server.
GroupRoleRequestclass2Request body for a group role with a name and permissions.
IdentityTokenRequestclass1Body of the Alta web API call that generates an identity token (GenerateIdentityTokenAsync).
IdentityTokenValidationRequestclass3Body of an Alta web API request to check an identity token.
InstallationEventRequestclass5Request body reporting an install or update event to the API, probably from the launcher.
ItemDeleteRequestclassItemPurchaseRequest1An ItemPurchaseRequest with a reason, used to remove an item.
ItemPurchaseRequestclassPurchaseRequest1Request body for buying a shop item with a payment method.
ItemSetRequestclass3Request body for creating or updating a shop item set (a bundle) through Alta's web API.
JoinServerRequestclass5Body for joining a server or connecting the console through the Alta web API.
LaunchInstanceRequestclass5Request body for launching a game server instance.
LaunchLocalServerRequestclass8Body of the Alta web API call a locally run server makes to start a session (StartLocalServer), with its addresses and ports.
LinkAccountRequestclassAccountRequestBase2Body of an Alta web API request to link an outside account to an Alta user.
LoginRequestclassLoginRequestBase3Body of an Alta web API login with a username, password hash and device id.
LoginRequestBaseclassRefreshRequest3Base for login request bodies: a password hash plus the device id and platform target from RefreshRequest.
LoginViaLinkedAccountRequestclassAccountRequestBase1Body for logging in with a linked platform account (used for Oculus and Pico).
LoginWithEmailRequestclassLoginRequestBase3Body of an Alta web API login with an email, password hash and device id.
LogoutRequestclass3Request body for logging out, which hands back the refresh token.
MatchMakingRequirementsclass2Body of the Alta web API call that picks the best server to join (GetBestServer).
MigrateWebsocketRequestclass1Request body carrying a token for moving a WebSocket session, probably to another connection.
ModifyReportRequestclass1Body of an Alta web API request to change a report's status.
OculusFriendsListclass1Body of an Alta web API request that sends the user's Oculus friends.
PurchaseCouponRequestclass2Request body for buying coupons for a currency package.
PurchaseItemTokenRequestclass2Alta web API request body for buying a shop item.
PurchaseRequestclass1Base request body for a purchase: which saved payment method to charge.
QuickCreateRequestclass1Request body for quickly creating a server in a region.
RecentPlayerInteractionRequestclass2One recent player interaction sent to the Alta web API. Queued through ApiBatchRequestService and sent in batches.
RedeemCouponRequestclass1Request body for redeeming a coupon code.
RefreshRequestclass2Request body for refreshing login tokens, and the base of the login requests.
RegisterRequestclassEmailAndUsernameRequest, IRequest<UserInfo>, IBaseRequest4Body of an Alta web API request to create an account, with optional Oculus or Pico links.
RequestPasswordResetRequestclass3Body of an Alta web API request to send a password reset email.
RequestShopTokenRequestclass0Empty body of the Alta web API call that gets a shop token (GetShopTokenAsync).
ResetPasswordRequestclass2Body of an Alta web API request that sets a new password with a reset token.
SearchByUsernameRequestclass1Body of an Alta web API request to find users by username.
SendMessageRequestclass2Request body for sending a message to a list of users.
ServerSaveFileRequestclass1Request body asking for a server's save files by path; the matching answer is probably a ServerSaveFileResponse.
ServerStatusRequestclass1Request body for setting a game server's status.
SetGroupPermissionsRequestclass1Request body for setting group permissions with the older Member, Moderator and Admin flags.
SetGroupPermissionsRequest.OldGroupPermissionenum3Old flag-style group permission levels (member, moderator, admin), still used by GroupMemberInfo.Permissions.
SetServersOnlinePlayersRequestclass2Body of the Alta web API call a server makes to report who is online (SetOnlinePlayers).
ShopItemsRequestclass1Request body listing shop item ids.
StatProgressclass3Progress on one achievement action stat, read from and sent to the web API by the achievement client.
StopInstanceRequestclass1Request body for stopping a game server instance.
UnlinkAccountRequestclass1Body of an Alta web API request to unlink an outside account.
UpdateAchievementRequestclass2Body for updating one achievement for a user on the Alta web API.
UpdateActionStatRequestclass3Alta web API request body for updating a user's action stats.
UpdateUserInfoRequestclassEmailAndUsernameRequest0Request body for changing a user's email and username. Adds nothing to EmailAndUsernameRequest.
UsernameValidationRequestclass1Body of an Alta web API request to check a username.
UserTypeenum3Which kind of account a user id belongs to: Alta, Oculus or Discord.
ValidateItemOwnershipRequestclass3Body of an Alta web API request to check whether a user owns some shop items.
ValidateUsersJoinRequestclass4Request body for checking that a player may join a game server, probably sent by the server when someone connects.
VerificationEmailRequestclass1Body for sending a user a verification email.
VerifyUserRequestclass3Body of an Alta web API request to verify an account with a token.
VirtualCurrencyPurchaseRequestclassPurchaseRequest1Request body for buying a virtual currency package with a payment method.
VoiceChatTokenRequestclass2Body of an Alta web API request for a voice chat token, to log in or to join a server's channel.
VoiceChatTokenRequestTypeenum2What a voice chat token is for: Login or JoinChannel.
WebhookPayloadclass1Body of a webhook call carrying one message.
WebsocketMessageBodyclass5A message sent to the Alta API over its WebSocket: an HTTP-style request with method, path and JSON content.
WebsocketResponseBodyclass5A message received from the Alta API over its WebSocket, either a reply or a subscription event.

Alta.Api.DataTransferModels.Models.Requests.DTOs.Requests​

TypeKindBasePublic membersDocumented in, or what it is
FriendRequestResponseclass1Request body answering a friend request.

Alta.Api.DataTransferModels.Models.Responses​

TypeKindBasePublic membersDocumented in, or what it is
AltaApiResponse<T>class3A list response from the Alta API: the items plus query metadata.
BanInfoclass10API model for a ban on a user, IP address or device, with its reason, scope and end time.
BooleanResponseclass2A web API response that wraps a single true or false value.
ClaimOculusItemsResponseclass2Alta web API reply to claiming all of a user's Oculus purchases (ConsumeAllOculusPurchases).
Commentclass7A comment from the Alta web API, with its author and whether it is hidden or posted by the system.
Conditionclass3A condition from the Alta web API on a query (probably a form question), with allowed and blocked answers.
ConnectionInfoclass9Server settings
CouponRedeemedResponseclass3The API's answer after a coupon is redeemed: what it gave.
CreateCheckResponseclass3Alta web API reply to CanCreateGroups: how many more groups the user may create on each platform.
DiscordSupporterRoleVerificationResultsclass3Result of checking supporters against the Discord supporter role: who gained it and who lost it.
FleetInfoclass4Info about a fleet of game servers.
Formclass10A form served by the Alta API, with its pages of questions and the dates it's open.
FormResponseclassFormResponseSummary4A full submitted answer to a Form: the answers per page plus staff comments.
FormResponseSummaryclass6Short info about a submitted form response, without the answers.
FriendRequestedTypeenum4Outcome of a friend request: befriended, request sent, already friends or already requested.
FriendshipInfoclassUserInfo3A user returned by the Alta web API's friends endpoints, with when the friendship started and its state.
FriendshipTypeenum4State of a friendship between two accounts in the Alta API: none, waiting for reply, requested or accepted.
GameHomeConfigurationclass1API response describing what the game's home screen shows.
GameServerInfoclassGameServerInfoMinimal30Server settings
GameServerInfoMinimalclassINamedEntity2A game server's id and name only, as Alta's web API returned in short lists.
GameServerWebsocketResponseclass6A message from a game server over its WebSocket: a system message, a subscription event or a command result. Time-stamped (UTC) when made.
GiftResultclass3Alta API response to gifting a shop item to someone.
GiftResultTypeenum3Result of giving a shop item: Failed, AlreadyOwned or Success.
GiftRewardCommentclass1A body holding one comment, used when giving a reward.
GroupInfoclass8API model with the basic public info for a group (server group): name, description, type, member count and tags.
GroupInfoDetailedclassGroupInfo3A group's info from the web API with its servers and roles included.
GroupMemberInfoclass10API response describing one member of a group (server group), with their role and permissions.
GroupMemberTypeenum6A user's state in a group: banned, requested to join, invited, accepted (a member), left or kicked.
GroupPermissionsenum12Permissions a role can grant in an Alta group (server community): inviting, banning, kicking, managing servers, console access, roles, reports and saves.
GroupRoleIdentifierenum4Built-in group role ids: Default, Member, Moderator and Owner.
GroupRoleInfoclass9A role in a group: id, name, colour, permissions and allowed console commands. Constants give the fixed ids of the built-in roles.
GroupServerInfoclass4Web API model for one game server as listed inside a group's details (GroupInfoDetailed.Servers).
GroupTypeenum3Group join type: Open, Public or Private. Group discovery lists the public and open ones.
GroupTypeExtensionsstatic class1Maps a group's type to how players join its servers.
HomeElementclass8Web API model for one element of the game's home screen layout (GameHomeConfiguration.Elements).
HomeElementPageclass3Web API model for one page inside a HomeElement on the home screen.
IConvertableModel<TModel>interface1A response model that can turn itself into another model type.
INamedEntityinterface2Anything from the web API with a numeric ID and a name, such as UserInfo and GameServerInfoMinimal.
InvitedGroupInfoclassGroupInfoDetailed1Group details from the Alta web API for a group the user was invited to.
JoinedGroupInfoclass2Web API model for a group the user has joined, paired with their membership. Returned by LowLevelApiClient.GetJoinedGroups.
LauncherGameInfoFullclassLauncherGameInfoShort9Full details of a game for Alta's launcher, from LowLevelApiClient.GetLauncherGame.
LauncherGameInfoShortclass6Short details of a game for the list in Alta's launcher. LauncherGameInfoFull extends it.
LinkedAccountInfoclass4An external account linked to a user, returned by the web API's Discord account endpoints.
MembershipStatusResponseclass2Whether a user has a supporter membership, from LowLevelApiClient.GetMembershipStatus.
MigrationDetailsResponseclass3A server's latest save storage (EFS) migration, from LowLevelApiClient.GetLatestEfsMigrationForServer.
NewCommentclass2Body for adding a comment, which may be hidden.
OculusFriendInfoclassFriendshipInfo1A friendship returned for an Oculus friends list, from LowLevelApiClient.GetOculusFriendships.
Optionclass4One choice in a web API form question (Query.Options).
Pageclass3One page of a web API form (Form.Pages): its questions and the rules for which page comes next.
PageResponseclass2A user's answers for one form page, part of a FormResponse.
PatchNotesclass2Web API model for the patch notes of a game version, part of LauncherGameInfoFull.
PersonalUserInfoResponseclassPublicUserInfoResponse3A user's public info plus their private name and email, from the Alta web API.
PlayerAchievementResponseclass1Web API model listing the achievements a player has.
PlayerActionStatResponseclass1Web API model listing a player's action stats.
PlayerReportInfoclass9A player report as stored by the web API: who reported whom, on which server, its type and what moderators did.
PublicUserInfoResponseclassUserInfo2Public user info plus statistics and supporter status.
PurchaseResultclass4Alta API response to buying a shop item.
PurchaseResultTypeenum8Outcome of a shop purchase, such as success, not enough shards, already owned or premium only.
Queryclass9One question on a web API form page (Page.Queries).
QueryMetaclass4Paging info for a list response from the API.
QueryResponseclass2A user's answer to one form question, part of a PageResponse.
QuickCreateResponseclass2Response from the groups quick-create call: the new group and its server.
RecentPlayerInteractionInfoclass4API response for one recent interaction with another player: who, what kind, when and on which server.
RecentPlayerInteractionTypeenum3How you recently met another player, in the Alta API: combat, nearby or on the same server.
RegionInfoclass4A server region from the Alta API.
ReportStatusenum3State of a player report: awaiting action, ignored, or acted on.
ReportTypeenum3What a player report is for: griefing, harassment, or cheating and exploits.
ResolveCommentclass2Body for adding a comment that also marks something resolved or not.
ServerJoinFailResultenum14Why the API refused a server join, such as not allowed, not online, banned, wrong game version or player limit reached.
ServerJoinResponseclass4Web API answer to whether a user may join a server, with ban details when they may not. The offline security client always returns allowed.
ServerJoinResultclass9Web API reply to a request to join a game server: whether it's allowed, why not, and the connection details and token if so.
ServerJoinTypeenum7Who may join a server: group members, public, open group, supporters only, world instance or public group. PrivateGroup is the same value as GroupMember.
ServerOwnerTypeenum4Who owns a server: an individual, a group or the world. GroupAdmins is the same value as Group.
ServerSaveFileResponseclass1The API's answer to a ServerSaveFileRequest: download links for the files.
Settingsclass2Settings and files: Where the game keeps its settings and files, and the helpers it uses to read and write them.
ShopAccountInfoclass4Web API reply with a user's shop balance: shards, wallet money and supporter subscription status.
ShopAccountInfo.SubscriptionStatusclass4Supporter subscription state inside ShopAccountInfo.MemberStatus.
ShopItemConfigurationclass6One entry of Alta's shop configuration: an item's discount, shard price or promotion.
ShopPageConfigurationclass5Layout data for one page of the in-game shop as sent by the web API: its subtitle, item slots and graphics.
ShopPageConfigurationWithBannerclassShopPageConfiguration2A shop page layout with a banner image taken from the game home configuration.
ShopTokenResponseclass4Web API model for a shop purchase token from the Xsolla payment provider.
ShopTransactionStatusResponseclass1The status of a shop transaction.
ShutdownReasonclass6Why a game server shut down, as a message and whether the shutdown was expected.
SimpleTokenResultResponseclass2Web API model that wraps a single JWT.
SingleTokenResponseclass1An API response holding a single JWT token.
SocialMediaInfoclass2A social media link shown in the launcher, part of LauncherGameInfoFull.SocialMedia.
StartServerSessionResponseclass1API response when a server session is started.
StoreRotationGraphicConfigclass3One graphic in the shop page's rotation (ShopPageConfiguration.Graphics).
SubscriptionRefreshResultclass3Result of checking for supporter subscription rewards, from CheckForSubscriptionRewardsAsync. The offline shop returns an empty one.
SubscriptionRefreshResult.Rewardclass2One reward granted when a supporter subscription is refreshed.
TokenResultResponseclass4Web API model holding the three JWTs a login returns.
Transitionsclass2A rule on a form Page that says which page comes next when its conditions are met.
UserInfoclassINamedEntity7Player: Two are equal when their ids are equal, whatever the names.
UserInfoWithPermissionsclassUserInfo5A user plus the policies (permissions) and verified flag read from their Alta JWT.
UserPresetDataInfoclass5A saved cosmetics preset from the web API, packed as an array of uint values.
UserStatisticsclass2Account stats from the Alta API.
ValidateItemOwnershipResponseclass1Web API answer to ValidateItemsOwnershipAsync, which checks that a user owns a list of shop items.
ValidationResultModelclass4List of field validation errors, attached to an ApiError for a bad request.
VersionMarkerclass2A named game version shown in the launcher, part of LauncherGameInfoFull.VersionMarkers.

Alta.Api.DataTransferModels.Models.Responses.DTOs.Responses​

TypeKindBasePublic membersDocumented in, or what it is
FriendRequestResultclass3The web API's reply to a friend request: what happened, plus the friendship records each way.
InstallationEventInfoclass8A stored install or update event as the API returns it; the read side of InstallationEventRequest.

Alta.Api.DataTransferModels.Models.Shared​

TypeKindBasePublic membersDocumented in, or what it is
AnalyticsEventDataclass9One analytics event as sent to the Alta web API.
BanMethodenum3Flags for what a ban applies to: the user id, the IP address, the device id or any mix. Passed to SecurityApiClient.BanUserAsync.
BanTypeenum3Scope of a ban in the web API: one server, global, or public servers (probably).
ChargeInfoclass2How much a subscription plan charges and how often.
ClientTokenConfigclass3OAuth client credentials sent to log in as a client rather than a user. HighLevelApiClient.LoginViaOauth builds one.
Durationclass3A length of time as a count and a unit (day, month or year), used for subscription trial and charge periods.
DurationTypeenum3Unit of a Duration: day, month or year.
GameVersionclassIEquatable<GameVersion>15A game build version: stream plus title, season, major, minor and changeset numbers.
InstanceInfoclass6A running server instance in Alta's hosting, as listed by IInstancesClient.
ItemCategoryenum25Category of a cosmetic shop item, from body types and skin colours to clothing, accessories, outfits and bundles. Also set on each customization category.
ItemSetTypeenum2Kind of shop item set: an outfit or a bundle. Used when shop editors create or update sets.
OwnedShopItemclassIIdentifiable5A shop item a user owns, as returned by the web API.
PriceTypeenum2Currency of a ShopPrice: US dollars or shards.
Regionclass12A server region, with the fixed list of known regions. Note the constructor arguments are swapped in the presets: FriendlyName holds the code (USEast1) and ShortName holds the long name.
ShopItemclassIIdentifiable9An item in Alta's shop, such as a cosmetic or a set.
ShopItemDetailedclassShopItem4API model for a shop item with its full details: description, category, images and Xsolla id.
ShopItemDetailedForUserclassShopItemDetailed2A shop item with details for one user: whether they own it and the price they would pay.
ShopItemIdentifierclass3Identifies a shop item by its numeric id and SKU.
ShopItemImageclass6An image for a shop item, with optional alternative formats.
ShopItemModificationRequestclassIIdentifiable14A shop item as staff create or edit it through the API.
ShopItemSetclassIIdentifiable4API model for a set of shop items sold together under one SKU.
ShopItemSetModificationRequestclassShopItemModificationRequest1A shop item set as staff create or edit it: a shop item plus the items in the set.
ShopPriceclass3A price in the shop: an amount and its currency. Defaults to 1 shard.
SubscriptionPlanInfoclass7Web API model for a supporter subscription plan.
TownshipItemCategoryclassIIdentifiable6A shop item category, which can sit under a parent category.
TownshipItemCategoryModificationRequestclassTownshipItemCategory1A shop category as staff create or edit it. Same as TownshipItemCategory but the parent is sent as an id.
UserRolesclass3Roles read from a user's identity token by UserRolesUtility.GetRolesFromIdentityToken.
UserSubscriptionclass10A user's subscription (supporter membership) and its billing dates.
UserSubscriptionInfoStatusenum3State of a user's subscription: active, cancelled or non-renewing.

Alta.Api.DataTransferModels.Settings​

TypeKindBasePublic membersDocumented in, or what it is
GameServerSettingsstatic class8Constants about game servers shared with the Alta API: ping timing, default port and, probably, how servers are ranked for players.
NamingSettingsstatic class7Length and character limits for names, emails, password hashes and sign-up codes in the Alta API.

Alta.Api.DataTransferModels.Utility​

TypeKindBasePublic membersDocumented in, or what it is
Devicestatic class2Static info about this device that the API client sends with logins and joins. ApiAccess fills it at startup.
JsonUtilitystatic class3Shared Json.NET settings for the Alta API: its converters, ISO UTC dates and nulls left out.
JwtTokenHandlerstatic class1Turns a JwtSecurityToken back into its encoded string.
RetryHandlerclassHttpClientHandler2HTTP handler for the API client that adds a timeout per attempt and retries failed requests with a doubling delay (2, 4, ... seconds).
UserRolesUtilitystatic class2Reads a user's roles from the policy claims in their identity token.