package nakama.api

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message Account

api.proto:34

A user with additional account details. Always the current user.

message AccountApple

api.proto:60

Send a Apple Sign In token to the server. Used with authenticate/link/unlink.

Used in: AuthenticateAppleRequest

message AccountCustom

api.proto:68

Send a custom ID to the server. Used with authenticate/link/unlink.

Used in: AuthenticateCustomRequest

message AccountDevice

api.proto:76

Send a device to the server. Used with authenticate/link/unlink and user.

Used in: Account, AuthenticateDeviceRequest

message AccountEmail

api.proto:84

Send an email with password to the server. Used with authenticate/link/unlink.

Used in: AuthenticateEmailRequest

message AccountFacebook

api.proto:94

Send a Facebook token to the server. Used with authenticate/link/unlink.

Used in: AuthenticateFacebookRequest, ImportFacebookFriendsRequest, LinkFacebookRequest

message AccountFacebookInstantGame

api.proto:102

Send a Facebook Instant Game token to the server. Used with authenticate/link/unlink.

Used in: AuthenticateFacebookInstantGameRequest

message AccountGameCenter

api.proto:110

Send Apple's Game Center account credentials to the server. Used with authenticate/link/unlink.

https://developer.apple.com/documentation/gamekit/gklocalplayer/1515407-generateidentityverificationsign

Used in: AuthenticateGameCenterRequest

message AccountGoogle

api.proto:130

Send a Google token to the server. Used with authenticate/link/unlink.

Used in: AuthenticateGoogleRequest

message AccountRefresh

api.proto:52

Obtain a new authentication token using a refresh token.

message AccountSteam

api.proto:138

Send a Steam token to the server. Used with authenticate/link/unlink.

Used in: AuthenticateSteamRequest, ImportSteamFriendsRequest, LinkSteamRequest

message AddFriendsRequest

api.proto:146

Add one or more friends to the current user.

message AddGroupUsersRequest

api.proto:156

Add users to a group.

message AuthenticateAppleRequest

api.proto:180

Authenticate against the server with Apple Sign In.

message AuthenticateCustomRequest

api.proto:190

Authenticate against the server with a custom ID.

message AuthenticateDeviceRequest

api.proto:200

Authenticate against the server with a device ID.

message AuthenticateEmailRequest

api.proto:210

Authenticate against the server with email+password.

message AuthenticateFacebookInstantGameRequest

api.proto:232

Authenticate against the server with Facebook Instant Game token.

message AuthenticateFacebookRequest

api.proto:220

Authenticate against the server with Facebook.

message AuthenticateGameCenterRequest

api.proto:242

Authenticate against the server with Apple's Game Center.

message AuthenticateGoogleRequest

api.proto:252

Authenticate against the server with Google.

message AuthenticateSteamRequest

api.proto:262

Authenticate against the server with Steam.

message BanGroupUsersRequest

api.proto:274

Ban users from a group.

message BlockFriendsRequest

api.proto:282

Block one or more friends for the current user.

message ChannelMessage

api.proto:290

A message sent on a channel.

Used in: ChannelMessageList, realtime.Envelope

message ChannelMessageList

api.proto:320

A list of channel messages, usually a result of a list operation.

message CreateGroupRequest

api.proto:332

Create a group with the current user as owner.

message DeleteFriendsRequest

api.proto:348

Delete one or more friends for the current user.

message DeleteGroupRequest

api.proto:356

Delete a group the user has access to.

message DeleteLeaderboardRecordRequest

api.proto:362

Delete a leaderboard record.

message DeleteNotificationsRequest

api.proto:368

Delete one or more notifications for the current user.

message DeleteStorageObjectId

api.proto:380

Storage objects to delete.

Used in: DeleteStorageObjectsRequest

message DeleteStorageObjectsRequest

api.proto:390

Batch delete storage objects.

message DeleteTournamentRecordRequest

api.proto:374

Delete a leaderboard record.

message DemoteGroupUsersRequest

api.proto:917

Demote a set of users in a group to the next role down.

message Event

api.proto:396

Represents an event to be passed through the server to registered event handlers.

message Friend

api.proto:408

A friend of a user.

Used in: FriendList

enum Friend.State

api.proto:410

The friendship status.

message FriendList

api.proto:432

A collection of zero or more friends of the user.

message FriendsOfFriendsList

api.proto:440

A List of friends of friends

message FriendsOfFriendsList.FriendOfFriend

api.proto:442

A friend of a friend.

Used in: FriendsOfFriendsList

message GetSubscriptionRequest

api.proto:465

Fetch a subscription by product id.

message GetUsersRequest

api.proto:455

Fetch a batch of zero or more users from the server.

message Group

api.proto:471

A group in the server.

Used in: GroupList, UserGroupList.UserGroup

message GroupList

api.proto:499

One or more groups returned from a listing operation.

message GroupUserList

api.proto:507

A list of users belonging to a group, along with their role.

message GroupUserList.GroupUser

api.proto:509

A single user-role pair.

Used in: GroupUserList

enum GroupUserList.GroupUser.State

api.proto:511

The group role status.

message ImportFacebookFriendsRequest

api.proto:535

Import Facebook friends into the current user's account.

message ImportSteamFriendsRequest

api.proto:543

Import Facebook friends into the current user's account.

message JoinGroupRequest

api.proto:551

Immediately join an open group, or request to join a closed one.

message JoinTournamentRequest

api.proto:557

The request to join a tournament.

message KickGroupUsersRequest

api.proto:563

Kick a set of users from a group.

message Leaderboard

api.proto:571

A leaderboard on the server.

Used in: LeaderboardList

message LeaderboardList

api.proto:591

A list of leaderboards

message LeaderboardRecord

api.proto:599

Represents a complete leaderboard record with all scores and associated metadata.

Used in: LeaderboardRecordList, TournamentRecordList

message LeaderboardRecordList

api.proto:627

A set of leaderboard records, may be part of a leaderboard records page or a batch of individual records.

message LeaveGroupRequest

api.proto:641

Leave a group.

message LinkFacebookRequest

api.proto:647

Link Facebook to the current user's account.

message LinkSteamRequest

api.proto:655

Link Steam to the current user's account.

message ListChannelMessagesRequest

api.proto:663

List a channel's message history.

message ListFriendsOfFriendsRequest

api.proto:684

message ListFriendsRequest

api.proto:675

List friends for a user.

message ListGroupUsersRequest

api.proto:708

List all users that are part of a group.

message ListGroupsRequest

api.proto:692

List groups based on given filters.

message ListLeaderboardRecordsAroundOwnerRequest

api.proto:720

List leaerboard records from a given leaderboard around the owner.

message ListLeaderboardRecordsRequest

api.proto:734

List leaderboard records from a given leaderboard.

message ListMatchesRequest

api.proto:748

List realtime matches.

message ListNotificationsRequest

api.proto:764

Get a list of unexpired notifications.

message ListPartiesRequest

api.proto:1427

A request to list parties.

message ListStorageObjectsRequest

api.proto:772

List publicly readable storage objects in a given collection.

message ListSubscriptionsRequest

api.proto:784

List user subscriptions.

message ListTournamentRecordsAroundOwnerRequest

api.proto:792

List tournament records from a given tournament around the owner.

message ListTournamentRecordsRequest

api.proto:806

List tournament records from a given tournament.

message ListTournamentsRequest

api.proto:820

List active/upcoming tournaments based on given filters.

message ListUserGroupsRequest

api.proto:836

List the groups a user is part of, and their relationship to each.

message Match

api.proto:848

Represents a realtime match.

Used in: MatchList

message MatchList

api.proto:864

A list of realtime matches.

message MatchmakerCompletionStats

api.proto:870

Matchmaker ticket completion stats

Used in: MatchmakerStats

message MatchmakerStats

api.proto:876

Matchmaker stats

message Notification

api.proto:883

A notification in the server.

Used in: NotificationList, realtime.Notifications

message NotificationList

api.proto:901

A collection of zero or more notifications.

enum Operator

api.proto:1413

Operator that can be used to override the one set in the leaderboard.

Used in: Leaderboard, Tournament, WriteLeaderboardRecordRequest.LeaderboardRecordWrite, WriteTournamentRecordRequest.TournamentRecordWrite

message Party

api.proto:1439

Incoming information about a party.

Used in: PartyList

message PartyList

api.proto:1453

A list of realtime matches.

message PromoteGroupUsersRequest

api.proto:909

Promote a set of users in a group to the next role up.

message PurchaseList

api.proto:1331

A list of validated purchases stored by Nakama.

message ReadStorageObjectId

api.proto:925

Storage objects to get.

Used in: ReadStorageObjectsRequest

message ReadStorageObjectsRequest

api.proto:935

Batch get storage objects.

message Rpc

api.proto:941

Execute an Lua function on the server.

Used in: realtime.Envelope

message Session

api.proto:951

A user's session used to authenticate messages.

message SessionLogoutRequest

api.proto:172

Log out a session, invalidate a refresh token, or log out all sessions/refresh tokens for a user.

message SessionRefreshRequest

api.proto:164

Authenticate against the server with a refresh token.

message StorageObject

api.proto:961

An object within the storage engine.

Used in: StorageObjectList, StorageObjects

message StorageObjectAck

api.proto:983

A storage acknowledgement.

Used in: StorageObjectAcks

message StorageObjectAcks

api.proto:999

Batch of acknowledgements for the storage object write.

message StorageObjectList

api.proto:1011

List of storage objects.

message StorageObjects

api.proto:1005

Batch of storage objects.

enum StoreEnvironment

api.proto:1292

Environment where a purchase/subscription took place,

Used in: ValidatedPurchase, ValidatedSubscription

enum StoreProvider

api.proto:1280

Validation Provider,

Used in: ValidatedPurchase, ValidatedSubscription

message SubscriptionList

api.proto:1341

A list of validated subscriptions stored by Nakama.

message Tournament

api.proto:1019

A tournament on the server.

Used in: TournamentList

message TournamentList

api.proto:1065

A list of tournaments.

message TournamentRecordList

api.proto:1073

A set of tournament records which may be part of a tournament records page or a batch of individual records.

message UpdateAccountRequest

api.proto:1087

Update a user's account details.

message UpdateGroupRequest

api.proto:1103

Update fields in a given group.

message User

api.proto:1119

A user in the server.

Used in: Account, Friend, FriendsOfFriendsList.FriendOfFriend, GroupUserList.GroupUser, Users

message UserGroupList

api.proto:1159

A list of groups belonging to a user, along with the user's role in each group.

message UserGroupList.UserGroup

api.proto:1161

A single group-role pair.

Used in: UserGroupList

enum UserGroupList.UserGroup.State

api.proto:1163

The group role status.

message Users

api.proto:1187

A collection of zero or more users.

message ValidatePurchaseAppleRequest

api.proto:1193

Apple IAP Purchases validation request

message ValidatePurchaseFacebookInstantRequest

api.proto:1235

Facebook Instant IAP Purchase validation request

message ValidatePurchaseGoogleRequest

api.proto:1209

Google IAP Purchase validation request

message ValidatePurchaseHuaweiRequest

api.proto:1225

Huawei IAP Purchase validation request

message ValidatePurchaseResponse

api.proto:1269

Validate IAP response.

message ValidateSubscriptionAppleRequest

api.proto:1201

Apple Subscription validation request

message ValidateSubscriptionGoogleRequest

api.proto:1217

Google Subscription validation request

message ValidateSubscriptionResponse

api.proto:1275

Validate Subscription response.

message ValidatedPurchase

api.proto:1243

Validated Purchase stored by Nakama.

Used in: PurchaseList, ValidatePurchaseResponse

message ValidatedSubscription

api.proto:1301

Used in: SubscriptionList, ValidateSubscriptionResponse

message WriteLeaderboardRecordRequest

api.proto:1351

A request to submit a score to a leaderboard.

message WriteLeaderboardRecordRequest.LeaderboardRecordWrite

api.proto:1353

Record values to write.

Used in: WriteLeaderboardRecordRequest

message WriteStorageObject

api.proto:1371

The object to store.

Used in: WriteStorageObjectsRequest

message WriteStorageObjectsRequest

api.proto:1387

Write objects to the storage engine.

message WriteTournamentRecordRequest

api.proto:1393

A request to submit a score to a tournament.

message WriteTournamentRecordRequest.TournamentRecordWrite

api.proto:1395

Record values to write.

Used in: WriteTournamentRecordRequest