{ "host": "demo.accelbyte.io", "info": { "description": "Justice Lobby Server", "title": "justice-lobby-server", "version": "3.43.0" }, "schemes": [ "https" ], "externalDocs": { "description": "API Docs", "url": "https://stage.accelbyte.io/lobby/apidocs" }, "securityDefinitions": { "authorization": { "in": "header", "name": "Authorization", "type": "apiKey" } }, "swagger": "2.0", "paths": { "/friends/namespaces/{namespace}/me": { "get": { "description": "Get list of friends in a namespace.", "operationId": "getUserFriendsUpdated", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "default": 25, "description": "maximum number of data", "in": "query", "name": "limit", "type": "integer" }, { "default": 0, "description": "numbers of row to skip within the result", "in": "query", "name": "offset", "type": "integer" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "items": { "$ref": "#/definitions/model.GetUserFriendsResponse" }, "type": "array" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } } }, "security": [ { "authorization": [] } ], "summary": "get list of friends", "tags": [ "friends", "public" ], "x-errorCodes": {}, "x-operationid": "lobby/public/friends/v1/list", "x-security": [] } }, "/friends/namespaces/{namespace}/me/incoming": { "get": { "description": "Get list of incoming friends in a namespace.", "operationId": "getUserIncomingFriends", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "default": 25, "description": "maximum number of data", "in": "query", "name": "limit", "type": "integer" }, { "default": 0, "description": "numbers of row to skip within the result", "in": "query", "name": "offset", "type": "integer" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "items": { "$ref": "#/definitions/model.GetUserIncomingFriendsResponse" }, "type": "array" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } } }, "security": [ { "authorization": [] } ], "summary": "get list of incoming friends", "tags": [ "friends", "public" ], "x-errorCodes": {}, "x-operationid": "lobby/public/friends/v1/list-my-incoming-requests", "x-security": [] } }, "/friends/namespaces/{namespace}/me/incoming-time": { "get": { "description": "Get list of incoming friends with requested time info in a namespace.", "operationId": "getUserIncomingFriendsWithTime", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "default": 25, "description": "maximum number of data", "in": "query", "name": "limit", "type": "integer" }, { "default": 0, "description": "numbers of row to skip within the result", "in": "query", "name": "offset", "type": "integer" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "items": { "$ref": "#/definitions/model.LoadIncomingFriendsWithTimeResponse" }, "type": "array" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } } }, "security": [ { "authorization": [] } ], "summary": "get list of incoming friends with requested time info", "tags": [ "friends", "public" ], "x-errorCodes": {}, "x-operationid": "lobby/public/friends/v1/list-my-incoming-requests-with-time", "x-security": [] } }, "/friends/namespaces/{namespace}/me/outgoing": { "get": { "description": "Get list of outgoing friends in a namespace.", "operationId": "getUserOutgoingFriends", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "default": 25, "description": "maximum number of data", "in": "query", "name": "limit", "type": "integer" }, { "default": 0, "description": "numbers of row to skip within the result", "in": "query", "name": "offset", "type": "integer" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "items": { "$ref": "#/definitions/model.GetUserOutgoingFriendsResponse" }, "type": "array" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } } }, "security": [ { "authorization": [] } ], "summary": "get list of outgoing friends", "tags": [ "friends", "public" ], "x-errorCodes": {}, "x-operationid": "lobby/public/friends/v1/list-my-outgoing-requests", "x-security": [] } }, "/friends/namespaces/{namespace}/me/outgoing-time": { "get": { "description": "Get list of outgoing friends with requested time info in a namespace.", "operationId": "getUserOutgoingFriendsWithTime", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "default": 25, "description": "maximum number of data", "in": "query", "name": "limit", "type": "integer" }, { "default": 0, "description": "numbers of row to skip within the result", "in": "query", "name": "offset", "type": "integer" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "items": { "$ref": "#/definitions/model.LoadOutgoingFriendsWithTimeResponse" }, "type": "array" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } } }, "security": [ { "authorization": [] } ], "summary": "get list of outgoing friends with requested time info", "tags": [ "friends", "public" ], "x-errorCodes": {}, "x-operationid": "lobby/public/friends/v1/list-my-outgoing-requests-with-time", "x-security": [] } }, "/friends/namespaces/{namespace}/me/platforms": { "get": { "description": "Get list of friends with platform data in a namespace.", "operationId": "getUserFriendsWithPlatform", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "default": 25, "description": "maximum number of data", "in": "query", "name": "limit", "type": "integer" }, { "default": 0, "description": "numbers of row to skip within the result", "in": "query", "name": "offset", "type": "integer" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/model.ListBulkUserPlatformsResponse" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } } }, "security": [ { "authorization": [] } ], "summary": "get list of friends with platform data", "tags": [ "friends", "public" ], "x-errorCodes": {}, "x-operationid": "lobby/public/friends/v1/list-my-platform", "x-security": [] } }, "/friends/namespaces/{namespace}/me/request": { "post": { "consumes": [ "application/json" ], "description": "Client should provide either friendID or friendPublicID. If both are provided, friendID will be chosen to be used.\nThis endpoint will only send a pending invite that can be either rejected/accepted.\nMetadata is optional parameter which will be sent over via friend request notification.\n", "operationId": "userRequestFriend", "parameters": [ { "description": "add friend content", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/model.UserRequestFriendRequest" } }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "201": { "description": "Created" }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "422": { "description": "Unprocessable Entity", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } } }, "security": [ { "authorization": [] } ], "summary": "user add friend", "tags": [ "friends", "public" ], "x-errorCodes": {}, "x-operationid": "lobby/public/friends/v1/send-my-request", "x-security": [] } }, "/friends/namespaces/{namespace}/me/request/accept": { "post": { "consumes": [ "application/json" ], "description": "User accept friend.", "operationId": "userAcceptFriendRequest", "parameters": [ { "description": "accept friend content", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/model.UserAcceptFriendRequest" } }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "204": { "description": "No Content" }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } } }, "security": [ { "authorization": [] } ], "summary": "user accept friend", "tags": [ "friends", "public" ], "x-errorCodes": {}, "x-operationid": "lobby/public/friends/v1/accept-request", "x-security": [] } }, "/friends/namespaces/{namespace}/me/request/cancel": { "post": { "consumes": [ "application/json" ], "description": "User cancel a friend request.", "operationId": "userCancelFriendRequest", "parameters": [ { "description": "cancel friend request content", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/model.UserCancelFriendRequest" } }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "204": { "description": "No Content" }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } } }, "security": [ { "authorization": [] } ], "summary": "user cancel a friend request", "tags": [ "friends", "public" ], "x-errorCodes": {}, "x-operationid": "lobby/public/friends/v1/cancel-request", "x-security": [] } }, "/friends/namespaces/{namespace}/me/request/reject": { "post": { "consumes": [ "application/json" ], "description": "User reject a friend request.", "operationId": "userRejectFriendRequest", "parameters": [ { "description": "reject friend request content", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/model.UserRejectFriendRequest" } }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "204": { "description": "No Content" }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } } }, "security": [ { "authorization": [] } ], "summary": "user reject a friend request", "tags": [ "friends", "public" ], "x-errorCodes": {}, "x-operationid": "lobby/public/friends/v1/reject-my-request", "x-security": [] } }, "/friends/namespaces/{namespace}/me/status/{friendId}": { "get": { "description": "User get friendship status.\nCode: 0 - Message: \u0026#34;not friend\u0026#34;\nCode: 1 - Message: \u0026#34;outgoing\u0026#34;\nCode: 2 - Message: \u0026#34;incoming\u0026#34;\nCode: 3 - Message: \u0026#34;friend\u0026#34;\n", "operationId": "userGetFriendshipStatus", "parameters": [ { "description": "Friend ID", "in": "path", "name": "friendId", "required": true, "type": "string" }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/model.UserGetFriendshipStatusResponse" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } } }, "security": [ { "authorization": [] } ], "summary": "user get friendship status", "tags": [ "friends", "public" ], "x-errorCodes": {}, "x-operationid": "lobby/public/friends/v1/get-status", "x-security": [] } }, "/friends/namespaces/{namespace}/me/unfriend": { "post": { "consumes": [ "application/json" ], "description": "User unfriend a friend.", "operationId": "userUnfriendRequest", "parameters": [ { "description": "unfriend request content", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/model.UserUnfriendRequest" } }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "204": { "description": "No Content" }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } } }, "security": [ { "authorization": [] } ], "summary": "user unfriend a friend", "tags": [ "friends", "public" ], "x-errorCodes": {}, "x-operationid": "lobby/public/friends/v1/unfriend-my", "x-security": [] } }, "/friends/namespaces/{namespace}/users/{userId}/add/bulk": { "post": { "consumes": [ "application/json" ], "description": "Friends request in a namespace.", "operationId": "addFriendsWithoutConfirmation", "parameters": [ { "description": "friends request content", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/model.BulkFriendsRequest" } }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "user ID", "in": "path", "name": "userId", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "204": { "description": "" }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } } }, "security": [ { "authorization": [] } ], "summary": "Add friends without confirmation", "tags": [ "friends", "public" ], "x-errorCodes": {}, "x-operationid": "lobby/public/friends/v1/bulk-add", "x-security": [ { "userPermissions": [ "NAMESPACE:{namespace}:USER:{userId}:FRIENDS [CREATE]" ] } ] } }, "/friends/namespaces/{namespace}/users/{userId}/delete/bulk": { "post": { "consumes": [ "application/json" ], "description": "Friends request in a namespace.", "operationId": "bulkDeleteFriends", "parameters": [ { "description": "list of friend userIDs", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/model.BulkFriendsRequest" } }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "user ID", "in": "path", "name": "userId", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "number of deleted items (one friendship consists of 2 items)", "schema": { "$ref": "#/definitions/model.BulkFriendsResponse" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/model.BulkFriendsResponse" } } }, "security": [ { "authorization": [] } ], "summary": "Delete friends, and incoming/outgoing friend requests", "tags": [ "friends", "public" ], "x-errorCodes": {}, "x-operationid": "lobby/public/friends/v1/bulk-remove", "x-security": [ { "userPermissions": [ "NAMESPACE:{namespace}:USER:{userId}:FRIENDS [DELETE]" ] } ] } }, "/friends/sync/namespaces/{namespace}/me": { "patch": { "consumes": [ "application/json" ], "description": "Sync friends using server to server call to native first party server.\n\t\t\t\tSupported platforms:\n\t\t\t\tsteam: The platform_token’s value is the binary ticket returned by Steam. \n\t\t\t\t\t\tIf this ticket was generated by Steam GetAuthTicketForWebApi with version \u0026gt;= 1.57, then platform token should use this style: {identity}:{ticket}\n\t\t\t\t\t\tthe {identity} was the parameter to call GetAuthTicketForWebApi when the ticket was created. Note: Do not contain : in this {identity}\n\t\t\t\tps4: The platform_token’s value is the authorization code returned by Sony OAuth.\n\t\t\t\tps5: The platform_token’s value is the authorization code returned by Sony OAuth.\n\t\t\t\tpspc: The platform_token’s value is the authorization code returned by Sony OAuth.\n\t\t\t\t", "operationId": "syncNativeFriends", "parameters": [ { "description": "request native friend sync, is_login, if true mean user already login to IAM, if false mean user need to passing the user token.", "in": "body", "name": "body", "required": true, "schema": { "items": { "$ref": "#/definitions/model.NativeFriendRequest" }, "type": "array" } }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "", "schema": { "items": { "$ref": "#/definitions/model.NativeFriendSyncResponse" }, "type": "array" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } } }, "security": [ { "authorization": [] } ], "summary": "sync friends using server to server call to native first party server.", "tags": [ "friends", "public" ], "x-errorCodes": {}, "x-operationid": "lobby/public/friends/v1/sync-my", "x-security": [] } }, "/lobby/sync/namespaces/{namespace}/me/block": { "patch": { "consumes": [ "application/json" ], "description": "Sync blocked user using server to server call to native first party server.\n\t\t\t\tSupported platforms:\n\t\t\t\tps5, ps4 and pspc : the default environment would be sp-int, can be override using psnEnv. \n\t\t\t\tpsnEnv consist of sp-int (default), prod-qa, np\n\t\t\t\t", "operationId": "syncNativeBlockedUser", "parameters": [ { "description": "request native user block sync, need to passing the AccelByte user token.", "in": "body", "name": "body", "required": true, "schema": { "items": { "$ref": "#/definitions/model.NativeUserBlockRequest" }, "type": "array" } }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "", "schema": { "items": { "$ref": "#/definitions/model.NativeUserBlockResponse" }, "type": "array" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } } }, "security": [ { "authorization": [] } ], "summary": "sync blocked user using server to server call to native first party server.", "tags": [ "blocks" ], "x-errorCodes": {}, "x-operationid": "lobby/public/blocks/v1/sync", "x-security": [] } }, "/lobby/v1/admin/config": { "get": { "consumes": [ "application/json" ], "description": "Get lobby config of all namespaces.\u0026lt;br\u0026gt;default MaxDSWaitTime is 120 (second)", "operationId": "adminGetAllConfigV1", "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/models.ConfigList" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "admin get all namespaces config", "tags": [ "config" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/config/v1/list", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:*:LOBBY:CONFIG [READ]" ] } ] } }, "/lobby/v1/admin/config/log": { "get": { "description": "\n\t\t\tGet Log Configuration\n\t\t\tlogLevel use for logging in service, the value can use is trace|debug|info|warning|error|fatal|panic\n\t\t\tsocketLogEnabled is use for enable socket log\n\t\t\tlogLevelDB use for logging in DB, the value can use is trace|debug|info|warning|error|fatal|panic\n\t\t\tslowQueryThreshold use for logging slow threshold in time measure is nano second\n\t\t\t", "operationId": "adminGetLogConfig", "produces": [ "application/json" ], "responses": { "200": { "description": "", "schema": { "$ref": "#/definitions/logconfig.Configuration" } } }, "security": [ { "authorization": [] } ], "summary": "Get Log Configuration", "tags": [ "config" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/config/v1/get-log", "x-security": [ { "userPermissions": [ "ADMIN:CONFIG:LOG [READ]" ] } ] }, "patch": { "consumes": [ "application/json" ], "description": "\n\t\t\t\tUpdate Log Configuration\n\t\t\t\tlogLevel use for logging in service, the value can use is trace|debug|info|warning|error|fatal|panic\n\t\t\t\tsocketLogEnabled is use for enable socket log\n\t\t\t\tlogLevelDB use for logging in DB, the value can use is trace|debug|info|warning|error|fatal|panic\n\t\t\t\tslowQueryThreshold use for logging slow threshold in time measure is nano second\n\t\t\t", "operationId": "adminPatchUpdateLogConfig", "parameters": [ { "description": "Optional values can be omitted and will update partially", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/logconfig.Configuration" } } ], "produces": [ "application/json" ], "responses": { "200": { "description": "", "schema": { "$ref": "#/definitions/logconfig.Configuration" } } }, "security": [ { "authorization": [] } ], "summary": "Patch Update Log Configuration", "tags": [ "config" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/config/v1/update-log", "x-security": [ { "userPermissions": [ "ADMIN:CONFIG:LOG [UPDATE]" ] } ] } }, "/lobby/v1/admin/config/namespaces/{namespace}": { "get": { "consumes": [ "application/json" ], "description": "Get lobby config of a namespace.\u0026lt;br\u0026gt;default MaxDSWaitTime is 120 (second)", "operationId": "adminGetConfigV1", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/models.ConfigReq" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "admin get namespace config", "tags": [ "config" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/config/v1/get", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:LOBBY:CONFIG [READ]" ] } ] }, "put": { "consumes": [ "application/json" ], "description": "Update lobby config of a namespace.\u0026lt;br\u0026gt;MaxDSWaitTime value is cannot less than 1, if null it will use default value in 120 (second)", "operationId": "adminUpdateConfigV1", "parameters": [ { "description": "lobby config", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/models.ConfigReq" } }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/models.ConfigReq" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "412": { "description": "Precondition Failed", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "admin update namespace config", "tags": [ "config" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/config/v1/update", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:LOBBY:CONFIG [UPDATE]" ] } ] } }, "/lobby/v1/admin/config/namespaces/{namespace}/export": { "get": { "description": "\n\t\t\t\tExport lobby configuration to a json file. The file can then be imported from the /import endpoint. \n\t\t\t\t\nJSON Schema of the exported file:\n{\n \u0026#34;required\u0026#34;: [\n \u0026#34;namespace\u0026#34;,\n \u0026#34;entitlementItemID\u0026#34;,\n \u0026#34;chatRateLimitDuration\u0026#34;,\n \u0026#34;unregisterDelay\u0026#34;,\n \u0026#34;generalRateLimitDuration\u0026#34;,\n \u0026#34;autoKickOnDisconnectDelay\u0026#34;,\n \u0026#34;chatRateLimitBurst\u0026#34;,\n \u0026#34;generalRateLimitBurst\u0026#34;,\n \u0026#34;maxPartyMember\u0026#34;,\n \u0026#34;autoKickOnDisconnect\u0026#34;,\n \u0026#34;profanityFilter\u0026#34;,\n \u0026#34;enableChat\u0026#34;,\n \u0026#34;entitlementCheck\u0026#34;,\n \u0026#34;cancelTicketOnDisconnect\u0026#34;,\n \u0026#34;concurrentUsersLimit\u0026#34;,\n \u0026#34;readyConsentTimeout\u0026#34;,\n \u0026#34;disableInvitationOnJoinParty\u0026#34;,\n \u0026#34;allowJoinPartyDuringMatchmaking\u0026#34;,\n \u0026#34;allowInviteNonConnectedUser\u0026#34;,\n \u0026#34;keepPresenceActivityOnDisconnect\u0026#34;,\n \u0026#34;maxDSWaitTime\u0026#34;,\n \u0026#34;maxFriendsLimit\u0026#34;,\n \u0026#34;requestMetadataMaxSize\u0026#34;\n ],\n \u0026#34;properties\u0026#34;: {\n \u0026#34;allowInviteNonConnectedUser\u0026#34;: {\n \u0026#34;type\u0026#34;: \u0026#34;boolean\u0026#34;\n },\n \u0026#34;allowJoinPartyDuringMatchmaking\u0026#34;: {\n \u0026#34;type\u0026#34;: \u0026#34;boolean\u0026#34;\n },\n \u0026#34;autoKickOnDisconnect\u0026#34;: {\n \u0026#34;type\u0026#34;: \u0026#34;boolean\u0026#34;\n },\n \u0026#34;autoKickOnDisconnectDelay\u0026#34;: {\n \u0026#34;type\u0026#34;: \u0026#34;integer\u0026#34;,\n \u0026#34;format\u0026#34;: \u0026#34;int64\u0026#34;\n },\n \u0026#34;cancelTicketOnDisconnect\u0026#34;: {\n \u0026#34;type\u0026#34;: \u0026#34;boolean\u0026#34;\n },\n \u0026#34;chatRateLimitBurst\u0026#34;: {\n \u0026#34;type\u0026#34;: \u0026#34;integer\u0026#34;,\n \u0026#34;format\u0026#34;: \u0026#34;int32\u0026#34;\n },\n \u0026#34;chatRateLimitDuration\u0026#34;: {\n \u0026#34;type\u0026#34;: \u0026#34;integer\u0026#34;,\n \u0026#34;format\u0026#34;: \u0026#34;int64\u0026#34;\n },\n \u0026#34;concurrentUsersLimit\u0026#34;: {\n \u0026#34;type\u0026#34;: \u0026#34;integer\u0026#34;,\n \u0026#34;format\u0026#34;: \u0026#34;int32\u0026#34;\n },\n \u0026#34;disableInvitationOnJoinParty\u0026#34;: {\n \u0026#34;type\u0026#34;: \u0026#34;boolean\u0026#34;\n },\n \u0026#34;enableChat\u0026#34;: {\n \u0026#34;type\u0026#34;: \u0026#34;boolean\u0026#34;\n },\n \u0026#34;entitlementCheck\u0026#34;: {\n \u0026#34;type\u0026#34;: \u0026#34;boolean\u0026#34;\n },\n \u0026#34;entitlementItemID\u0026#34;: {\n \u0026#34;type\u0026#34;: \u0026#34;string\u0026#34;\n },\n \u0026#34;generalRateLimitBurst\u0026#34;: {\n \u0026#34;type\u0026#34;: \u0026#34;integer\u0026#34;,\n \u0026#34;format\u0026#34;: \u0026#34;int32\u0026#34;\n },\n \u0026#34;generalRateLimitDuration\u0026#34;: {\n \u0026#34;type\u0026#34;: \u0026#34;integer\u0026#34;,\n \u0026#34;format\u0026#34;: \u0026#34;int64\u0026#34;\n },\n \u0026#34;keepPresenceActivityOnDisconnect\u0026#34;: {\n \u0026#34;type\u0026#34;: \u0026#34;boolean\u0026#34;\n },\n \u0026#34;maxDSWaitTime\u0026#34;: {\n \u0026#34;type\u0026#34;: \u0026#34;integer\u0026#34;,\n \u0026#34;format\u0026#34;: \u0026#34;int64\u0026#34;\n },\n \u0026#34;maxFriendsLimit\u0026#34;: {\n \u0026#34;type\u0026#34;: \u0026#34;integer\u0026#34;,\n \u0026#34;format\u0026#34;: \u0026#34;int32\u0026#34;\n },\n \u0026#34;maxPartyMember\u0026#34;: {\n \u0026#34;type\u0026#34;: \u0026#34;integer\u0026#34;,\n \u0026#34;format\u0026#34;: \u0026#34;int32\u0026#34;\n },\n \u0026#34;namespace\u0026#34;: {\n \u0026#34;type\u0026#34;: \u0026#34;string\u0026#34;\n },\n \u0026#34;profanityFilter\u0026#34;: {\n \u0026#34;type\u0026#34;: \u0026#34;boolean\u0026#34;\n },\n \u0026#34;readyConsentTimeout\u0026#34;: {\n \u0026#34;type\u0026#34;: \u0026#34;integer\u0026#34;,\n \u0026#34;format\u0026#34;: \u0026#34;int64\u0026#34;\n },\n \u0026#34;requestMetadataMaxSize\u0026#34;: {\n \u0026#34;type\u0026#34;: \u0026#34;integer\u0026#34;,\n \u0026#34;format\u0026#34;: \u0026#34;int32\u0026#34;\n },\n \u0026#34;unregisterDelay\u0026#34;: {\n \u0026#34;type\u0026#34;: \u0026#34;integer\u0026#34;,\n \u0026#34;format\u0026#34;: \u0026#34;int64\u0026#34;\n },\n \u0026#34;wsReadTimeout\u0026#34;: {\n \u0026#34;type\u0026#34;: \u0026#34;integer\u0026#34;,\n \u0026#34;format\u0026#34;: \u0026#34;int64\u0026#34;\n }\n }\n}", "operationId": "adminExportConfigV1", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK\nJSON Schema of the exported file:\n{\n \"required\": [\n \"namespace\",\n \"entitlementItemID\",\n \"chatRateLimitDuration\",\n \"unregisterDelay\",\n \"generalRateLimitDuration\",\n \"autoKickOnDisconnectDelay\",\n \"chatRateLimitBurst\",\n \"generalRateLimitBurst\",\n \"maxPartyMember\",\n \"autoKickOnDisconnect\",\n \"profanityFilter\",\n \"enableChat\",\n \"entitlementCheck\",\n \"cancelTicketOnDisconnect\",\n \"concurrentUsersLimit\",\n \"readyConsentTimeout\",\n \"disableInvitationOnJoinParty\",\n \"allowJoinPartyDuringMatchmaking\",\n \"allowInviteNonConnectedUser\",\n \"keepPresenceActivityOnDisconnect\",\n \"maxDSWaitTime\",\n \"maxFriendsLimit\",\n \"requestMetadataMaxSize\"\n ],\n \"properties\": {\n \"allowInviteNonConnectedUser\": {\n \"type\": \"boolean\"\n },\n \"allowJoinPartyDuringMatchmaking\": {\n \"type\": \"boolean\"\n },\n \"autoKickOnDisconnect\": {\n \"type\": \"boolean\"\n },\n \"autoKickOnDisconnectDelay\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"cancelTicketOnDisconnect\": {\n \"type\": \"boolean\"\n },\n \"chatRateLimitBurst\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"chatRateLimitDuration\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"concurrentUsersLimit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"disableInvitationOnJoinParty\": {\n \"type\": \"boolean\"\n },\n \"enableChat\": {\n \"type\": \"boolean\"\n },\n \"entitlementCheck\": {\n \"type\": \"boolean\"\n },\n \"entitlementItemID\": {\n \"type\": \"string\"\n },\n \"generalRateLimitBurst\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"generalRateLimitDuration\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"keepPresenceActivityOnDisconnect\": {\n \"type\": \"boolean\"\n },\n \"maxDSWaitTime\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"maxFriendsLimit\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"maxPartyMember\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"namespace\": {\n \"type\": \"string\"\n },\n \"profanityFilter\": {\n \"type\": \"boolean\"\n },\n \"readyConsentTimeout\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"requestMetadataMaxSize\": {\n \"type\": \"integer\",\n \"format\": \"int32\"\n },\n \"unregisterDelay\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n },\n \"wsReadTimeout\": {\n \"type\": \"integer\",\n \"format\": \"int64\"\n }\n }\n}", "schema": { "type": "file" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/response.Error" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/response.Error" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/response.Error" } } }, "security": [ { "authorization": [] } ], "summary": "Export lobby config to a json file.", "tags": [ "config" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/config/v1/export", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:LOBBY:CONFIG [READ]" ] } ] } }, "/lobby/v1/admin/config/namespaces/{namespace}/import": { "post": { "consumes": [ "multipart/form-data" ], "description": "\n\t\t\t\tImport config configuration from file. The existing configuration will be replaced.\n\t\t\t\tThe json file to import can be obtained from the /export endpoint. \n\t\t\t\t\n\t\t\t\tMaxDSWaitTime value is cannot less than 1, if null it will use default value in 120 (second)\n\t\t\t\t", "operationId": "adminImportConfigV1", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "file to be imported", "in": "formData", "name": "file", "type": "file" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/models.ImportConfigResponse" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/response.Error" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/response.Error" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/response.Error" } } }, "security": [ { "authorization": [] } ], "summary": "Import lobby config from a json file.", "tags": [ "config" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/config/v1/import", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:LOBBY:CONFIG [UPDATE]" ] } ] } }, "/lobby/v1/admin/friend/namespaces/{namespace}/users/{userId}": { "get": { "consumes": [ "application/json" ], "description": "Get list of friends in a namespace.", "operationId": "get list of friends", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "user ID", "in": "path", "name": "userId", "required": true, "type": "string" }, { "description": "friend userId", "in": "query", "name": "friendId", "type": "string" }, { "collectionFormat": "csv", "description": "friend userIds", "in": "query", "items": { "type": "string" }, "name": "friendIds", "type": "array" }, { "default": 25, "description": "maximum number of data", "in": "query", "name": "limit", "type": "integer" }, { "default": 0, "description": "numbers of row to skip within the result", "in": "query", "name": "offset", "type": "integer" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "", "schema": { "$ref": "#/definitions/model.GetFriendsResponse" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "get list of friends", "tags": [ "friends" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/friends/v1/list", "x-security": [ { "userPermissions": [ "NAMESPACE:{namespace}:USER:{userId}:FRIENDS [READ]" ] } ] } }, "/lobby/v1/admin/friend/namespaces/{namespace}/users/{userId}/incoming": { "get": { "consumes": [ "application/json" ], "description": "Get list of incoming friend requests.", "operationId": "get incoming friend requests", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "user ID", "in": "path", "name": "userId", "required": true, "type": "string" }, { "description": "friend userId", "in": "query", "name": "friendId", "type": "string" }, { "default": 25, "description": "maximum number of data", "in": "query", "name": "limit", "type": "integer" }, { "default": 0, "description": "numbers of row to skip within the result", "in": "query", "name": "offset", "type": "integer" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "", "schema": { "$ref": "#/definitions/model.LoadIncomingFriendsWithTimeResponse" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "get incoming friend requests", "tags": [ "friends" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/friends/v1/list-incoming-requests", "x-security": [ { "userPermissions": [ "NAMESPACE:{namespace}:USER:{userId}:FRIENDS [READ]" ] } ] } }, "/lobby/v1/admin/friend/namespaces/{namespace}/users/{userId}/of-friends": { "get": { "consumes": [ "application/json" ], "description": "Load list friends and friends of friends in a namespace. Response subjectId will be different with requested userId if the user is not directly friend", "operationId": "adminListFriendsOfFriends", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "user ID", "in": "path", "name": "userId", "required": true, "type": "string" }, { "description": "friend userId to check if the user is friend of friend", "in": "query", "name": "friendId", "type": "string" }, { "default": 25, "description": "maximum number of data", "in": "query", "name": "limit", "type": "integer" }, { "default": false, "description": "no paging for faster performance, next will always empty regardless of the data", "in": "query", "name": "nopaging", "type": "boolean", "x-omitempty": false }, { "default": 0, "description": "numbers of row to skip within the result", "in": "query", "name": "offset", "type": "integer" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "", "schema": { "$ref": "#/definitions/model.FriendshipConnectionResponse" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "Load list friends of friends", "tags": [ "friends" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/friends/v1/list-friends-of-friends", "x-security": [ { "userPermissions": [ "NAMESPACE:{namespace}:USER:{userId}:FRIENDS [READ]" ] } ] } }, "/lobby/v1/admin/friend/namespaces/{namespace}/users/{userId}/outgoing": { "get": { "consumes": [ "application/json" ], "description": "Get list of outgoing friend requests in a namespace.", "operationId": "get outgoing friend requests", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "user ID", "in": "path", "name": "userId", "required": true, "type": "string" }, { "default": 25, "description": "maximum number of data", "in": "query", "name": "limit", "type": "integer" }, { "default": 0, "description": "numbers of row to skip within the result", "in": "query", "name": "offset", "type": "integer" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "", "schema": { "$ref": "#/definitions/model.LoadOutgoingFriendsWithTimeResponse" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "get list of outgoing friend requests", "tags": [ "friends" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/friends/v1/list-outgoing-requests", "x-security": [ { "userPermissions": [ "NAMESPACE:{namespace}:USER:{userId}:FRIENDS [READ]" ] } ] } }, "/lobby/v1/admin/global-configurations": { "delete": { "consumes": [ "application/json" ], "deprecated": true, "description": "Remove the global configuration record. This operation is permanent.", "operationId": "adminDeleteGlobalConfig", "produces": [ "application/json" ], "responses": { "204": { "description": "No Content", "schema": { "type": "string" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "Delete of global configuration data.", "tags": [ "admin", "global-configurations" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/config/v1/delete-global", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:LOBBY:CONFIG [DELETE]" ] } ] }, "get": { "consumes": [ "application/json" ], "deprecated": true, "description": "Get dsmc global configuration.", "operationId": "adminGetGlobalConfig", "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/model.GlobalConfiguration" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "Record of global configuration dsmc.", "tags": [ "admin", "global-configurations" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/config/v1/get-global", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:LOBBY:CONFIG [READ]" ] } ] }, "put": { "consumes": [ "application/json" ], "deprecated": true, "description": "Overwrite existing global configuration with the provided values. Creates the record if it does not exist.", "operationId": "adminUpdateGlobalConfig", "parameters": [ { "description": "Update global configuration", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/model.PutGlobalConfigurationRequest" } } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/model.GlobalConfiguration" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "Upsert global configuration data.", "tags": [ "admin", "global-configurations" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/config/v1/update-global", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:LOBBY:CONFIG [UPDATE]" ] } ] } }, "/lobby/v1/admin/notification/namespaces/{namespace}/bulkUsers/freeform/notify": { "post": { "consumes": [ "application/json" ], "description": "Sends freeform notification to multiple users by user ID list.", "operationId": "sendMultipleUsersFreeformNotificationV1Admin", "parameters": [ { "description": "notification content", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/model.BulkUsersFreeFormNotificationRequestV1" } }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "204": { "description": "No Content" }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } } }, "security": [ { "authorization": [] } ], "summary": "send freeform notification to multiple users", "tags": [ "notification" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/notifications/v1/bulk-send", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:NOTIFICATION [CREATE]" ] } ] } }, "/lobby/v1/admin/notification/namespaces/{namespace}/freeform/notify": { "post": { "consumes": [ "application/json" ], "description": "Sends notification to all connected users in a namespace.", "operationId": "sendUsersFreeformNotificationV1Admin", "parameters": [ { "description": "notification content", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/model.FreeFormNotificationRequestV1" } }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "202": { "description": "Accepted" }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } } }, "security": [ { "authorization": [] } ], "summary": "send freeform notification to connected users", "tags": [ "notification" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/notifications/v1/send-active", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:NOTIFICATION [CREATE]" ] } ] } }, "/lobby/v1/admin/notification/namespaces/{namespace}/parties/{partyId}/freeform/notify": { "post": { "consumes": [ "application/json" ], "deprecated": true, "description": "Sends notification to a party.", "operationId": "sendPartyFreeformNotificationV1Admin", "parameters": [ { "description": "notification content", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/model.FreeFormNotificationRequestV1" } }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "party ID", "in": "path", "name": "partyId", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "204": { "description": "No Content" }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } } }, "security": [ { "authorization": [] } ], "summary": "send freeform notification to a party", "tags": [ "notification" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/notifications/v1/send-party", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:NOTIFICATION [CREATE]" ] } ] } }, "/lobby/v1/admin/notification/namespaces/{namespace}/parties/{partyId}/templates/notify": { "post": { "consumes": [ "application/json" ], "deprecated": true, "description": "Sends templated notification to a party.\n\t\t\t\u0026lt;br\u0026gt;In the request body, specify which template slug (template identifier) to use and the template language.\n\t\t\t\u0026lt;br\u0026gt;NotificationTemplate context is the key-value pair defining the value of each handlebar specified in the template content.\n\t\t\tTemplate need to be published before it can be use to send notifications\u0026lt;br\u0026gt;", "operationId": "sendPartyTemplatedNotificationV1Admin", "parameters": [ { "description": "notification content", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/model.NotificationWithTemplateRequestV1" } }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "party ID", "in": "path", "name": "partyId", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "204": { "description": "No Content" }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } } }, "security": [ { "authorization": [] } ], "summary": "send templated notification to a party", "tags": [ "notification" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/notifications/v1/send-party-templated", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:NOTIFICATION [CREATE]" ] } ] } }, "/lobby/v1/admin/notification/namespaces/{namespace}/templates": { "get": { "consumes": [ "application/json" ], "description": "Get all notification templates in a namespace.", "operationId": "getAllNotificationTemplatesV1Admin", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "items": { "$ref": "#/definitions/model.NotificationTemplateResponse" }, "type": "array" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } } }, "security": [ { "authorization": [] } ], "summary": "get all notification template in a namespace", "tags": [ "notification" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/notifications/v1/list-templates", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:NOTIFICATION [READ]" ] } ] }, "post": { "consumes": [ "application/json" ], "description": "Create new notification template. Include handlebars {{key}} for replaceable contexts. The key inside\n\t\t\thandlebars will be the key to be replaced when sending notification. Already existing template with the same\n\t\t\tslug and language can not be created.\n\t\t\tCheck model description for detailed input restrictions.", "operationId": "createNotificationTemplateV1Admin", "parameters": [ { "description": "create template input", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/model.CreateTemplateRequest" } }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "204": { "description": "No Content" }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "409": { "description": "Conflict", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } } }, "security": [ { "authorization": [] } ], "summary": "create new notification template", "tags": [ "notification" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/notifications/v1/create-template", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:NOTIFICATION [CREATE]" ] } ] } }, "/lobby/v1/admin/notification/namespaces/{namespace}/templates/notify": { "post": { "consumes": [ "application/json" ], "description": "Sends notification to all connected users in a namespace with predefined template.\n\t\t\tIn the request body, specify which template slug (template identifier) to use and the template language.\n\t\t\tNotificationTemplate context is the key-value pair defining the value of each handlebar specified in the template content.\n\t\t\tTemplate need to be published before it can be used to send notifications.", "operationId": "sendUsersTemplatedNotificationV1Admin", "parameters": [ { "description": "notification content", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/model.NotificationWithTemplateRequestV1" } }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "202": { "description": "Accepted" }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } } }, "security": [ { "authorization": [] } ], "summary": "send notification to connected users with template", "tags": [ "notification" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/notifications/v1/send-active-templated", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:NOTIFICATION [CREATE]" ] } ] } }, "/lobby/v1/admin/notification/namespaces/{namespace}/templates/{templateSlug}": { "delete": { "consumes": [ "application/json" ], "description": "Delete all localizations for the given notification template slug.", "operationId": "deleteNotificationTemplateSlugV1Admin", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "template slug", "in": "path", "name": "templateSlug", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "204": { "description": "No Content" }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } } }, "security": [ { "authorization": [] } ], "summary": "delete template slug in notification template", "tags": [ "notification" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/notifications/v1/delete-template", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:NOTIFICATION [DELETE]" ] } ] }, "get": { "consumes": [ "application/json" ], "description": "Get all localization variants for a given notification template slug.", "operationId": "getTemplateSlugLocalizationsTemplateV1Admin", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "template slug", "in": "path", "name": "templateSlug", "required": true, "type": "string" }, { "description": "last language code of previous page", "in": "query", "name": "after", "type": "string" }, { "description": "first language code of next page", "in": "query", "name": "before", "type": "string" }, { "description": "size of displayed data", "in": "query", "name": "limit", "type": "integer" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/model.GetAllNotificationTemplateSlugResp" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } } }, "security": [ { "authorization": [] } ], "summary": "get all notification template localization in a slug", "tags": [ "notification" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/notifications/v1/list-template-localizations", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:NOTIFICATION [READ]" ] } ] } }, "/lobby/v1/admin/notification/namespaces/{namespace}/templates/{templateSlug}/languages/{templateLanguage}": { "delete": { "consumes": [ "application/json" ], "description": "Delete a notification template localization by slug and language.", "operationId": "deleteTemplateLocalizationV1Admin", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "template language, follows IETF BCP 47 standard", "in": "path", "name": "templateLanguage", "required": true, "type": "string" }, { "description": "Template Identifier, only alphabet characters and hyphens are permitted", "in": "path", "name": "templateSlug", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "204": { "description": "No Content" }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } } }, "security": [ { "authorization": [] } ], "summary": "delete template localization", "tags": [ "notification" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/notifications/v1/delete-template-localization", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:NOTIFICATION [DELETE]" ] } ] }, "get": { "consumes": [ "application/json" ], "description": "Get a single notification template localization by slug and language.", "operationId": "getSingleTemplateLocalizationV1Admin", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "template language, follows IETF BCP 47 standard", "in": "path", "name": "templateLanguage", "required": true, "type": "string" }, { "description": "Template Identifier, only alphabet characters and hyphens are permitted", "in": "path", "name": "templateSlug", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/model.Localization" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } } }, "security": [ { "authorization": [] } ], "summary": "get a template localization", "tags": [ "notification" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/notifications/v1/get-template-localization", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:NOTIFICATION [READ]" ] } ] }, "put": { "consumes": [ "application/json" ], "description": "Update the content and subject of an existing notification template localization.", "operationId": "updateTemplateLocalizationV1Admin", "parameters": [ { "description": "Updated subject and body for the template localization", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/model.UpdateTemplateRequest" } }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "template language, follows IETF BCP 47 standard", "in": "path", "name": "templateLanguage", "required": true, "type": "string" }, { "description": "Template Identifier, only alphabet characters and hyphens are permitted", "in": "path", "name": "templateSlug", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "204": { "description": "No Content" }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } } }, "security": [ { "authorization": [] } ], "summary": "update template localization", "tags": [ "notification" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/notifications/v1/update-template-localization", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:NOTIFICATION [UPDATE]" ] } ] } }, "/lobby/v1/admin/notification/namespaces/{namespace}/templates/{templateSlug}/languages/{templateLanguage}/publish": { "post": { "consumes": [ "application/json" ], "description": "Publish a notification template draft. Empty drafts cannot be published.", "operationId": "publishTemplateLocalizationV1Admin", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "template language, follows IETF BCP 47 standard", "in": "path", "name": "templateLanguage", "required": true, "type": "string" }, { "description": "Template Identifier, only alphabet characters and hyphens are permitted", "in": "path", "name": "templateSlug", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "204": { "description": "No Content" }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } } }, "security": [ { "authorization": [] } ], "summary": "publish template localization draft", "tags": [ "notification" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/notifications/v1/publish-template-localization", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:NOTIFICATION [CREATE]" ] } ] } }, "/lobby/v1/admin/notification/namespaces/{namespace}/topics": { "get": { "consumes": [ "application/json" ], "description": "Get all notification topics in a namespace.", "operationId": "getAllNotificationTopicsV1Admin", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "last topic name of previous page", "in": "query", "name": "after", "type": "string" }, { "description": "first topic name of next page", "in": "query", "name": "before", "type": "string" }, { "description": "size of displayed data", "in": "query", "name": "limit", "type": "integer" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/model.GetAllNotificationTopicsResponse" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } } }, "security": [ { "authorization": [] } ], "summary": "get topic by namespace", "tags": [ "notification" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/notifications/v1/list-topics", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:NOTIFICATION [READ]" ] } ] }, "post": { "consumes": [ "application/json" ], "description": "Create new notification topic.\n\t\t\tTopic name must be uppercase alphabets and underscores only, no spaces or special characters (e.g. TOPIC_TEST).\n\t\t\tAlready existing topics cannot be created again.", "operationId": "createNotificationTopicV1Admin", "parameters": [ { "description": "create topic input", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/model.CreateTopicRequestV1" } }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "204": { "description": "No Content" }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } } }, "security": [ { "authorization": [] } ], "summary": "create new notification topic", "tags": [ "notification" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/notifications/v1/create-topic", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:NOTIFICATION [CREATE]" ] } ] } }, "/lobby/v1/admin/notification/namespaces/{namespace}/topics/{topicName}": { "delete": { "consumes": [ "application/json" ], "description": "Delete a notification topic by topic name.", "operationId": "deleteNotificationTopicV1Admin", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "topic name", "in": "path", "name": "topicName", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "204": { "description": "No Content" }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } } }, "security": [ { "authorization": [] } ], "summary": "delete topic information by topic name", "tags": [ "notification" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/notifications/v1/delete-topic", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:NOTIFICATION [DELETE]" ] } ] }, "get": { "consumes": [ "application/json" ], "description": "Get notification topic information by topic name.", "operationId": "getNotificationTopicV1Admin", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "topic name", "in": "path", "name": "topicName", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/model.NotificationTopicResponseV1" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } } }, "security": [ { "authorization": [] } ], "summary": "get topic information by topic name", "tags": [ "notification" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/notifications/v1/get-topic", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:NOTIFICATION [READ]" ] } ] }, "put": { "consumes": [ "application/json" ], "description": "Update notification topic information by topic name.\n\t\t\tTopic name must be uppercase alphabets and underscores only, no spaces or special characters (e.g. TOPIC_TEST).", "operationId": "updateNotificationTopicV1Admin", "parameters": [ { "description": "update topic input", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/model.UpdateTopicRequest" } }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "topic name", "in": "path", "name": "topicName", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "204": { "description": "No Content" }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } } }, "security": [ { "authorization": [] } ], "summary": "update topic information by topic name", "tags": [ "notification" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/notifications/v1/update-topic", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:NOTIFICATION [UPDATE]" ] } ] } }, "/lobby/v1/admin/notification/namespaces/{namespace}/users/{userId}/freeform/notify": { "post": { "consumes": [ "application/json" ], "description": "Sends notification to a user.", "operationId": "sendSpecificUserFreeformNotificationV1Admin", "parameters": [ { "description": "notification content", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/model.FreeFormNotificationRequestV1" } }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "user ID", "in": "path", "name": "userId", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "204": { "description": "No Content" }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } } }, "security": [ { "authorization": [] } ], "summary": "send freeform notification to a user", "tags": [ "notification" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/notifications/v1/send", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:NOTIFICATION [CREATE]" ] } ] } }, "/lobby/v1/admin/notification/namespaces/{namespace}/users/{userId}/templates/notify": { "post": { "consumes": [ "application/json" ], "description": "Sends templated notification to a user.\n\t\t\tIn the request body, specify which template slug (template identifier) to use and the template language.\n\t\t\tNotificationTemplate context is the key-value pair defining the value of each handlebar specified in the template content.\n\t\t\tTemplate need to be published before it can be used to send notifications.", "operationId": "sendSpecificUserTemplatedNotificationV1Admin", "parameters": [ { "description": "notification content", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/model.NotificationWithTemplateRequestV1" } }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "user ID", "in": "path", "name": "userId", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "204": { "description": "No Content" }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } } }, "security": [ { "authorization": [] } ], "summary": "send templated notification to specific user", "tags": [ "notification" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/notifications/v1/send-templated", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:NOTIFICATION [CREATE]" ] } ] } }, "/lobby/v1/admin/party/namespaces/{namespace}/parties/{partyId}": { "get": { "consumes": [ "application/json" ], "deprecated": true, "description": "Get party data in a namespace.", "operationId": "adminGetPartyDataV1", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "party ID", "in": "path", "name": "partyId", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/models.PartyData" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "admin get party data", "tags": [ "party" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/parties/v1/get", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:PARTY:STORAGE [READ]" ] } ] } }, "/lobby/v1/admin/party/namespaces/{namespace}/parties/{partyId}/attributes": { "put": { "consumes": [ "application/json" ], "deprecated": true, "description": "Update party attributes in a namespace.", "operationId": "adminUpdatePartyAttributesV1", "parameters": [ { "description": "party custom attributes", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/models.PartyPUTCustomAttributesRequest" } }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "party ID", "in": "path", "name": "partyId", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/models.PartyData" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "412": { "description": "Precondition Failed", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "admin update party attributes", "tags": [ "Lobby Operations" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/parties/v1/update-attributes", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:PARTY:STORAGE [UPDATE]" ] } ] } }, "/lobby/v1/admin/party/namespaces/{namespace}/parties/{partyId}/join/{userId}": { "post": { "deprecated": true, "description": "Admin join a player into a party.", "operationId": "adminJoinPartyV1", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "party ID", "in": "path", "name": "partyId", "required": true, "type": "string" }, { "description": "user ID", "in": "path", "name": "userId", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "202": { "description": "Accepted" }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "412": { "description": "Precondition Failed", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "admin join a player into a party", "tags": [ "Lobby Operations" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/parties/v1/join", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:PARTY:STORAGE [UPDATE]" ] } ] } }, "/lobby/v1/admin/party/namespaces/{namespace}/users/{userId}/party": { "get": { "consumes": [ "application/json" ], "deprecated": true, "description": "Get party data in a namespace.", "operationId": "adminGetUserPartyV1", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "user ID", "in": "path", "name": "userId", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/models.PartyData" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "admin get user party data", "tags": [ "party" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/parties/v1/get-user", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:PARTY:STORAGE [READ]" ] } ] } }, "/lobby/v1/admin/player/namespaces/{namespace}/ccu": { "get": { "consumes": [ "application/json" ], "description": "Get the number of players connected to the Lobby in the given namespace.", "operationId": "adminGetLobbyCCU", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/models.GetLobbyCcuResponse" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "admin get number of players currently connected to the lobby.", "tags": [ "player" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/users/v1/get-ccu", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:LOBBY:CCU [READ]" ] } ] } }, "/lobby/v1/admin/player/namespaces/{namespace}/users/bulk/blocked": { "post": { "consumes": [ "application/json" ], "description": "Get blocked players data by bulk user ids in a namespace.", "operationId": "adminGetBulkPlayerBlockedPlayersV1", "parameters": [ { "description": "list of blocked player request", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/models.GetBulkAllPlayerBlockedUsersRequest" } }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/models.GetBulkAllPlayerBlockedUsersResponse" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "admin get blocked players by bulk user ids", "tags": [ "player" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/users/v1/bulk-get-blocked", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:USER:{userId}:PLAYER:BLOCK [READ]" ] } ] } }, "/lobby/v1/admin/player/namespaces/{namespace}/users/{userId}/attributes": { "get": { "consumes": [ "application/json" ], "deprecated": true, "description": "Get all player\u0026#39;s session attribute by user id in a namespace.", "operationId": "adminGetAllPlayerSessionAttribute", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "user ID", "in": "path", "name": "userId", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/models.GetAllPlayerSessionAttributeResponse" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "admin get all player's session attribute", "tags": [ "player" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/users/v1/list-session-attributes", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:USER:{userId}:PLAYER:ATTRIBUTES [READ]" ] } ] }, "put": { "consumes": [ "application/json" ], "deprecated": true, "description": "Set player\u0026#39;s session attribute by user id in a namespace.", "operationId": "adminSetPlayerSessionAttribute", "parameters": [ { "description": "player attributes", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/models.SetPlayerSessionAttributeRequest" } }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "user ID", "in": "path", "name": "userId", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "204": { "description": "No Content" }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "admin set player's session attribute", "tags": [ "player" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/users/v1/set-session-attribute", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:USER:{userId}:PLAYER:ATTRIBUTES [UPDATE]" ] } ] } }, "/lobby/v1/admin/player/namespaces/{namespace}/users/{userId}/attributes/{attribute}": { "get": { "consumes": [ "application/json" ], "deprecated": true, "description": "Get player\u0026#39;s specific session attribute by user id in a namespace.", "operationId": "adminGetPlayerSessionAttribute", "parameters": [ { "description": "attribute key", "in": "path", "name": "attribute", "required": true, "type": "string" }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "user ID", "in": "path", "name": "userId", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/models.GetPlayerSessionAttributeResponse" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "admin get player's session attribute", "tags": [ "player" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/users/v1/get-session-attribute", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:USER:{userId}:PLAYER:ATTRIBUTES [READ]" ] } ] } }, "/lobby/v1/admin/player/namespaces/{namespace}/users/{userId}/blocked": { "get": { "consumes": [ "application/json" ], "description": "Get blocked players data by user id in a namespace.", "operationId": "adminGetPlayerBlockedPlayersV1", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "user ID", "in": "path", "name": "userId", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/models.GetAllPlayerBlockedUsersResponse" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "admin get blocked players by user id", "tags": [ "player" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/users/v1/list-blocked", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:USER:{userId}:PLAYER:BLOCK [READ]" ] } ] } }, "/lobby/v1/admin/player/namespaces/{namespace}/users/{userId}/blocked-by": { "get": { "consumes": [ "application/json" ], "description": "Load get players who blocked this player in a namespace based on user id", "operationId": "adminGetPlayerBlockedByPlayersV1", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "user ID", "in": "path", "name": "userId", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/models.GetAllPlayerBlockedByUsersResponse" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "get players who blocked this player by user id", "tags": [ "player" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/users/v1/list-blocked-by", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:USER:{userId}:PLAYER:BLOCK [READ]" ] } ] } }, "/lobby/v1/admin/player/namespaces/{namespace}/users/{userId}/bulk/block": { "post": { "consumes": [ "application/json" ], "description": "Bulk block player in a namespace by list of user id", "operationId": "adminBulkBlockPlayersV1", "parameters": [ { "description": "list of blocked player request", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/models.ListBlockedPlayerRequest" } }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "user ID", "in": "path", "name": "userId", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "204": { "description": "No Content" }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "Admin bulk blocks player by list user id", "tags": [ "player" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/users/v1/bulk-block", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:USER:{userId}:PLAYER:BLOCK [CREATE]" ] } ] } }, "/lobby/v1/admin/player/namespaces/{namespace}/users/{userId}/bulk/unblock": { "delete": { "consumes": [ "application/json" ], "description": "Bulk unblock player in a namespace by list of user id", "operationId": "adminBulkUnblockPlayersV1", "parameters": [ { "description": "list of unblocked player request", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/models.ListUnblockPlayerRequest" } }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "user ID", "in": "path", "name": "userId", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "204": { "description": "No Content" }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "Admin bulk unblock players by list user id", "tags": [ "player" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/users/v1/bulk-unblock", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:USER:{userId}:PLAYER:BLOCK [DELETE]" ] } ] } }, "/lobby/v1/admin/profanity/namespaces/{namespace}/filters/debug": { "post": { "consumes": [ "application/json" ], "deprecated": true, "description": "Get the list of filters that would modify the phrase", "operationId": "adminDebugProfanityFilters", "parameters": [ { "description": "request", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/models.DebugProfanityFilterRequest" } }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "items": { "$ref": "#/definitions/models.ProfanityFilter" }, "type": "array" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "get the list of filters that would modify the phrase", "tags": [ "profanity" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/profanity/v1/check-applied-filters", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:PROFANITY [READ]" ] } ] } }, "/lobby/v1/admin/profanity/namespaces/{namespace}/list/{list}/filters": { "get": { "consumes": [ "application/json" ], "deprecated": true, "description": "Get the list of filters inside the list.", "operationId": "adminGetProfanityListFiltersV1", "parameters": [ { "description": "list", "in": "path", "name": "list", "required": true, "type": "string" }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/models.AdminGetProfanityListFiltersV1Response" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "get the list of filters inside the list", "tags": [ "profanity" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/profanity/v1/list-filters", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:PROFANITY [READ]" ] } ] }, "post": { "consumes": [ "application/json" ], "deprecated": true, "description": "Add a single filter into the list", "operationId": "adminAddProfanityFilterIntoList", "parameters": [ { "description": "request", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/models.AdminAddProfanityFilterIntoListRequest" } }, { "description": "list", "in": "path", "name": "list", "required": true, "type": "string" }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK" }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "add a single filter into the list", "tags": [ "profanity" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/profanity/v1/add-filter", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:PROFANITY [CREATE]" ] } ] } }, "/lobby/v1/admin/profanity/namespaces/{namespace}/list/{list}/filters/bulk": { "post": { "consumes": [ "application/json" ], "deprecated": true, "description": "Add multiple filters into the list", "operationId": "adminAddProfanityFilters", "parameters": [ { "description": "request", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/models.AdminAddProfanityFiltersRequest" } }, { "description": "list", "in": "path", "name": "list", "required": true, "type": "string" }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK" }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "add multiple filters into the list", "tags": [ "profanity" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/profanity/v1/add-filters", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:PROFANITY [CREATE]" ] } ] } }, "/lobby/v1/admin/profanity/namespaces/{namespace}/list/{list}/filters/bulk-file": { "post": { "consumes": [ "application/json" ], "deprecated": true, "description": "Import a file with filters", "operationId": "adminImportProfanityFiltersFromFile", "parameters": [ { "description": "file", "in": "body", "name": "body", "required": true, "schema": { "items": { "type": "integer" }, "type": "array" } }, { "description": "list", "in": "path", "name": "list", "required": true, "type": "string" }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK" }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "import a file with filters", "tags": [ "profanity" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/profanity/v1/import", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:PROFANITY [CREATE]" ] } ] } }, "/lobby/v1/admin/profanity/namespaces/{namespace}/list/{list}/filters/delete": { "post": { "consumes": [ "application/json" ], "deprecated": true, "description": "Delete the filter from the list", "operationId": "adminDeleteProfanityFilter", "parameters": [ { "description": "request", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/models.AdminDeleteProfanityFilterRequest" } }, { "description": "list", "in": "path", "name": "list", "required": true, "type": "string" }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "items": { "$ref": "#/definitions/models.ProfanityFilter" }, "type": "array" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "delete the filter from the list", "tags": [ "profanity" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/profanity/v1/remove-filter", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:PROFANITY [DELETE]" ] } ] } }, "/lobby/v1/admin/profanity/namespaces/{namespace}/lists": { "get": { "consumes": [ "application/json" ], "deprecated": true, "description": "Get lists", "operationId": "adminGetProfanityLists", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "items": { "$ref": "#/definitions/models.AdminGetProfanityListsListResponse" }, "type": "array" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "get lists", "tags": [ "profanity" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/profanity/v1/list", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:PROFANITY [READ]" ] } ] }, "post": { "consumes": [ "application/json" ], "deprecated": true, "description": "Create a new list", "operationId": "adminCreateProfanityList", "parameters": [ { "description": "request", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/models.AdminCreateProfanityListRequest" } }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK" }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "create a new list", "tags": [ "profanity" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/profanity/v1/create", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:PROFANITY [CREATE]" ] } ] } }, "/lobby/v1/admin/profanity/namespaces/{namespace}/lists/{list}": { "delete": { "consumes": [ "application/json" ], "deprecated": true, "description": "Delete a list include all filters inside of it", "operationId": "adminDeleteProfanityList", "parameters": [ { "description": "list", "in": "path", "name": "list", "required": true, "type": "string" }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK" }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "delete a list include all filters inside of it", "tags": [ "profanity" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/profanity/v1/delete", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:PROFANITY [DELETE]" ] } ] }, "post": { "consumes": [ "application/json" ], "deprecated": true, "description": "Update the list", "operationId": "adminUpdateProfanityList", "parameters": [ { "description": "request", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/models.AdminUpdateProfanityList" } }, { "description": "list", "in": "path", "name": "list", "required": true, "type": "string" }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK" }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "update the list", "tags": [ "profanity" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/profanity/v1/update", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:PROFANITY [UPDATE]" ] } ] } }, "/lobby/v1/admin/profanity/namespaces/{namespace}/rule": { "get": { "consumes": [ "application/json" ], "deprecated": true, "description": "Get current profanity rule", "operationId": "adminGetProfanityRule", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/models.ProfanityRule" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "get current profanity rule", "tags": [ "profanity" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/profanity/v1/get-rule", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:PROFANITY [READ]" ] } ] }, "post": { "consumes": [ "application/json" ], "deprecated": true, "description": "Set current profanity rule", "operationId": "adminSetProfanityRuleForNamespace", "parameters": [ { "description": "request", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/models.AdminSetProfanityRuleForNamespaceRequest" } }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK" }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "set current profanity rule", "tags": [ "profanity" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/profanity/v1/set-rule", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:PROFANITY [UPDATE]" ] } ] } }, "/lobby/v1/admin/profanity/namespaces/{namespace}/verify": { "post": { "consumes": [ "application/json" ], "deprecated": true, "description": "Verify a message directly from the UI or other services", "operationId": "adminVerifyMessageProfanityResponse", "parameters": [ { "description": "request", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/models.AdminVerifyMessageProfanityRequest" } }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/models.AdminVerifyMessageProfanityResponse" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "verify a message directly from the UI or other services", "tags": [ "profanity" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/profanity/v1/validate-message", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:PROFANITY [READ]" ] } ] } }, "/lobby/v1/admin/thirdparty/namespaces/{namespace}/config/steam": { "delete": { "deprecated": true, "description": "Required permission : \u0026lt;code\u0026gt;ADMIN:NAMESPACE:{namespace}:THIRDPARTY:CONFIG [DELETE]\u0026lt;/code\u0026gt; with scope \u0026lt;code\u0026gt;social\u0026lt;/code\u0026gt;\n\t\t\t\u0026lt;br\u0026gt;delete third party config in a namespace.", "operationId": "adminDeleteThirdPartyConfig", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "204": { "description": "No Content", "schema": { "type": "string" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } } }, "security": [ { "authorization": [] } ], "summary": "Delete Third Party Steam Config", "tags": [ "thirdParty" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/steam-config/v1/delete", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:THIRDPARTY:CONFIG [DELETE]" ] } ] }, "get": { "deprecated": true, "description": "Get third party config for specified namespace.", "operationId": "adminGetThirdPartyConfig", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/models.GetConfigResponse" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } } }, "security": [ { "authorization": [] } ], "summary": "Get Third Party Steam Config", "tags": [ "thirdParty" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/steam-config/v1/get", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:THIRDPARTY:CONFIG [READ]" ] } ] }, "post": { "consumes": [ "application/json" ], "deprecated": true, "description": "Create third party config in a namespace.", "operationId": "adminCreateThirdPartyConfig", "parameters": [ { "description": "third party config", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/models.CreateConfigRequest" } }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "201": { "description": "Created", "schema": { "$ref": "#/definitions/models.CreateConfigResponse" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "409": { "description": "Conflict", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } } }, "security": [ { "authorization": [] } ], "summary": "Create Third Party Steam Config", "tags": [ "thirdParty" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/steam-config/v1/create", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:THIRDPARTY:CONFIG [CREATE]" ] } ] }, "put": { "consumes": [ "application/json" ], "deprecated": true, "description": "Update third party config in a namespace.", "operationId": "adminUpdateThirdPartyConfig", "parameters": [ { "description": "third party config", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/models.UpdateConfigRequest" } }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/models.UpdateConfigResponse" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } } }, "security": [ { "authorization": [] } ], "summary": "Update Third Party Steam Config", "tags": [ "thirdParty" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/steam-config/v1/update", "x-security": [ { "userPermissions": [ "ADMIN:NAMESPACE:{namespace}:THIRDPARTY:CONFIG [UPDATE]" ] } ] } }, "/lobby/v1/messages": { "get": { "description": "get the list of messages.", "operationId": "publicGetMessages", "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "items": { "$ref": "#/definitions/log.AppMessageDeclaration" }, "type": "array" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "get service messages", "tags": [ "Lobby Operations" ], "x-errorCodes": {}, "x-operationid": "lobby/public/service-messages/v1/list" } }, "/lobby/v1/public/party/namespaces/{namespace}/parties/{partyId}": { "get": { "consumes": [ "application/json" ], "deprecated": true, "description": "Load party data in a namespace by Party ID.", "operationId": "publicGetPartyDataV1", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "Party ID, should follow UUID version 4 without hyphen", "in": "path", "name": "partyId", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/models.PartyData" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "get party data by party id", "tags": [ "party" ], "x-errorCodes": {}, "x-operationid": "lobby/public/parties/v1/get", "x-security": [] } }, "/lobby/v1/public/party/namespaces/{namespace}/parties/{partyId}/attributes": { "put": { "consumes": [ "application/json" ], "deprecated": true, "description": "Required valid user authorization \u0026lt;br/\u0026gt;\n\t\t\t\t\u0026lt;br\u0026gt;update party attributes in a namespace.", "operationId": "publicUpdatePartyAttributesV1", "parameters": [ { "description": "party custom attributes", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/models.PartyPUTCustomAttributesRequest" } }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "party ID", "in": "path", "name": "partyId", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/models.PartyData" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "412": { "description": "Precondition Failed", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "update party attributes", "tags": [ "party" ], "x-errorCodes": {}, "x-operationid": "lobby/public/parties/v1/update-attributes", "x-security": [] } }, "/lobby/v1/public/party/namespaces/{namespace}/parties/{partyId}/limit": { "put": { "consumes": [ "application/json" ], "deprecated": true, "description": "Required valid user authorization \u0026lt;br/\u0026gt;\n\t\t\t\t\u0026lt;br\u0026gt;Set party limit, only party leader can call this endpoint.", "operationId": "publicSetPartyLimitV1", "parameters": [ { "description": "party custom attributes", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/models.PartyPUTLimitSizeRequest" } }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "party ID", "in": "path", "name": "partyId", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK" }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "set party limit", "tags": [ "party" ], "x-errorCodes": {}, "x-operationid": "lobby/public/parties/v1/set-limit", "x-security": [] } }, "/lobby/v1/public/player/namespaces/{namespace}/users/me/block": { "post": { "consumes": [ "application/json" ], "description": "Required valid user authorization \u0026lt;br/\u0026gt;\n\t\t\t\t\u0026lt;br\u0026gt;add blocked players in a namespace based on user id \u0026lt;br/\u0026gt;", "operationId": "publicPlayerBlockPlayersV1", "parameters": [ { "description": "block player by user id request", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/models.BlockPlayerRequest" } }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "201": { "description": "Created" }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "block player by user id", "tags": [ "player" ], "x-errorCodes": {}, "x-operationid": "lobby/public/users/v1/block", "x-security": [] } }, "/lobby/v1/public/player/namespaces/{namespace}/users/me/blocked": { "get": { "consumes": [ "application/json" ], "description": "Load blocked players in a namespace for the current user.", "operationId": "publicGetPlayerBlockedPlayersV1", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/models.GetAllPlayerBlockedUsersResponse" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "get blocked players by user id", "tags": [ "player" ], "x-errorCodes": {}, "x-operationid": "lobby/public/users/v1/list-blocked", "x-security": [] } }, "/lobby/v1/public/player/namespaces/{namespace}/users/me/blocked-by": { "get": { "consumes": [ "application/json" ], "description": "Load players who have blocked the current user in a namespace.", "operationId": "publicGetPlayerBlockedByPlayersV1", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/models.GetAllPlayerBlockedByUsersResponse" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "get players who blocked this player by user id", "tags": [ "player" ], "x-errorCodes": {}, "x-operationid": "lobby/public/users/v1/list-blocked-by", "x-security": [] } }, "/lobby/v1/public/player/namespaces/{namespace}/users/me/unblock": { "post": { "consumes": [ "application/json" ], "description": "Required valid user authorization \u0026lt;br/\u0026gt;\n\t\t\t\tunblock player in a namespace based on user id \u0026lt;br/\u0026gt;", "operationId": "publicUnblockPlayerV1", "parameters": [ { "description": "unblock player by user id", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/models.UnblockPlayerRequest" } }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "204": { "description": "No Content" }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "unblock player by user id", "tags": [ "player" ], "x-errorCodes": {}, "x-operationid": "lobby/public/users/v1/unblock", "x-security": [] } }, "/lobby/v1/public/presence/namespaces/{namespace}/users/presence": { "get": { "consumes": [ "application/json" ], "description": "Query users presence with given namespace and userIds.", "operationId": "UsersPresenceHandlerV1", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "Comma separated value of userIds", "in": "query", "name": "userIds", "required": true, "type": "string" }, { "description": "return only number of players for each availability status", "in": "query", "name": "countOnly", "type": "boolean", "x-omitempty": false } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/handlers.GetUsersPresenceResponse" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "Query users presence", "tags": [ "presence" ], "x-errorCodes": {}, "x-operationid": "lobby/public/presence/v1/list", "x-security": [] }, "post": { "consumes": [ "application/json" ], "description": "Query users presence with given namespace and userIds.", "operationId": "UsersPresenceHandlerV2", "parameters": [ { "description": "request user presence", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/model.RequestUserPresence" } }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "return only number of players for each availability status", "in": "query", "name": "countOnly", "type": "boolean", "x-omitempty": false } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/handlers.GetUsersPresenceResponse" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "Query users presence", "tags": [ "presence" ], "x-errorCodes": {}, "x-operationid": "lobby/public/presence/v1/bulk-get", "x-security": [] } }, "/notification/namespaces/{namespace}/freeform": { "post": { "consumes": [ "application/json" ], "description": "Sends notification to all connected users in a namespace.", "operationId": "freeFormNotification", "parameters": [ { "description": "notification content", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/model.FreeFormNotificationRequest" } }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "202": { "description": "Accepted" }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "send freeform notification to a user", "tags": [ "admin", "notification" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/notifications/v1/send-connected", "x-security": [ { "userPermissions": [ "NAMESPACE:{namespace}:NOTIFICATION [CREATE]" ] } ] } }, "/notification/namespaces/{namespace}/me": { "get": { "consumes": [ "application/json" ], "description": "Get list of notifications in a namespace.\nThe query parameters **startTime** and **endTime** can be filled with the **sequenceID** value in the notification, where the value is an epoch timestamp.\nExample **sequenceID** or epoch timestamp value: **1706595813**\n", "operationId": "getMyNotifications", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "filter data until a certain end time (sequenceID) value in the notification", "in": "query", "name": "endTime", "type": "integer" }, { "default": 25, "description": "data size for pagination", "in": "query", "name": "limit", "type": "integer" }, { "default": 0, "description": "data offset for pagination", "in": "query", "name": "offset", "type": "integer" }, { "description": "filter data starting from a certain start time (sequenceID) value in the notification", "in": "query", "name": "startTime", "type": "integer" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/model.NotificationResponse" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } } }, "security": [ { "authorization": [] } ], "summary": "Get list of notifications", "tags": [ "notification", "public" ], "x-errorCodes": {}, "x-operationid": "lobby/public/notifications/v1/list-my", "x-security": [ { "userPermissions": [ "NAMESPACE:{namespace}:TOPIC [READ]" ] } ] } }, "/notification/namespaces/{namespace}/notification/offline/me": { "get": { "consumes": [ "application/json" ], "description": "Get list of user\u0026#39;s offline notifications in a namespace.", "operationId": "getMyOfflineNotifications", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/model.NotificationsResponse" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseV1" } } }, "security": [ { "authorization": [] } ], "summary": "Get list of offline notifications", "tags": [ "notification", "public" ], "x-errorCodes": {}, "x-operationid": "lobby/public/notifications/v1/list-my-offline", "x-security": [] } }, "/notification/namespaces/{namespace}/templated": { "post": { "consumes": [ "application/json" ], "description": "Sends notification to all connected users in a namespace with predefined template.\n\t\t\t\u0026lt;br\u0026gt;In the request body, specify which template slug (template identifier) to use and the template language.\n\t\t\t\u0026lt;br\u0026gt;NotificationTemplate context is the key-value pair defining the value of each handlebar specified in the template content.\n\t\t\tTemplate need to be published before it can be use to send notifications", "operationId": "notificationWithTemplate", "parameters": [ { "description": "notification content", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/model.NotificationWithTemplateRequest" } }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "202": { "description": "Accepted" }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "send notification to a user with template", "tags": [ "admin", "notification" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/notifications/v1/send-connected-templated", "x-security": [ { "userPermissions": [ "NAMESPACE:{namespace}:NOTIFICATION [CREATE]" ] } ] } }, "/notification/namespaces/{namespace}/templates": { "get": { "consumes": [ "application/json" ], "description": "Get all templates in a namespace", "operationId": "getGameTemplate", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "items": { "$ref": "#/definitions/model.TemplateResponse" }, "type": "array" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "get all notification template in a namespace", "tags": [ "admin", "notification" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/internal/v1/list-templates", "x-security": [ { "userPermissions": [ "NAMESPACE:{namespace}:TEMPLATE [READ]" ] } ] }, "post": { "consumes": [ "application/json" ], "description": "Create new notification template. Include handlebars {{key}} for replaceable contexts. The the key inside\n\t\t\thandlebars will be the key to be replaced when sending notification. Already existing template with the same\n\t\t\tslug and language can not be created.\n\t\t\t\u0026lt;br\u0026gt;Check model description for detailed input restrictions.", "operationId": "createTemplate", "parameters": [ { "description": "create template input", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/model.CreateTemplateRequest" } }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "204": { "description": "No Content" }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "create new notification template", "tags": [ "admin", "notification" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/internal/v1/create-template", "x-security": [ { "userPermissions": [ "NAMESPACE:{namespace}:TEMPLATE [CREATE]" ] } ] } }, "/notification/namespaces/{namespace}/templates/{templateSlug}": { "delete": { "consumes": [ "application/json" ], "description": "Delete localization template", "operationId": "deleteTemplateSlug", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "template slug", "in": "path", "name": "templateSlug", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "204": { "description": "No Content" }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "delete template localization", "tags": [ "admin", "notification" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/internal/v1/delete-template", "x-security": [ { "userPermissions": [ "NAMESPACE:{namespace}:TEMPLATE [DELETE]" ] } ] }, "get": { "consumes": [ "application/json" ], "description": "Get all templates in a namespace", "operationId": "getSlugTemplate", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "template slug", "in": "path", "name": "templateSlug", "required": true, "type": "string" }, { "description": "last language code of previous page", "in": "query", "name": "after", "type": "string" }, { "description": "first language code of next page", "in": "query", "name": "before", "type": "string" }, { "description": "size of displayed data", "in": "query", "name": "limit", "type": "integer" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/model.TemplateLocalizationResponse" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "get all notification template in a slug", "tags": [ "admin", "notification" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/internal/v1/list-template-localizations", "x-security": [ { "userPermissions": [ "NAMESPACE:{namespace}:TEMPLATE [READ]" ] } ] } }, "/notification/namespaces/{namespace}/templates/{templateSlug}/languages/{templateLanguage}": { "delete": { "consumes": [ "application/json" ], "description": "Delete all template in a slug", "operationId": "deleteTemplateLocalization", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "template language", "in": "path", "name": "templateLanguage", "required": true, "type": "string" }, { "description": "template slug", "in": "path", "name": "templateSlug", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "204": { "description": "No Content" }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "delete template localization", "tags": [ "admin", "notification" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/internal/v1/delete-template-localization", "x-security": [ { "userPermissions": [ "NAMESPACE:{namespace}:TEMPLATE [DELETE]" ] } ] }, "get": { "consumes": [ "application/json" ], "description": "Get a template localization", "operationId": "getLocalizationTemplate", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "template language", "in": "path", "name": "templateLanguage", "required": true, "type": "string" }, { "description": "template slug", "in": "path", "name": "templateSlug", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/model.TemplateLocalization" } }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "get a template localization", "tags": [ "admin", "notification" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/internal/v1/get-template-localization", "x-security": [ { "userPermissions": [ "NAMESPACE:{namespace}:TEMPLATE [READ]" ] } ] }, "put": { "consumes": [ "application/json" ], "description": "Modify draft template", "operationId": "updateLocalizationTemplate", "parameters": [ { "description": "Updated subject and body for the template localization", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/model.UpdateTemplateRequest" } }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "template language", "in": "path", "name": "templateLanguage", "required": true, "type": "string" }, { "description": "template slug", "in": "path", "name": "templateSlug", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "204": { "description": "No Content" }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "update template draft", "tags": [ "admin", "notification" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/notifications/v1/update-localized-template", "x-security": [ { "userPermissions": [ "NAMESPACE:{namespace}:TEMPLATE [UPDATE]" ] } ] } }, "/notification/namespaces/{namespace}/templates/{templateSlug}/languages/{templateLanguage}/publish": { "post": { "consumes": [ "application/json" ], "description": "Publish notification template draft. Empty draft can not be published.", "operationId": "publishTemplate", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "template language", "in": "path", "name": "templateLanguage", "required": true, "type": "string" }, { "description": "template slug", "in": "path", "name": "templateSlug", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "204": { "description": "No Content" }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "publish draft template", "tags": [ "admin", "notification" ], "x-errorCodes": {}, "x-operationid": "lobby/admin/notifications/v1/publish-template", "x-security": [ { "userPermissions": [ "NAMESPACE:{namespace}:TEMPLATE [CREATE]" ] } ] } }, "/notification/namespaces/{namespace}/topics": { "get": { "consumes": [ "application/json" ], "description": "get topic by namespace.", "operationId": "getTopicByNamespace", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "last topic name of previous page", "in": "query", "name": "after", "type": "string" }, { "description": "first topic name of next page", "in": "query", "name": "before", "type": "string" }, { "description": "size of displayed data", "in": "query", "name": "limit", "type": "integer" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/model.TopicByNamespacesResponse" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "get topic by namespace", "tags": [ "notification", "public" ], "x-errorCodes": {}, "x-operationid": "lobby/public/notifications/v1/list-topics", "x-security": [ { "userPermissions": [ "NAMESPACE:{namespace}:TOPIC [READ]" ] } ] }, "post": { "consumes": [ "application/json" ], "description": "Create new notification topic.\n\t\t\t\u0026lt;br\u0026gt;topic should be alphabets, no special char except underscore, uppercase and no spacing. for example: TOPIC_TEST.\n\t\t\tAlready existing topic can not be created", "operationId": "createTopic", "parameters": [ { "description": "create topic input", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/model.CreateTopicRequest" } }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "201": { "description": "Created" }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "409": { "description": "Conflict", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "create new notification topic", "tags": [ "notification", "public" ], "x-errorCodes": {}, "x-operationid": "lobby/public/notifications/v1/create-topic", "x-security": [ { "userPermissions": [ "NAMESPACE:{namespace}:TOPIC [CREATE]" ] } ] } }, "/notification/namespaces/{namespace}/topics/{topic}": { "delete": { "consumes": [ "application/json" ], "description": "delete topic information by topic name.\n\t\t\t\u0026lt;br\u0026gt;topic should be alphabets, no special char except underscore, uppercase and no spacing. for example: TOPIC_TEST.\n\t\t\tAlready existing topic can not be created", "operationId": "deleteTopicByTopicName", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "topic name", "in": "path", "name": "topic", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "204": { "description": "No Content" }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "delete topic information by topic name", "tags": [ "notification", "public" ], "x-errorCodes": {}, "x-operationid": "lobby/public/notifications/v1/delete-topic", "x-security": [ { "userPermissions": [ "NAMESPACE:{namespace}:TOPIC [DELETE]" ] } ] }, "get": { "consumes": [ "application/json" ], "description": "get topic information by topic name.", "operationId": "getTopicByTopicName", "parameters": [ { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "topic name", "in": "path", "name": "topic", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/model.NotificationTopicResponse" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "get topic information by topic name", "tags": [ "notification", "public" ], "x-errorCodes": {}, "x-operationid": "lobby/public/notifications/v1/get-topic", "x-security": [ { "userPermissions": [ "NAMESPACE:{namespace}:TOPIC [READ]" ] } ] }, "put": { "consumes": [ "application/json" ], "description": "update topic information by topic name.\n\t\t\t\u0026lt;br\u0026gt;topic should be alphabets, no special char except underscore, uppercase and no spacing. for example: TOPIC_TEST.\n\t\t\tAlready existing topic can not be created", "operationId": "updateTopicByTopicName", "parameters": [ { "description": "update topic input", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/model.UpdateTopicRequest" } }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "topic name", "in": "path", "name": "topic", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "204": { "description": "No Content" }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "500": { "description": "Internal Server Error", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "update topic information by topic name", "tags": [ "notification", "public" ], "x-errorCodes": {}, "x-operationid": "lobby/public/notifications/v1/update-topic", "x-security": [ { "userPermissions": [ "NAMESPACE:{namespace}:TOPIC [UPDATE]" ] } ] } }, "/notification/namespaces/{namespace}/users/{userId}/freeform": { "post": { "consumes": [ "application/json" ], "description": "Sends notification to a user.", "operationId": "freeFormNotificationByUserID", "parameters": [ { "description": "notification content", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/model.FreeFormNotificationRequest" } }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "user ID", "in": "path", "name": "userId", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "204": { "description": "No Content" }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "send freeform notification to a user", "tags": [ "notification", "public" ], "x-errorCodes": {}, "x-operationid": "lobby/public/notifications/v1/send", "x-security": [ { "userPermissions": [ "NAMESPACE:{namespace}:USER:{userId}:NOTIFICATION [CREATE]" ] } ] } }, "/notification/namespaces/{namespace}/users/{userId}/templated": { "post": { "consumes": [ "application/json" ], "description": "Sends notification to a user with predefined template.\n\t\t\t\u0026lt;br\u0026gt;In the request body, specify which template slug (template identifier) to use and the template language.\n\t\t\t\u0026lt;br\u0026gt;NotificationTemplate context is the key-value pair defining the value of each handlebar specified in the template content.\n\t\t\tTemplate need to be published before it can be use to send notifications", "operationId": "notificationWithTemplateByUserID", "parameters": [ { "description": "notification content", "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/model.NotificationWithTemplateRequest" } }, { "description": "namespace", "in": "path", "name": "namespace", "required": true, "type": "string" }, { "description": "user ID", "in": "path", "name": "userId", "required": true, "type": "string" } ], "produces": [ "application/json" ], "responses": { "204": { "description": "No Content" }, "400": { "description": "Bad Request", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "401": { "description": "Unauthorized", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "403": { "description": "Forbidden", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } }, "404": { "description": "Not Found", "schema": { "$ref": "#/definitions/restapi.ErrorResponseBody" } } }, "security": [ { "authorization": [] } ], "summary": "send notification to a user with template", "tags": [ "notification", "public" ], "x-errorCodes": {}, "x-operationid": "lobby/public/notifications/v1/send-templated", "x-security": [ { "userPermissions": [ "NAMESPACE:{namespace}:USER:{userId}:NOTIFICATION [CREATE]" ] } ] } } }, "definitions": { "handlers.GetUsersPresenceResponse": { "properties": { "away": { "format": "int32", "type": "integer" }, "busy": { "format": "int32", "type": "integer" }, "data": { "items": { "$ref": "#/definitions/handlers.UserPresence" }, "type": "array" }, "invisible": { "format": "int32", "type": "integer" }, "offline": { "format": "int32", "type": "integer" }, "online": { "format": "int32", "type": "integer" } }, "required": [ "away", "busy", "data", "invisible", "offline", "online" ] }, "handlers.UserPresence": { "properties": { "activity": { "type": "string" }, "availability": { "type": "string" }, "lastSeenAt": { "type": "string" }, "namespace": { "type": "string" }, "platform": { "type": "string" }, "userID": { "type": "string" } }, "required": [ "activity", "availability", "lastSeenAt", "namespace", "platform", "userID" ] }, "log.AppMessageDeclaration": { "properties": { "Attributes": { "items": { "type": "string" }, "type": "array" }, "Code": { "type": "string" }, "CodeName": { "type": "string" }, "Section": { "type": "string" }, "Service": { "type": "string" }, "Text": { "type": "string" } }, "required": [ "Attributes", "Code", "CodeName", "Section", "Service", "Text" ] }, "logconfig.Configuration": { "properties": { "logLevel": { "enum": [ "debug", "error", "fatal", "info", "panic", "trace", "warning" ], "type": "string" }, "logLevelDB": { "enum": [ "debug", "error", "fatal", "info", "panic", "trace", "warning" ], "type": "string" }, "slowQueryThreshold": { "format": "int64", "type": "integer" }, "socketLogEnabled": { "type": "boolean", "x-omitempty": false } } }, "model.BulkFriendsRequest": { "properties": { "friendIds": { "items": { "type": "string" }, "type": "array" } }, "required": [ "friendIds" ] }, "model.BulkFriendsResponse": { "properties": { "rowsAffected": { "format": "int32", "type": "integer" } }, "required": [ "rowsAffected" ] }, "model.BulkUsersFreeFormNotificationRequestV1": { "properties": { "message": { "description": "free form message", "type": "string" }, "topicName": { "type": "string" }, "userIds": { "items": { "type": "string" }, "type": "array" } }, "required": [ "message", "topicName", "userIds" ] }, "model.CreateTemplateRequest": { "properties": { "templateContent": { "description": "template content, use handle bar {{key}} for replaceable context", "type": "string" }, "templateLanguage": { "description": "template language, follows IETF BCP 47 standard", "type": "string" }, "templateSlug": { "description": "template identifier, only alphabet characters and hyphens are permitted", "type": "string" } }, "required": [ "templateContent", "templateLanguage", "templateSlug" ] }, "model.CreateTopicRequest": { "properties": { "description": { "description": "topic description", "type": "string" }, "topic": { "description": "topic name, should be alphabets, no special char except underscore, uppercase and no spacing", "type": "string" } }, "required": [ "description", "topic" ] }, "model.CreateTopicRequestV1": { "properties": { "description": { "description": "topic description", "type": "string" }, "topicName": { "description": "topic name, should be alphabets, no special char except underscore, uppercase and no spacing", "type": "string" } }, "required": [ "description", "topicName" ] }, "model.FreeFormNotificationRequest": { "properties": { "message": { "description": "free form message", "type": "string" }, "topic": { "type": "string" } }, "required": [ "message", "topic" ] }, "model.FreeFormNotificationRequestV1": { "properties": { "message": { "description": "free form message", "type": "string" }, "topicName": { "type": "string" } }, "required": [ "message", "topicName" ] }, "model.FriendWithPlatform": { "properties": { "platformId": { "type": "string" }, "userId": { "type": "string" } }, "required": [ "platformId", "userId" ] }, "model.FriendshipConnection": { "properties": { "friendId": { "type": "string" }, "subjectId": { "type": "string" } }, "required": [ "friendId", "subjectId" ] }, "model.FriendshipConnectionResponse": { "properties": { "data": { "items": { "$ref": "#/definitions/model.FriendshipConnection" }, "type": "array" }, "paging": { "$ref": "#/definitions/model.Pagination" } }, "required": [ "data", "paging" ] }, "model.GetAllNotificationTemplateSlugResp": { "properties": { "data": { "items": { "$ref": "#/definitions/model.Localization" }, "type": "array" }, "paging": { "$ref": "#/definitions/model.Pagination" } }, "required": [ "data", "paging" ] }, "model.GetAllNotificationTopicsResponse": { "properties": { "data": { "items": { "$ref": "#/definitions/model.NotificationTopicResponseV1" }, "type": "array" }, "paging": { "$ref": "#/definitions/model.Pagination" } }, "required": [ "data", "paging" ] }, "model.GetFriendsResponse": { "properties": { "friendIDs": { "items": { "type": "string" }, "type": "array" }, "friends": { "items": { "$ref": "#/definitions/model.FriendWithPlatform" }, "type": "array" }, "friendsSinceTimes": { "items": { "format": "date-time", "type": "string", "x-nullable": false }, "type": "array" }, "paging": { "$ref": "#/definitions/model.Pagination" } }, "required": [ "friendIDs", "friendsSinceTimes", "paging" ] }, "model.GetUserFriendsResponse": { "properties": { "friendIDs": { "items": { "type": "string" }, "type": "array" }, "friends": { "items": { "$ref": "#/definitions/model.FriendWithPlatform" }, "type": "array" }, "paging": { "$ref": "#/definitions/model.Pagination" } }, "required": [ "friendIDs", "paging" ] }, "model.GetUserIncomingFriendsResponse": { "properties": { "friendIDs": { "items": { "type": "string" }, "type": "array" }, "paging": { "$ref": "#/definitions/model.Pagination" } }, "required": [ "friendIDs", "paging" ] }, "model.GetUserOutgoingFriendsResponse": { "properties": { "friendIDs": { "items": { "type": "string" }, "type": "array" }, "paging": { "$ref": "#/definitions/model.Pagination" } }, "required": [ "friendIDs", "paging" ] }, "model.GlobalConfiguration": { "properties": { "regionRetryMapping": { "additionalProperties": { "items": { "type": "string" }, "type": "array" }, "type": "object" }, "regionURLMapping": { "items": { "type": "string" }, "type": "array" }, "testGameMode": { "type": "string" }, "testRegionURLMapping": { "items": { "type": "string" }, "type": "array" }, "testTargetUserIDs": { "items": { "type": "string" }, "type": "array" }, "updatedAt": { "type": "string" } }, "required": [ "regionRetryMapping", "regionURLMapping", "testGameMode", "testRegionURLMapping", "testTargetUserIDs", "updatedAt" ] }, "model.IncomingFriendsWithTimeData": { "properties": { "friendId": { "type": "string" }, "requestedAt": { "format": "date-time", "type": "string", "x-nullable": false } }, "required": [ "friendId", "requestedAt" ] }, "model.ListBulkUserPlatformsResponse": { "properties": { "data": { "items": { "$ref": "#/definitions/model.UserWithPlatformInfo" }, "type": "array" } }, "required": [ "data" ] }, "model.LoadIncomingFriendsWithTimeResponse": { "properties": { "data": { "items": { "$ref": "#/definitions/model.IncomingFriendsWithTimeData" }, "type": "array" }, "paging": { "$ref": "#/definitions/model.Pagination" } }, "required": [ "data", "paging" ] }, "model.LoadOutgoingFriendsWithTimeResponse": { "properties": { "data": { "items": { "$ref": "#/definitions/model.OutgoingFriendsWithTimeData" }, "type": "array" }, "paging": { "$ref": "#/definitions/model.Pagination" } }, "required": [ "data", "paging" ] }, "model.Localization": { "properties": { "lastDraftAt": { "type": "string" }, "lastPublishedAt": { "type": "string" }, "templateContent": { "$ref": "#/definitions/model.TemplateContent" }, "templateLanguage": { "type": "string" } }, "required": [ "lastDraftAt", "lastPublishedAt", "templateContent", "templateLanguage" ] }, "model.NativeFriendRequest": { "properties": { "isLogin": { "type": "boolean", "x-omitempty": false }, "platformId": { "type": "string" }, "platformToken": { "type": "string" }, "psnEnv": { "type": "string" }, "syncDeletedFriend": { "type": "boolean", "x-omitempty": false } }, "required": [ "isLogin", "platformId" ] }, "model.NativeFriendSyncResponse": { "properties": { "detail": { "type": "string" }, "platformId": { "type": "string" }, "status": { "type": "string" } }, "required": [ "platformId", "status" ] }, "model.NativeUserBlockRequest": { "properties": { "platformId": { "type": "string" }, "psnEnv": { "type": "string" } }, "required": [ "platformId" ] }, "model.NativeUserBlockResponse": { "properties": { "detail": { "type": "string" }, "platformId": { "type": "string" }, "status": { "type": "string" } }, "required": [ "platformId", "status" ] }, "model.Notification": { "properties": { "from": { "type": "string" }, "payload": { "type": "string" }, "sentAtMs": { "format": "int64", "type": "integer" }, "to": { "type": "string" }, "topic": { "type": "string" }, "type": { "type": "string" } }, "required": [ "type" ] }, "model.NotificationResponse": { "properties": { "from": { "type": "string" }, "id": { "type": "string" }, "lobbySessionID": { "type": "string" }, "loginType": { "type": "string" }, "payload": { "type": "string" }, "reconnectFromCode": { "format": "int32", "type": "integer" }, "sentAt": { "type": "string" }, "sequenceID": { "format": "int32", "type": "integer" }, "sequenceNumber": { "format": "int32", "type": "integer" }, "to": { "type": "string" }, "topic": { "type": "string" }, "type": { "type": "string" } }, "required": [ "sequenceID", "sequenceNumber", "type" ] }, "model.NotificationTemplateResponse": { "properties": { "templateLocalizations": { "items": { "$ref": "#/definitions/model.Localization" }, "type": "array" }, "templateSlug": { "type": "string" } }, "required": [ "templateLocalizations", "templateSlug" ] }, "model.NotificationTopicResponse": { "properties": { "createdAt": { "format": "int64", "type": "integer" }, "description": { "type": "string" }, "namespace": { "type": "string" }, "topic": { "description": "topic name, should be alphabets, no special char except underscore, uppercase and no spacing", "type": "string" } }, "required": [ "createdAt", "description", "namespace", "topic" ] }, "model.NotificationTopicResponseV1": { "properties": { "createdAt": { "format": "int64", "type": "integer" }, "description": { "type": "string" }, "namespace": { "type": "string" }, "topicName": { "description": "topic name, should be alphabets, no special char except underscore, uppercase and no spacing", "type": "string" } }, "required": [ "createdAt", "description", "namespace", "topicName" ] }, "model.NotificationWithTemplateRequest": { "properties": { "templateContext": { "additionalProperties": { "type": "string" }, "type": "object" }, "templateLanguage": { "type": "string" }, "templateSlug": { "type": "string" }, "topic": { "type": "string" } }, "required": [ "templateContext", "templateLanguage", "templateSlug", "topic" ] }, "model.NotificationWithTemplateRequestV1": { "properties": { "templateContext": { "additionalProperties": { "type": "string" }, "type": "object" }, "templateLanguage": { "type": "string" }, "templateSlug": { "type": "string" }, "topicName": { "type": "string" } }, "required": [ "templateContext", "templateLanguage", "templateSlug", "topicName" ] }, "model.NotificationsResponse": { "properties": { "data": { "items": { "$ref": "#/definitions/model.Notification" }, "type": "array" } }, "required": [ "data" ] }, "model.OutgoingFriendsWithTimeData": { "properties": { "friendId": { "type": "string" }, "requestedAt": { "format": "date-time", "type": "string", "x-nullable": false } }, "required": [ "friendId", "requestedAt" ] }, "model.Pagination": { "properties": { "first": { "type": "string" }, "last": { "type": "string" }, "next": { "type": "string" }, "previous": { "type": "string" } }, "required": [ "first", "last", "next", "previous" ] }, "model.PutGlobalConfigurationRequest": { "properties": { "regionRetryMapping": { "additionalProperties": { "items": { "type": "string" }, "type": "array" }, "type": "object" }, "regionURLMapping": { "items": { "type": "string" }, "type": "array" }, "testGameMode": { "type": "string" }, "testRegionURLMapping": { "items": { "type": "string" }, "type": "array" }, "testTargetUserIDs": { "items": { "type": "string" }, "type": "array" } }, "required": [ "regionRetryMapping", "regionURLMapping", "testGameMode", "testRegionURLMapping", "testTargetUserIDs" ] }, "model.RequestUserPresence": { "properties": { "userIDs": { "items": { "type": "string" }, "type": "array" } } }, "model.TemplateContent": { "properties": { "draft": { "type": "string" }, "published": { "type": "string" } }, "required": [ "draft", "published" ] }, "model.TemplateLocalization": { "properties": { "lastDraftAt": { "type": "string" }, "lastPublishedAt": { "type": "string" }, "templateContent": { "$ref": "#/definitions/model.TemplateContent" }, "templateLanguage": { "type": "string" }, "templateSlug": { "type": "string" } }, "required": [ "lastDraftAt", "lastPublishedAt", "templateContent", "templateLanguage", "templateSlug" ] }, "model.TemplateLocalizationResponse": { "properties": { "first": { "description": "url for first page", "type": "string" }, "last": { "description": "url for last page", "type": "string" }, "next": { "description": "url for next page", "type": "string" }, "previous": { "description": "url for previous page", "type": "string" }, "templateLocalization": { "items": { "$ref": "#/definitions/model.TemplateLocalization" }, "type": "array" } }, "required": [ "first", "last", "next", "previous", "templateLocalization" ] }, "model.TemplateResponse": { "properties": { "localizations": { "items": { "$ref": "#/definitions/model.Localization" }, "type": "array" }, "templateSlug": { "type": "string" } }, "required": [ "localizations", "templateSlug" ] }, "model.TopicByNamespacesResponse": { "properties": { "first": { "description": "url for first page", "type": "string" }, "last": { "description": "url for last page", "type": "string" }, "next": { "description": "url for next page", "type": "string" }, "previous": { "description": "url for previous page", "type": "string" }, "topics": { "items": { "$ref": "#/definitions/model.NotificationTopicResponse" }, "type": "array" } }, "required": [ "first", "last", "next", "previous", "topics" ] }, "model.UpdateTemplateRequest": { "properties": { "templateContent": { "type": "string" } }, "required": [ "templateContent" ] }, "model.UpdateTopicRequest": { "properties": { "description": { "description": "topic description", "type": "string" } }, "required": [ "description" ] }, "model.UserAcceptFriendRequest": { "properties": { "friendId": { "type": "string" } }, "required": [ "friendId" ] }, "model.UserCancelFriendRequest": { "properties": { "friendId": { "type": "string" } }, "required": [ "friendId" ] }, "model.UserGetFriendshipStatusResponse": { "properties": { "code": { "format": "int32", "type": "integer" }, "name": { "type": "string" } }, "required": [ "code", "name" ] }, "model.UserPlatformInfo": { "properties": { "platformDisplayName": { "type": "string" }, "platformName": { "type": "string" }, "platformUserId": { "type": "string" } }, "required": [ "platformDisplayName", "platformName", "platformUserId" ] }, "model.UserRejectFriendRequest": { "properties": { "friendId": { "type": "string" } }, "required": [ "friendId" ] }, "model.UserRequestFriendRequest": { "properties": { "friendId": { "type": "string" }, "friendPublicId": { "type": "string" }, "metadata": { "additionalProperties": { "type": "string" }, "type": "object" } } }, "model.UserUnfriendRequest": { "properties": { "friendId": { "type": "string" } }, "required": [ "friendId" ] }, "model.UserWithPlatformInfo": { "properties": { "avatarUrl": { "type": "string" }, "displayName": { "type": "string" }, "platformInfos": { "items": { "$ref": "#/definitions/model.UserPlatformInfo" }, "type": "array" }, "userId": { "type": "string" }, "username": { "type": "string" } }, "required": [ "avatarUrl", "displayName", "platformInfos", "userId" ] }, "models.AdminAddProfanityFilterIntoListRequest": { "properties": { "filter": { "type": "string" }, "note": { "type": "string" } }, "required": [ "filter", "note" ] }, "models.AdminAddProfanityFiltersFilterRequest": { "properties": { "filter": { "type": "string" }, "note": { "type": "string" } }, "required": [ "filter", "note" ] }, "models.AdminAddProfanityFiltersRequest": { "properties": { "filters": { "items": { "$ref": "#/definitions/models.AdminAddProfanityFiltersFilterRequest" }, "type": "array" } }, "required": [ "filters" ] }, "models.AdminCreateProfanityListRequest": { "properties": { "isEnabled": { "type": "boolean", "x-omitempty": false }, "isMandatory": { "type": "boolean", "x-omitempty": false }, "name": { "type": "string" } }, "required": [ "isEnabled", "isMandatory", "name" ] }, "models.AdminDeleteProfanityFilterRequest": { "properties": { "filter": { "type": "string" } }, "required": [ "filter" ] }, "models.AdminGetProfanityListFiltersV1Response": { "properties": { "filters": { "items": { "$ref": "#/definitions/models.ProfanityFilter" }, "type": "array" } }, "required": [ "filters" ] }, "models.AdminGetProfanityListsListResponse": { "properties": { "isEnabled": { "type": "boolean", "x-omitempty": false }, "isMandatory": { "type": "boolean", "x-omitempty": false }, "name": { "type": "string" } }, "required": [ "isEnabled", "isMandatory", "name" ] }, "models.AdminSetProfanityRuleForNamespaceRequest": { "properties": { "rule": { "type": "string" } }, "required": [ "rule" ] }, "models.AdminUpdateProfanityList": { "properties": { "isEnabled": { "type": "boolean", "x-omitempty": false }, "isMandatory": { "type": "boolean", "x-omitempty": false }, "newName": { "type": "string" } }, "required": [ "isEnabled", "isMandatory", "newName" ] }, "models.AdminVerifyMessageProfanityRequest": { "properties": { "message": { "type": "string" }, "profanityLevel": { "type": "string" } }, "required": [ "message", "profanityLevel" ] }, "models.AdminVerifyMessageProfanityResponse": { "properties": { "filteredMessage": { "type": "string" }, "hasProfanity": { "type": "boolean", "x-omitempty": false } }, "required": [ "filteredMessage", "hasProfanity" ] }, "models.BlockPlayerRequest": { "properties": { "blockedUserId": { "type": "string" } }, "required": [ "blockedUserId" ] }, "models.BlockedByPlayerData": { "properties": { "blockedAt": { "format": "date-time", "type": "string", "x-nullable": false }, "userId": { "type": "string" } }, "required": [ "blockedAt", "userId" ] }, "models.BlockedPlayerData": { "properties": { "blockedAt": { "format": "date-time", "type": "string", "x-nullable": false }, "blockedUserId": { "type": "string" } }, "required": [ "blockedAt", "blockedUserId" ] }, "models.Config": { "properties": { "allowInviteNonConnectedUser": { "type": "boolean", "x-omitempty": false }, "allowJoinPartyDuringMatchmaking": { "type": "boolean", "x-omitempty": false }, "autoKickOnDisconnect": { "type": "boolean", "x-omitempty": false }, "autoKickOnDisconnectDelay": { "format": "int64", "type": "integer" }, "cancelTicketOnDisconnect": { "type": "boolean", "x-omitempty": false }, "chatRateLimitBurst": { "format": "int32", "type": "integer" }, "chatRateLimitDuration": { "format": "int64", "type": "integer" }, "concurrentUsersLimit": { "format": "int32", "type": "integer" }, "disableInvitationOnJoinParty": { "type": "boolean", "x-omitempty": false }, "disableRemoveSocketOldConnection": { "type": "boolean", "x-omitempty": false }, "enableChat": { "type": "boolean", "x-omitempty": false }, "entitlementCheck": { "type": "boolean", "x-omitempty": false }, "entitlementItemID": { "type": "string" }, "generalRateLimitBurst": { "format": "int32", "type": "integer" }, "generalRateLimitDuration": { "format": "int64", "type": "integer" }, "keepPresenceActivityOnDisconnect": { "type": "boolean", "x-omitempty": false }, "maxDSWaitTime": { "format": "int64", "type": "integer" }, "maxFriendsLimit": { "format": "int32", "type": "integer" }, "maxPartyMember": { "format": "int32", "type": "integer" }, "namespace": { "type": "string" }, "profanityFilter": { "type": "boolean", "x-omitempty": false }, "readyConsentTimeout": { "format": "int64", "type": "integer" }, "requestMetadataMaxSize": { "format": "int32", "type": "integer" }, "unregisterDelay": { "format": "int64", "type": "integer" }, "wsReadTimeout": { "format": "int64", "type": "integer" } }, "required": [ "maxDSWaitTime", "unregisterDelay" ] }, "models.ConfigList": { "properties": { "configs": { "items": { "$ref": "#/definitions/models.Config" }, "type": "array" } }, "required": [ "configs" ] }, "models.ConfigReq": { "properties": { "allowInviteNonConnectedUser": { "type": "boolean", "x-omitempty": false }, "allowJoinPartyDuringMatchmaking": { "type": "boolean", "x-omitempty": false }, "autoKickOnDisconnect": { "type": "boolean", "x-omitempty": false }, "autoKickOnDisconnectDelay": { "format": "int64", "type": "integer" }, "cancelTicketOnDisconnect": { "type": "boolean", "x-omitempty": false }, "chatRateLimitBurst": { "format": "int32", "type": "integer" }, "chatRateLimitDuration": { "format": "int64", "type": "integer" }, "concurrentUsersLimit": { "format": "int32", "type": "integer" }, "disableInvitationOnJoinParty": { "type": "boolean", "x-omitempty": false }, "enableChat": { "type": "boolean", "x-omitempty": false }, "entitlementCheck": { "type": "boolean", "x-omitempty": false }, "entitlementItemID": { "type": "string" }, "generalRateLimitBurst": { "format": "int32", "type": "integer" }, "generalRateLimitDuration": { "format": "int64", "type": "integer" }, "keepPresenceActivityOnDisconnect": { "type": "boolean", "x-omitempty": false }, "maxDSWaitTime": { "format": "int64", "type": "integer" }, "maxFriendsLimit": { "format": "int32", "type": "integer" }, "maxPartyMember": { "format": "int32", "type": "integer" }, "profanityFilter": { "type": "boolean", "x-omitempty": false }, "readyConsentTimeout": { "format": "int64", "type": "integer" }, "requestMetadataMaxSize": { "format": "int32", "type": "integer" }, "unregisterDelay": { "format": "int64", "type": "integer" }, "wsReadTimeout": { "format": "int64", "type": "integer" } } }, "models.CreateConfigRequest": { "properties": { "apiKey": { "type": "string" } }, "required": [ "apiKey" ] }, "models.CreateConfigResponse": { "properties": { "apiKey": { "type": "string" }, "namespace": { "type": "string" } }, "required": [ "apiKey", "namespace" ] }, "models.DebugProfanityFilterRequest": { "properties": { "text": { "type": "string" } }, "required": [ "text" ] }, "models.GetAllPlayerBlockedByUsersResponse": { "properties": { "data": { "items": { "$ref": "#/definitions/models.BlockedByPlayerData" }, "type": "array" } }, "required": [ "data" ] }, "models.GetAllPlayerBlockedUsersResponse": { "properties": { "data": { "items": { "$ref": "#/definitions/models.BlockedPlayerData" }, "type": "array" } }, "required": [ "data" ] }, "models.GetAllPlayerSessionAttributeResponse": { "properties": { "attributes": { "additionalProperties": { "type": "string" }, "type": "object" } }, "required": [ "attributes" ] }, "models.GetBulkAllPlayerBlockedUsersRequest": { "properties": { "listBlockedUserId": { "items": { "type": "string" }, "type": "array" } }, "required": [ "listBlockedUserId" ] }, "models.GetBulkAllPlayerBlockedUsersResponse": { "properties": { "data": { "additionalProperties": { "items": { "$ref": "#/definitions/models.BlockedPlayerData" }, "type": "array" }, "type": "object" } }, "required": [ "data" ] }, "models.GetConfigResponse": { "properties": { "apiKey": { "type": "string" }, "namespace": { "type": "string" } }, "required": [ "apiKey", "namespace" ] }, "models.GetLobbyCcuResponse": { "properties": { "countCurrentUsers": { "format": "int32", "type": "integer" } }, "required": [ "countCurrentUsers" ] }, "models.GetPlayerSessionAttributeResponse": { "properties": { "key": { "type": "string" }, "value": { "type": "string" } }, "required": [ "key", "value" ] }, "models.ImportConfigResponse": { "properties": { "failedConfigs": { "items": { "type": "string" }, "type": "array" }, "ignoredConfigs": { "items": { "type": "string" }, "type": "array" }, "newConfigs": { "items": { "type": "string" }, "type": "array" }, "replacedConfigs": { "items": { "type": "string" }, "type": "array" } }, "required": [ "failedConfigs", "ignoredConfigs", "newConfigs", "replacedConfigs" ] }, "models.ListBlockedPlayerRequest": { "properties": { "listBlockedUserId": { "items": { "type": "string" }, "type": "array" } }, "required": [ "listBlockedUserId" ] }, "models.ListUnblockPlayerRequest": { "properties": { "listUnblockUserId": { "items": { "type": "string" }, "type": "array" } }, "required": [ "listUnblockUserId" ] }, "models.PartyData": { "properties": { "custom_attribute": { "type": "object" }, "invitees": { "items": { "type": "string" }, "type": "array" }, "leader": { "type": "string" }, "members": { "items": { "type": "string" }, "type": "array" }, "namespace": { "type": "string" }, "partyId": { "type": "string" }, "updatedAt": { "format": "int64", "type": "integer" } }, "required": [ "custom_attribute", "invitees", "leader", "members", "namespace", "partyId", "updatedAt" ] }, "models.PartyPUTCustomAttributesRequest": { "properties": { "custom_attribute": { "type": "object" }, "updatedAt": { "format": "int64", "type": "integer" } }, "required": [ "custom_attribute", "updatedAt" ] }, "models.PartyPUTLimitSizeRequest": { "properties": { "limit": { "format": "int32", "type": "integer" } }, "required": [ "limit" ] }, "models.ProfanityFilter": { "properties": { "filter": { "type": "string" }, "listName": { "type": "string" }, "namespace": { "type": "string" }, "note": { "type": "string" } }, "required": [ "filter", "listName", "namespace", "note" ] }, "models.ProfanityRule": { "properties": { "Namespace": { "type": "string" }, "Rule": { "type": "string" } }, "required": [ "Namespace", "Rule" ] }, "models.SetPlayerSessionAttributeRequest": { "properties": { "attributes": { "additionalProperties": { "type": "string" }, "type": "object" } }, "required": [ "attributes" ] }, "models.UnblockPlayerRequest": { "properties": { "userId": { "type": "string" } }, "required": [ "userId" ] }, "models.UpdateConfigRequest": { "properties": { "apiKey": { "type": "string" } }, "required": [ "apiKey" ] }, "models.UpdateConfigResponse": { "properties": { "apiKey": { "type": "string" }, "namespace": { "type": "string" } }, "required": [ "apiKey", "namespace" ] }, "response.Error": { "properties": { "errorCode": { "format": "int32", "type": "integer" }, "errorMessage": { "type": "string" } }, "required": [ "errorCode", "errorMessage" ] }, "restapi.ErrorResponseBody": { "properties": { "ErrorCode": { "format": "int32", "type": "integer" }, "ErrorMessage": { "type": "string" } }, "required": [ "ErrorCode", "ErrorMessage" ] }, "restapi.ErrorResponseV1": { "properties": { "errorCode": { "format": "int32", "type": "integer" }, "errorMessage": { "type": "string" } }, "required": [ "errorCode", "errorMessage" ] } }, "x-docs": { "alias": "lobby", "host": "https://stage.accelbyte.io", "path": "/lobby/apidocs/api.json" }, "x-messages": [ { "Attributes": [], "Code": "1000", "CodeName": "WSNormalClosure", "Section": "websocket spec", "Service": "websocket", "Text": "lobby websocket closed normally" }, { "Attributes": [], "Code": "3101", "CodeName": "DisconnectSenderBrokenPipe", "Section": "disconnect with reconnect (sender)", "Service": "lobby disconnect (with reconnect)", "Text": "Disconnect WS due to failed to send message to client (broken pipe)" }, { "Attributes": [], "Code": "3102", "CodeName": "DisconnectSenderUnhandledError", "Section": "disconnect with reconnect (sender)", "Service": "lobby disconnect (with reconnect)", "Text": "Disconnect WS due to unhandled error in sending message to client" }, { "Attributes": [], "Code": "3103", "CodeName": "DisconnectSenderUnableToPing", "Section": "disconnect with reconnect (sender)", "Service": "lobby disconnect (with reconnect)", "Text": "Disconnect WS due to unable to send ping" }, { "Attributes": [], "Code": "3120", "CodeName": "DisconnectReaderIOTimeout", "Section": "disconnect with reconnect (reader)", "Service": "lobby disconnect (with reconnect)", "Text": "Disconnect WS due to server-side I/O timeout" }, { "Attributes": [], "Code": "3121", "CodeName": "DisconnectReaderUnexpectedEOF", "Section": "disconnect with reconnect (reader)", "Service": "lobby disconnect (with reconnect)", "Text": "Disconnect WS due to server-side unexpected EOF" }, { "Attributes": [], "Code": "3122", "CodeName": "DisconnectReaderUnhandledCloseError", "Section": "disconnect with reconnect (reader)", "Service": "lobby disconnect (with reconnect)", "Text": "Disconnect WS due to unknown/unhandled close error" }, { "Attributes": [], "Code": "3130", "CodeName": "DisconnectConnIOTimeout", "Section": "disconnect with reconnect (connection issue)", "Service": "lobby disconnect (with reconnect)", "Text": "Disconnect WS due to connection IO Timeout" }, { "Attributes": [], "Code": "3131", "CodeName": "DisconnectConnResetByPeer", "Section": "disconnect with reconnect (connection issue)", "Service": "lobby disconnect (with reconnect)", "Text": "Disconnect WS due to connection reset by peer" }, { "Attributes": [], "Code": "3132", "CodeName": "DisconnectConnClosed", "Section": "disconnect with reconnect (connection issue)", "Service": "lobby disconnect (with reconnect)", "Text": "Disconnect WS due to use of closed connection" }, { "Attributes": [], "Code": "4000", "CodeName": "DisconnectServerShutdown", "Section": "disconnect without reconnect (general)", "Service": "lobby disconnects (no reconnect)", "Text": "Disconnect WS due to ServerShutdown" }, { "Attributes": [], "Code": "4005", "CodeName": "DisconnectNoStatus", "Section": "disconnect without reconnect (general)", "Service": "lobby disconnects (no reconnect)", "Text": "Disconnected WS but no status received" }, { "Attributes": [], "Code": "4020", "CodeName": "DisconnectTokenRevokedCode", "Section": "disconnect without reconnect (iam related)", "Service": "lobby disconnects (no reconnect)", "Text": "Disconnect WS due to TokenRevokedCode" }, { "Attributes": [], "Code": "4021", "CodeName": "DisconnectDueToIAMLoggedOut", "Section": "disconnect without reconnect (iam related)", "Service": "lobby disconnects (no reconnect)", "Text": "Disconnect WS because logged out from IAM service" }, { "Attributes": [], "Code": "4022", "CodeName": "DisconnectDueToIAMDisconnect", "Section": "disconnect without reconnect (iam related)", "Service": "lobby disconnects (no reconnect)", "Text": "Disconnect WS because IAM service requested disconnect" }, { "Attributes": [], "Code": "4040", "CodeName": "DisconnectDueToFastReconnect", "Section": "disconnect without reconnect (multiple connect)", "Service": "lobby disconnects (no reconnect)", "Text": "Disconnect WS due to FastReconnect" }, { "Attributes": [], "Code": "4041", "CodeName": "DisconnectDueToMultipleSessions", "Section": "disconnect without reconnect (multiple connect)", "Service": "lobby disconnects (no reconnect)", "Text": "Disconnect WS due to Multiple Sessions Login" }, { "Attributes": [ "message" ], "Code": "4042", "CodeName": "DisconnectFromExternalReconnect", "Section": "disconnect without reconnect (multiple connect)", "Service": "lobby disconnects (no reconnect)", "Text": "Disconnect WS due to ExternalReconnect, msg: {{message}}" }, { "Attributes": [], "Code": "4060", "CodeName": "DisconnectDueCCULimiter", "Section": "disconnect without reconnect (other)", "Service": "lobby disconnects (no reconnect)", "Text": "Disconnect WS caused by CCU limit adjustment" }, { "Attributes": [], "Code": "4098", "CodeName": "DisconnectDelayedLost", "Section": "disconnect without reconnect (other)", "Service": "lobby disconnects (no reconnect)", "Text": "Delayed disconnect with unknown error code" }, { "Attributes": [], "Code": "4099", "CodeName": "DisconnectUnknownError", "Section": "disconnect without reconnect (other)", "Service": "lobby disconnects (no reconnect)", "Text": "Disconnect WS because unknown error" }, { "Attributes": [ "userID" ], "Code": "11221", "CodeName": "PartyInfoUnableGetUserRegistry", "Section": "get user party info", "Service": "lobby", "Text": "unable to get user registry. UserID: {{userID}}" }, { "Attributes": [ "partyID" ], "Code": "11222", "CodeName": "PartyInfoUnableGetUserPartyInfo", "Section": "get user party info", "Service": "lobby", "Text": "unable to get party info. PartyID: {{partyID}}" }, { "Attributes": [], "Code": "11223", "CodeName": "PartyInfoSuccessGetUserPartyInfoEmpty", "Section": "get user party info", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11224", "CodeName": "PartyInfoSuccessGetUserPartyInfo", "Section": "get user party info", "Service": "lobby", "Text": "" }, { "Attributes": [ "userID" ], "Code": "11225", "CodeName": "ChangeRegionUnableGetUserRegistry", "Section": "get user party info", "Service": "lobby", "Text": "unable to get user registry. UserID: {{userID}}" }, { "Attributes": [], "Code": "11231", "CodeName": "PartyCreationUnableGetUserRegistry", "Section": "party creation", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11232", "CodeName": "PartyCreationAlreadyInParty", "Section": "party creation", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11233", "CodeName": "PartyCreationUnableCreateParty", "Section": "party creation", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11234", "CodeName": "PartyCreationSuccessCreateParty", "Section": "party creation", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11235", "CodeName": "PartyCreationUnableToGenerateCode", "Section": "party creation", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11241", "CodeName": "PartyLeaveUnableGetUserRegistry", "Section": "party leave", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11242", "CodeName": "PartyLeavePartyIsNil", "Section": "party leave", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11243", "CodeName": "PartyLeavePartyNotFound", "Section": "party leave", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11244", "CodeName": "PartyLeaveUserNotInParty", "Section": "party leave", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11245", "CodeName": "PartyLeaveUnableToLeaveParty", "Section": "party leave", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11246", "CodeName": "PartyLeaveSuccessLeaveParty", "Section": "party leave", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11251", "CodeName": "PartyInviteUnableGetUserRegistry", "Section": "party invite", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11252", "CodeName": "PartyInviteInviteeNotFound", "Section": "party invite", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11253", "CodeName": "PartyInviteNotInParty", "Section": "party invite", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11254", "CodeName": "PartyInviteInviteeInParty", "Section": "party invite", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11255", "CodeName": "PartyInviteUnableInviteToParty", "Section": "party invite", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11256", "CodeName": "PartyInviteSuccessInviteToParty", "Section": "party invite", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11257", "CodeName": "PartyInviteInviteeAlreadyInvited", "Section": "party invite", "Service": "lobby", "Text": "invitee already invited a party too recently" }, { "Attributes": [], "Code": "11271", "CodeName": "PartyKickUnableGetUserRegistry", "Section": "party kick", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11272", "CodeName": "PartyKickNotInParty", "Section": "party kick", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11273", "CodeName": "PartyKickNotLeader", "Section": "party kick", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11274", "CodeName": "PartyKickKickeeNotInParty", "Section": "party kick", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11275", "CodeName": "PartyKickUnableKickUser", "Section": "party kick", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11276", "CodeName": "PartyKickSuccessKickUser", "Section": "party kick", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11277", "CodeName": "PartyKickKickOwnSelf", "Section": "party kick", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11281", "CodeName": "PersonalChatUnableGetUserRegistry", "Section": "personal chat", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11282", "CodeName": "PersonalChatSenderBanned", "Section": "personal chat", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11283", "CodeName": "PersonalChatReceiverBanned", "Section": "personal chat", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11284", "CodeName": "PersonalChatReceiverNotFound", "Section": "personal chat", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11285", "CodeName": "PersonalChatUnableSaveChat", "Section": "personal chat", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11286", "CodeName": "PersonalChatSuccessSendChat", "Section": "personal chat", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11287", "CodeName": "PersonalChatUnableGetBlocked", "Section": "personal chat", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11291", "CodeName": "PartyChatUnableGetUserRegistry", "Section": "party chat", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11292", "CodeName": "PartyChatSenderBanned", "Section": "party chat", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11293", "CodeName": "PartyChatPartyNotFound", "Section": "party chat", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11294", "CodeName": "PartyChatUnableSaveChat", "Section": "party chat", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11295", "CodeName": "PartyChatReceiverBanned", "Section": "party chat", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11296", "CodeName": "PartyChatReceiverNotFound", "Section": "party chat", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11297", "CodeName": "PartyChatSuccessSendChat", "Section": "party chat", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11301", "CodeName": "ListFriendsUnableGetUserRegistry", "Section": "list friends", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11303", "CodeName": "ListFriendsUnableGetOnlineFiends", "Section": "list friends", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11304", "CodeName": "ListFriendsSuccessGetOnlineFriends", "Section": "list friends", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11305", "CodeName": "ListFriendsUnableGetAllOnlineUsers", "Section": "list friends", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11311", "CodeName": "ListNotificationUnableGetUserRegistry", "Section": "get all notification", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11312", "CodeName": "ListNotificationUnableGetUserNotification", "Section": "get all notification", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11313", "CodeName": "ListNotificationSuccessGetUserNotification", "Section": "get all notification", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11314", "CodeName": "ListNotificationUnableDeleteUserNotification", "Section": "get all notification", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11321", "CodeName": "ProccessNotificationUnableUnmarshalPayload", "Section": "process notification", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11322", "CodeName": "ProccessNotificationUnableGetUserRegistry", "Section": "process notification", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11323", "CodeName": "ProccessNotificationUserNotFound", "Section": "process notification", "Service": "lobby", "Text": "user not found" }, { "Attributes": [], "Code": "11324", "CodeName": "ProccessNotificationSuccessSend", "Section": "process notification", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11325", "CodeName": "ProccessNotificationSuccessSendBroadcastNamespace", "Section": "process notification", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11330", "CodeName": "SetUserStatusSuccessSetStatus", "Section": "set user status", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11331", "CodeName": "SetUserStatusUnableSetStatus", "Section": "set user status", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11332", "CodeName": "SetUserStatusUnableGetUserRegistry", "Section": "set user status", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11333", "CodeName": "SetUserStatusUnableGetFriendsList", "Section": "set user status", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11334", "CodeName": "ResetUserStatusUnableGetFriendsList", "Section": "set user status", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11335", "CodeName": "ResetUserStatusUnableResetStatus", "Section": "set user status", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11336", "CodeName": "ResetUserStatusSuccess", "Section": "set user status", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11337", "CodeName": "ResetUserStatusUnableToGetBlockedUser", "Section": "set user status", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11341", "CodeName": "ListFriendsPresenceUnableGetUserRegistry", "Section": "list friends presence", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11343", "CodeName": "ListFriendsPresenceUnableGetOnlineFiends", "Section": "list friends presence", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11344", "CodeName": "ListFriendsPresenceUnableGetFriendsPresence", "Section": "list friends presence", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11345", "CodeName": "ListFriendsPresenceSuccessGetFriendsPresence", "Section": "list friends presence", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11346", "CodeName": "RequestPresenceDataByUserIDsBadRequest", "Section": "list friends presence", "Service": "lobby", "Text": "unable to request presence data: unable to parse request" }, { "Attributes": [], "Code": "11351", "CodeName": "NotifyFriendsUnableGetFiends", "Section": "notify friends presence", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11352", "CodeName": "NotifyFriendsUnableMarshalPayload", "Section": "notify friends presence", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11353", "CodeName": "NotifyFriendsUnableUnmarshalPayload", "Section": "notify friends presence", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11354", "CodeName": "NotifyFriendsUserNotFound", "Section": "notify friends presence", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11355", "CodeName": "NotifyFriendsUnableNotifyFriends", "Section": "notify friends presence", "Service": "lobby", "Text": "" }, { "Attributes": [ "partyID", "userID" ], "Code": "11370", "CodeName": "PartyPromoteLeaderSuccess", "Section": "party promote member as leader", "Service": "lobby", "Text": "party member with id {{userID}} promoted to leader of the party {{partyID}}" }, { "Attributes": [ "errMessage" ], "Code": "11371", "CodeName": "PartyPromoteLeaderUnableToGetUserRegistry", "Section": "party promote member as leader", "Service": "lobby", "Text": "unable to get user: {{errMessage}}" }, { "Attributes": [ "errMessage" ], "Code": "11372", "CodeName": "PartyPromoteLeaderUnableToGetPartyInfo", "Section": "party promote member as leader", "Service": "lobby", "Text": "unable to get party: {{errMessage}}" }, { "Attributes": [], "Code": "11373", "CodeName": "PartyPromoteLeaderUserPartyNotFound", "Section": "party promote member as leader", "Service": "lobby", "Text": "party not found" }, { "Attributes": [], "Code": "11374", "CodeName": "PartyPromoteLeaderUserNotLeader", "Section": "party promote member as leader", "Service": "lobby", "Text": "user need to be a leader to promote another member" }, { "Attributes": [ "errMessage" ], "Code": "11375", "CodeName": "PartyPromoteLeaderUnableToPromoteLeader", "Section": "party promote member as leader", "Service": "lobby", "Text": "unable to promote member to leader: {{errMessage}}" }, { "Attributes": [ "code", "partyID", "userID" ], "Code": "11380", "CodeName": "GeneratePartyCodeSuccess", "Section": "generate party code", "Service": "lobby", "Text": "party leader with id {{userID}} generated code {{code}} for party {{partyID}}" }, { "Attributes": [ "errMessage" ], "Code": "11381", "CodeName": "GeneratePartyCodeUserNotFound", "Section": "generate party code", "Service": "lobby", "Text": "unable to get user: {{errMessage}}" }, { "Attributes": [ "errMessage" ], "Code": "11382", "CodeName": "GeneratePartyCodeUnableToGetPartyInfo", "Section": "generate party code", "Service": "lobby", "Text": "unable to get party: {{errMessage}}" }, { "Attributes": [], "Code": "11383", "CodeName": "GeneratePartyCodeUserPartyNotFound", "Section": "generate party code", "Service": "lobby", "Text": "party not found" }, { "Attributes": [], "Code": "11384", "CodeName": "GeneratePartyCodeUserNotLeader", "Section": "generate party code", "Service": "lobby", "Text": "user need to be a leader to generate code" }, { "Attributes": [ "errMessage" ], "Code": "11385", "CodeName": "GeneratePartyCodeUnableToGenerateCode", "Section": "generate party code", "Service": "lobby", "Text": "unable to generate code: {{errMessage}}" }, { "Attributes": [ "code", "partyID" ], "Code": "11390", "CodeName": "GetPartyCodeSuccess", "Section": "get party code", "Service": "lobby", "Text": "party {{partyID}} queried party code {{code}}" }, { "Attributes": [ "errMessage" ], "Code": "11391", "CodeName": "GetPartyCodeUserNotFound", "Section": "get party code", "Service": "lobby", "Text": "unable to get user: {{errMessage}}" }, { "Attributes": [ "errMessage" ], "Code": "11392", "CodeName": "GetPartyCodeUnableToGetPartyInfo", "Section": "get party code", "Service": "lobby", "Text": "unable to get party: {{errMessage}}" }, { "Attributes": [], "Code": "11393", "CodeName": "GetPartyCodeUserPartyNotFound", "Section": "get party code", "Service": "lobby", "Text": "party not found" }, { "Attributes": [], "Code": "11394", "CodeName": "GetPartyCodeUserNotLeader", "Section": "get party code", "Service": "lobby", "Text": "user need to be a leader to get code" }, { "Attributes": [ "errMessage" ], "Code": "11395", "CodeName": "GetPartyCodeUnableToGetCode", "Section": "get party code", "Service": "lobby", "Text": "unable to get code: {{errMessage}}" }, { "Attributes": [], "Code": "11400", "CodeName": "FreeNotificationSuccess", "Section": "send free form notification", "Service": "lobby", "Text": "" }, { "Attributes": [ "message" ], "Code": "11401", "CodeName": "FreeNotificationInvalidRequestBody", "Section": "send free form notification", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11402", "CodeName": "FreeNotificationInvalidQueryParam", "Section": "send free form notification", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11403", "CodeName": "FreeNotificationUnablePublishNotification", "Section": "send free form notification", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11404", "CodeName": "FreeNotificationUserNotFound", "Section": "send free form notification", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [], "Code": "11410", "CodeName": "GetNotificationsSuccess", "Section": "get notifications", "Service": "lobby", "Text": "" }, { "Attributes": [ "message" ], "Code": "11411", "CodeName": "GetNotificationsUserNotFound", "Section": "get notifications", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11412", "CodeName": "GetNotificationsUnableToGetNotifications", "Section": "get notifications", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11413", "CodeName": "GetNotificationsUnableToWriteResponse", "Section": "get notifications", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11414", "CodeName": "GetNotificationsInvalidRequestBody", "Section": "get notifications", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [], "Code": "11420", "CodeName": "TemplateNotificationSuccess", "Section": "send templated notification", "Service": "lobby", "Text": "" }, { "Attributes": [ "message" ], "Code": "11421", "CodeName": "TemplateNotificationInvalidQueryParam", "Section": "send templated notification", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11422", "CodeName": "TemplateNotificationInvalidRequestBody", "Section": "send templated notification", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11423", "CodeName": "TemplateNotificationUnableLoadTemplate", "Section": "send templated notification", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11424", "CodeName": "TemplateNotificationTemplateNotFound", "Section": "send templated notification", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11425", "CodeName": "TemplateNotificationUnableParseTemplate", "Section": "send templated notification", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11426", "CodeName": "TemplateNotificationIncompleteTemplateContext", "Section": "send templated notification", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11427", "CodeName": "TemplateNotificationUnableRenderTemplate", "Section": "send templated notification", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11428", "CodeName": "TemplateNotificationUserNotFound", "Section": "send templated notification", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11429", "CodeName": "TemplateNotificationUnablePublishNotification", "Section": "send templated notification", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [], "Code": "11430", "CodeName": "CreateTemplateSuccess", "Section": "create template", "Service": "lobby", "Text": "" }, { "Attributes": [ "message" ], "Code": "11431", "CodeName": "CreateTemplateInvalidRequestBody", "Section": "create template", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11432", "CodeName": "CreateTemplateInvalidTemplateInput", "Section": "create template", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11433", "CodeName": "CreateTemplateAlreadyExist", "Section": "create template", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11434", "CodeName": "CreateTemplateUnableSaveTemplate", "Section": "create template", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [], "Code": "11440", "CodeName": "PublishTemplateSuccess", "Section": "publish template", "Service": "lobby", "Text": "" }, { "Attributes": [ "message" ], "Code": "11441", "CodeName": "PublishTemplateUnableLoadTemplate", "Section": "publish template", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11442", "CodeName": "PublishTemplateNotFound", "Section": "publish template", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11443", "CodeName": "PublishTemplateUnableSaveTemplate", "Section": "publish template", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [], "Code": "11450", "CodeName": "GetNamespaceTemplateSuccess", "Section": "get namespace templates", "Service": "lobby", "Text": "" }, { "Attributes": [ "message" ], "Code": "11451", "CodeName": "GetNamespaceTemplateUnableLoadTemplate", "Section": "get namespace templates", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11452", "CodeName": "GetNamespaceTemplateNotFound", "Section": "get namespace templates", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11453", "CodeName": "GetNamespaceTemplateUnableWriteResponse", "Section": "get namespace templates", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [], "Code": "11460", "CodeName": "GetSlugTemplateSuccess", "Section": "get slug templates", "Service": "lobby", "Text": "" }, { "Attributes": [ "message" ], "Code": "11461", "CodeName": "GetSlugTemplateUnableWriteResponse", "Section": "get slug templates", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11462", "CodeName": "GetSlugTemplateUnableLoad", "Section": "get slug templates", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11463", "CodeName": "GetSlugTemplateNotFound", "Section": "get slug templates", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11464", "CodeName": "GetSlugTemplateInvalidRequestBody", "Section": "get slug templates", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [], "Code": "11470", "CodeName": "GetLanguageTemplateSuccess", "Section": "get language templates", "Service": "lobby", "Text": "" }, { "Attributes": [ "message" ], "Code": "11471", "CodeName": "GetLanguageTemplateUnableWriteResponse", "Section": "get language templates", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11472", "CodeName": "GetLanguageTemplateUnableLoadTemplate", "Section": "get language templates", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11473", "CodeName": "GetLanguageTemplateNotFound", "Section": "get language templates", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [], "Code": "11480", "CodeName": "UpdateLanguageTemplateSuccess", "Section": "update language templates", "Service": "lobby", "Text": "" }, { "Attributes": [ "message" ], "Code": "11481", "CodeName": "UpdateLanguageTemplateUnableWriteResponse", "Section": "update language templates", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11482", "CodeName": "UpdateLanguageUnableLoadtemplate", "Section": "update language templates", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11483", "CodeName": "UpdateLanguageNotFound", "Section": "update language templates", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11484", "CodeName": "UpdateLanguageInvalidTemplateBody", "Section": "update language templates", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [], "Code": "11490", "CodeName": "DeleteSlugTemplateSuccess", "Section": "delete slug templates", "Service": "lobby", "Text": "" }, { "Attributes": [ "message" ], "Code": "11491", "CodeName": "DeleteSlugUnableToDelete", "Section": "delete slug templates", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [], "Code": "11500", "CodeName": "DeleteLanguageTemplateSuccess", "Section": "delete language templates", "Service": "lobby", "Text": "" }, { "Attributes": [ "message" ], "Code": "11501", "CodeName": "DeleteLanguageUnableToDelete", "Section": "delete language templates", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [], "Code": "11505", "CodeName": "SuccessSendToUsers", "Section": "delete language templates", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11506", "CodeName": "UnableSendToUsers", "Section": "delete language templates", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11507", "CodeName": "OtherFeatureBanNotification", "Section": "delete language templates", "Service": "lobby", "Text": "user banned from some feature" }, { "Attributes": [], "Code": "11508", "CodeName": "OtherFeatureUnbanNotification", "Section": "delete language templates", "Service": "lobby", "Text": "user unbanned from some feature" }, { "Attributes": [], "Code": "11510", "CodeName": "CreateTopicSuccess", "Section": "create topic", "Service": "lobby", "Text": "" }, { "Attributes": [ "message" ], "Code": "11511", "CodeName": "CreateTopicInvalidRequestBody", "Section": "create topic", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11512", "CodeName": "CreateTopicAlreadyExist", "Section": "create topic", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11513", "CodeName": "CreateTopicUnableSaveTopic", "Section": "create topic", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [], "Code": "11520", "CodeName": "GetTopicByNamespaceSuccess", "Section": "get topic by namespace", "Service": "lobby", "Text": "" }, { "Attributes": [ "message" ], "Code": "11521", "CodeName": "GetTopicByNamespaceInvalidRequestBody", "Section": "get topic by namespace", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11522", "CodeName": "GetTopicByNamespaceUnableLoadTopic", "Section": "get topic by namespace", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11523", "CodeName": "GetTopicByNamespaceNotFound", "Section": "get topic by namespace", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11524", "CodeName": "GetTopicByNamespaceUnableWriteResponse", "Section": "get topic by namespace", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [], "Code": "11530", "CodeName": "GetTopicByTopicNameSuccess", "Section": "get topic by topic name", "Service": "lobby", "Text": "" }, { "Attributes": [ "message" ], "Code": "11531", "CodeName": "GetTopicByTopicNameInvalidRequestBody", "Section": "get topic by topic name", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11532", "CodeName": "GetTopicByTopicNameUnableLoadTopic", "Section": "get topic by topic name", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11533", "CodeName": "GetTopicByTopicNameNotFound", "Section": "get topic by topic name", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11534", "CodeName": "GetTopicByTopicNameUnableWriteResponse", "Section": "get topic by topic name", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [], "Code": "11540", "CodeName": "UpdateTopicByTopicNameSuccess", "Section": "update topic by topic name", "Service": "lobby", "Text": "" }, { "Attributes": [ "message" ], "Code": "11541", "CodeName": "UpdateTopicByTopicNameInvalidRequestBody", "Section": "update topic by topic name", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11542", "CodeName": "UpdateTopicByTopicNameUnableUpdateTopic", "Section": "update topic by topic name", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11543", "CodeName": "UpdateTopicByTopicNameNotFound", "Section": "update topic by topic name", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [], "Code": "11550", "CodeName": "DeleteTopicByTopicNameSuccess", "Section": "update topic by topic name", "Service": "lobby", "Text": "" }, { "Attributes": [ "message" ], "Code": "11551", "CodeName": "DeleteTopicByTopicNameInvalidRequestBody", "Section": "update topic by topic name", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11552", "CodeName": "DeleteTopicByTopicNameUnableDeleteTopic", "Section": "update topic by topic name", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11553", "CodeName": "DeleteTopicByTopicNameNotFound", "Section": "update topic by topic name", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "partyID", "userID" ], "Code": "11560", "CodeName": "DeletePartyCodeSuccess", "Section": "remove party code", "Service": "lobby", "Text": "party leader with id {{userID}} removed code for party {{partyID}}" }, { "Attributes": [ "errMessage" ], "Code": "11561", "CodeName": "DeletePartyCodeUserNotFound", "Section": "remove party code", "Service": "lobby", "Text": "unable to get user: {{errMessage}}" }, { "Attributes": [ "errMessage" ], "Code": "11562", "CodeName": "DeletePartyCodeUnableToGetPartyInfo", "Section": "remove party code", "Service": "lobby", "Text": "unable to get party: {{errMessage}}" }, { "Attributes": [], "Code": "11563", "CodeName": "DeletePartyCodeUserPartyNotFound", "Section": "remove party code", "Service": "lobby", "Text": "party not found" }, { "Attributes": [], "Code": "11564", "CodeName": "DeletePartyCodeUserNotLeader", "Section": "remove party code", "Service": "lobby", "Text": "user need to be a leader to delete code" }, { "Attributes": [ "errMessage" ], "Code": "11565", "CodeName": "DeletePartyCodeUnableToDeleteCode", "Section": "remove party code", "Service": "lobby", "Text": "unable to delete code: {{errMessage}}" }, { "Attributes": [], "Code": "11590", "CodeName": "RequesterMaxFriendsLimitReached", "Section": "friends other", "Service": "lobby", "Text": "requester max friends limit reached" }, { "Attributes": [], "Code": "11591", "CodeName": "RequesteeMaxFriendsLimitReached", "Section": "friends other", "Service": "lobby", "Text": "requestee max friends limit reached" }, { "Attributes": [], "Code": "11592", "CodeName": "NativeFriendSyncInvalidRequestBody", "Section": "friends other", "Service": "lobby", "Text": "invalid request body" }, { "Attributes": [], "Code": "11593", "CodeName": "NativeFriendSyncSuccess", "Section": "friends other", "Service": "lobby", "Text": "sync success" }, { "Attributes": [], "Code": "11594", "CodeName": "NativeUserBlockSyncInvalidRequestBody", "Section": "friends other", "Service": "lobby", "Text": "invalid request body" }, { "Attributes": [], "Code": "11595", "CodeName": "NativeUserBlockSyncSuccess", "Section": "friends other", "Service": "lobby", "Text": "sync success" }, { "Attributes": [], "Code": "11600", "CodeName": "StartMatchmakingSuccess", "Section": "start matchmaking", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11601", "CodeName": "StartMatchmakingUnableToPush", "Section": "start matchmaking", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11602", "CodeName": "StartMatchmakingUnableToFindUserRegistry", "Section": "start matchmaking", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11603", "CodeName": "StartMatchmakingUserNotInParty", "Section": "start matchmaking", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11604", "CodeName": "StartMatchmakingUnableToFindUserParty", "Section": "start matchmaking", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11605", "CodeName": "StartMatchmakingNotPartyLeader", "Section": "start matchmaking", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11606", "CodeName": "StartMatchmakingUnableToStoreMMStatus", "Section": "start matchmaking", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11607", "CodeName": "StartMatchmakingMemberBanned", "Section": "start matchmaking", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11608", "CodeName": "StartMatchmakingUnableToQueryEQU8", "Section": "start matchmaking", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11609", "CodeName": "StartMatchmakingChannelListNotFound", "Section": "start matchmaking", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11610", "CodeName": "CancelMatchmakingSuccess", "Section": "cancel matchmaking", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11611", "CodeName": "CancelMatchmakingUnableToFindUserParty", "Section": "cancel matchmaking", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11612", "CodeName": "CancelMatchmakingUnableToGetPartyInfo", "Section": "cancel matchmaking", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11613", "CodeName": "CancelMatchmakingNotPartyLeader", "Section": "cancel matchmaking", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11614", "CodeName": "CancelMatchmakingUnableToPushCancelRequest", "Section": "cancel matchmaking", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11615", "CodeName": "CancelMatchmakingNotInParty", "Section": "cancel matchmaking", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11616", "CodeName": "CancelMatchmakingUnableToStoreMMStatus", "Section": "cancel matchmaking", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11617", "CodeName": "CancelMatchmakingInvalidTicketID", "Section": "cancel matchmaking", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11618", "CodeName": "CancelMatchmakingChannelListNotFound", "Section": "cancel matchmaking", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11619", "CodeName": "CancelMatchmakingInvalidChannel", "Section": "cancel matchmaking", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11620", "CodeName": "MatchmakingSuccess", "Section": "listen matchmaking result", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11623", "CodeName": "MatchmakingUnableToFindParty", "Section": "listen matchmaking result", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11624", "CodeName": "MatchmakingPartyNotFound", "Section": "listen matchmaking result", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11626", "CodeName": "SuccessNotifyCancelledMatchmaking", "Section": "listen matchmaking result", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11627", "CodeName": "MatchmakingUnablePrepareReadyConsent", "Section": "listen matchmaking result", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11628", "CodeName": "MatchmakingSuccessPrepareReadyConsent", "Section": "listen matchmaking result", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11629", "CodeName": "MatchmakingUnableSaveMMResult", "Section": "listen matchmaking result", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11630", "CodeName": "SetReadyConsentSuccess", "Section": "set ready consent", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11631", "CodeName": "SetReadyConsentUnableGetUserRegistry", "Section": "set ready consent", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11632", "CodeName": "SetReadyConsentNotFound", "Section": "set ready consent", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11633", "CodeName": "SetReadyConsentUnableSetReadyConsent", "Section": "set ready consent", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11634", "CodeName": "SetReadyConsentUnableGetMMResult", "Section": "set ready consent", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11635", "CodeName": "SetReadyConsentSuccessGetMMResult", "Section": "set ready consent", "Service": "lobby", "Text": "" }, { "Attributes": [ "friendID", "userID" ], "Code": "11640", "CodeName": "UserRejectFriendRejectItSelf", "Section": "user reject friend request", "Service": "lobby", "Text": "user and friendId are equal, userId:{{userID}}, friendId:{{friendID}}" }, { "Attributes": [], "Code": "11641", "CodeName": "UserRejectFriendUnableReject", "Section": "user reject friend request", "Service": "lobby", "Text": "unable to reject a friend request" }, { "Attributes": [], "Code": "11642", "CodeName": "UserRejectFriendSuccess", "Section": "user reject friend request", "Service": "lobby", "Text": "successfully reject a friend request" }, { "Attributes": [ "friendID" ], "Code": "11643", "CodeName": "UserRejectFriendNoIncoming", "Section": "user reject friend request", "Service": "lobby", "Text": "no incoming friend request for {{friendID}}" }, { "Attributes": [ "friendID", "userID" ], "Code": "11650", "CodeName": "UserUnfriendItSelf", "Section": "user unfriend", "Service": "lobby", "Text": "user and friendId are equal, userId:{{userID}}, friendId:{{friendID}}" }, { "Attributes": [ "friendId" ], "Code": "11651", "CodeName": "UserUnfriendUnableUnfriend", "Section": "user unfriend", "Service": "lobby", "Text": "unable to unfriend friendId:{{friendId}}" }, { "Attributes": [ "friendID" ], "Code": "11652", "CodeName": "UserUnfriendSuccess", "Section": "user unfriend", "Service": "lobby", "Text": "successfully unfriend friendId:{{friendID}}" }, { "Attributes": [ "friendID" ], "Code": "11653", "CodeName": "UserUnfriendNotAFriend", "Section": "user unfriend", "Service": "lobby", "Text": "can not unfriend, friendId:{{friendID}} is not a friend" }, { "Attributes": [ "friendID", "userID" ], "Code": "11660", "CodeName": "UserGetFriendshipStatusGetItSelf", "Section": "user get friendship status", "Service": "lobby", "Text": "user and friendId are equal, userId:{{userID}}, friendId:{{friendID}}" }, { "Attributes": [ "friendId" ], "Code": "11661", "CodeName": "UserGetFriendshipStatusUnableGetStatus", "Section": "user get friendship status", "Service": "lobby", "Text": "unable to get a friendship status for friendId:{{friendId}}" }, { "Attributes": [], "Code": "11662", "CodeName": "UserGetFriendshipStatusSuccess", "Section": "user get friendship status", "Service": "lobby", "Text": "successfully get a friendship status" }, { "Attributes": [], "Code": "11670", "CodeName": "StartMatchmakingAlreadyHasTicket", "Section": "matchmaking with ticket ID", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11671", "CodeName": "StartMatchmakingUnableToStoreTicketID", "Section": "matchmaking with ticket ID", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11680", "CodeName": "UnableClearPartyMatchmaking", "Section": "clear party matchmaking", "Service": "lobby", "Text": "unable to clear party matchmaking status" }, { "Attributes": [], "Code": "11681", "CodeName": "ClearPartyMatchmakingSuccess", "Section": "clear party matchmaking", "Service": "lobby", "Text": "success clearing party matchmaking status" }, { "Attributes": [], "Code": "11682", "CodeName": "ClearPartyMatchmakingUnableGetUserRegistry", "Section": "clear party matchmaking", "Service": "lobby", "Text": "unable to clear party matchmaking status, user not found" }, { "Attributes": [], "Code": "11690", "CodeName": "SetRejectConsentSuccess", "Section": "set reject consent", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11691", "CodeName": "SetRejectConsentUnableGetUserRegistry", "Section": "set reject consent", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11692", "CodeName": "SetRejectConsentNotFound", "Section": "set reject consent", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11693", "CodeName": "SetRejectConsentUnableSetRejectConsent", "Section": "set reject consent", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11700", "CodeName": "FriendRequestSuccess", "Section": "friend request", "Service": "lobby", "Text": "" }, { "Attributes": [ "message" ], "Code": "11701", "CodeName": "FriendRequestUnableRequestFriends", "Section": "friend request", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11702", "CodeName": "FriendRequestInvalidRequestBody", "Section": "friend request", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11703", "CodeName": "FriendRequestConflictFriendship", "Section": "friend request", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [], "Code": "11704", "CodeName": "FriendRequestUnableGetUserRegistry", "Section": "friend request", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11705", "CodeName": "FriendRequestFriendRegistryNotFound", "Section": "friend request", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11706", "CodeName": "FriendRequestUnableGetFriendRegistry", "Section": "friend request", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11707", "CodeName": "FriendRequestNotifSuccess", "Section": "friend request", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11708", "CodeName": "FriendRequestFriendNotFoundFromApi", "Section": "friend request", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11709", "CodeName": "FriendRequestUnableGetFriendFromApi", "Section": "friend request", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11710", "CodeName": "ListIncomingFriendsSuccess", "Section": "list incoming friends", "Service": "lobby", "Text": "" }, { "Attributes": [ "message" ], "Code": "11711", "CodeName": "ListIncomingFriendsUnableGetListIncoming", "Section": "list incoming friends", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11712", "CodeName": "ListIncomingFriendsUnableToWriteResponse", "Section": "list incoming friends", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [], "Code": "11713", "CodeName": "ListIncomingFriendsUnableGetUserRegistry", "Section": "list incoming friends", "Service": "lobby", "Text": "" }, { "Attributes": [ "message" ], "Code": "11714", "CodeName": "ListIncomingFriendsDataNotFound", "Section": "list incoming friends", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11715", "CodeName": "ListIncomingFriendsInvalidRequestBody", "Section": "list incoming friends", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11716", "CodeName": "ListIncomingFriendsUnableGet", "Section": "list incoming friends", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [], "Code": "11720", "CodeName": "ListOutgoingFriendsSuccess", "Section": "list outgoing friends", "Service": "lobby", "Text": "" }, { "Attributes": [ "message" ], "Code": "11721", "CodeName": "ListOutgoingFriendsUnableGetListOutgoing", "Section": "list outgoing friends", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11722", "CodeName": "ListOutgoingFriendsUnableToWriteResponse", "Section": "list outgoing friends", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [], "Code": "11723", "CodeName": "ListOutgoingFriendsUnableGetUserRegistry", "Section": "list outgoing friends", "Service": "lobby", "Text": "" }, { "Attributes": [ "message" ], "Code": "11724", "CodeName": "ListOutgoingFriendsDataNotFound", "Section": "list outgoing friends", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "11725", "CodeName": "ListOutgoingFriendsInvalidRequestBody", "Section": "list outgoing friends", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [], "Code": "11730", "CodeName": "AcceptFriendSuccess", "Section": "accept friend", "Service": "lobby", "Text": "" }, { "Attributes": [ "message" ], "Code": "11731", "CodeName": "AcceptFriendUnableAcceptFriends", "Section": "accept friend", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "action", "details", "reason", "userID" ], "Code": "11731", "CodeName": "AcceptFriendUnableAcceptFriendsV1", "Section": "accept friend", "Service": "lobby", "Text": "unable to {{action}}: {{reason}}, userID: {{userID}}, details: {{details}}" }, { "Attributes": [ "message" ], "Code": "11732", "CodeName": "AcceptFriendInvalidRequestBody", "Section": "accept friend", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "action", "details", "reason", "userID" ], "Code": "11732", "CodeName": "AcceptFriendInvalidRequestBodyV1", "Section": "accept friend", "Service": "lobby", "Text": "unable to {{action}}: {{reason}}, userID: {{userID}}, details: {{details}}" }, { "Attributes": [ "message" ], "Code": "11733", "CodeName": "AcceptFriendDataNotFound", "Section": "accept friend", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [], "Code": "11734", "CodeName": "AcceptFriendUnableGetUserRegistry", "Section": "accept friend", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11735", "CodeName": "AcceptFriendRequestorNotFound", "Section": "accept friend", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11736", "CodeName": "AcceptFriendUnableGetRequestorRegistry", "Section": "accept friend", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11737", "CodeName": "AcceptFriendNotifSuccess", "Section": "accept friend", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11738", "CodeName": "AcceptFriendRequestCountRelationshipFailed", "Section": "accept friend", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11740", "CodeName": "RejectFriendSuccess", "Section": "reject friend", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11741", "CodeName": "RejectFriendUnableRejectFriends", "Section": "reject friend", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11742", "CodeName": "RejectFriendInvalidRequestBody", "Section": "reject friend", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11743", "CodeName": "RejectFriendDataNotFound", "Section": "reject friend", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11744", "CodeName": "RejectFriendUnableGetUserRegistry", "Section": "reject friend", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11750", "CodeName": "CancelFriendSuccess", "Section": "cancel friend request", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11751", "CodeName": "CancelFriendUnableCancelFriends", "Section": "cancel friend request", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11752", "CodeName": "CancelFriendInvalidRequestBody", "Section": "cancel friend request", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11753", "CodeName": "CancelFriendDataNotFound", "Section": "cancel friend request", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11754", "CodeName": "CancelFriendUnableGetUserRegistry", "Section": "cancel friend request", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11760", "CodeName": "UnfriendSuccess", "Section": "unfriend", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11761", "CodeName": "UnfriendUnableUnfriend", "Section": "unfriend", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11762", "CodeName": "UnfriendInvalidRequestBody", "Section": "unfriend", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11763", "CodeName": "UnfriendDataNotFound", "Section": "unfriend", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11764", "CodeName": "UnfriendUnableGetUserRegistry", "Section": "unfriend", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11765", "CodeName": "UnfriendUnableGetTargetRegistry", "Section": "unfriend", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11766", "CodeName": "UnfriendNotifSuccess", "Section": "unfriend", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11767", "CodeName": "UnfriendRequestCountRelationshipFailed", "Section": "unfriend", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11770", "CodeName": "ListOfFriendsSuccess", "Section": "list of friends", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11771", "CodeName": "ListOfFriendsUnableGetListOfFriends", "Section": "list of friends", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11773", "CodeName": "ListOfFriendsUnableGetUserRegistry", "Section": "list of friends", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11780", "CodeName": "GetFriendshipStatusSuccess", "Section": "get friendship status", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11781", "CodeName": "GetFriendshipStatusUnableGetFriendshipStatus", "Section": "get friendship status", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11783", "CodeName": "GetFriendshipStatusUnableGetUserRegistry", "Section": "get friendship status", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11784", "CodeName": "GetFriendshipStatusInvalidRequestBody", "Section": "get friendship status", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11790", "CodeName": "GetFriendsSuccess", "Section": "get friends", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11791", "CodeName": "GetFriendsInvalidRequestBody", "Section": "get friends", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11792", "CodeName": "GetFriendsDataNotFound", "Section": "get friends", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11793", "CodeName": "GetFriendsUnableGetListOfFriends", "Section": "get friends", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11794", "CodeName": "GetFriendsUnableToWriteResponse", "Section": "get friends", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11810", "CodeName": "BlockPlayerSuccess", "Section": "players", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11811", "CodeName": "PlayerBlockRequestInvalidRequestBody", "Section": "players", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11812", "CodeName": "PlayerBlockRequestUnableGetUserRegistry", "Section": "players", "Service": "lobby", "Text": "" }, { "Attributes": [ "blockedUserID", "blockerUserID" ], "Code": "11813", "CodeName": "PlayerBlockRequestUnableBlockPlayer", "Section": "players", "Service": "lobby", "Text": "unable to block player. BlockerUserID: {{blockerUserID}}, BlockedUserID: {{blockedUserID}}" }, { "Attributes": [], "Code": "11814", "CodeName": "PlayerUnblockRequestInvalidRequestBody", "Section": "players", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11815", "CodeName": "PlayerUnblockRequestUnableGetUserRegistry", "Section": "players", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11816", "CodeName": "PlayerUnblockRequestUnableBlockPlayer", "Section": "players", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11817", "CodeName": "PlayerBlocked", "Section": "players", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11818", "CodeName": "PlayerBlockedUnableGet", "Section": "players", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11819", "CodeName": "PlayerGetBlocedUnableGetUserRegistry", "Section": "players", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11820", "CodeName": "JoinDefaultChannelSuccess", "Section": "join default channel", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11821", "CodeName": "JoinDefaultChannelErrGetDefaultChannel", "Section": "join default channel", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11822", "CodeName": "JoinDefaultChannelErrCreateChannels", "Section": "join default channel", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11823", "CodeName": "JoinDefaultChannelErrEmptyChannels", "Section": "join default channel", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11824", "CodeName": "JoinDefaultChannelErrAddUserToChannel", "Section": "join default channel", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11825", "CodeName": "JoinDefaultChannelErrGetUserRegistry", "Section": "join default channel", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11830", "CodeName": "ExitAllChannelSuccess", "Section": "exit channel", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11831", "CodeName": "ExitAllChannelErrGetUserRegistry", "Section": "exit channel", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11832", "CodeName": "ExitAllChannelErrGetChannels", "Section": "exit channel", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11833", "CodeName": "ExitAllChannelErrRemoveUser", "Section": "exit channel", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11840", "CodeName": "SendChatChannelSuccess", "Section": "exit channel", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11841", "CodeName": "SendChatChannelError", "Section": "exit channel", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11842", "CodeName": "SendChatUnableGetUserRegistry", "Section": "exit channel", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11843", "CodeName": "SendChatChannelToChannel", "Section": "exit channel", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11844", "CodeName": "SendChatChannelBroadcastChannelChat", "Section": "exit channel", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11851", "CodeName": "ProfanityVerifyError", "Section": "profanity filter", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11861", "CodeName": "SetSessionAttributeInvalidRequestBody", "Section": "profanity filter", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11870", "CodeName": "GetNamespaceConfigSuccess", "Section": "config", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11871", "CodeName": "GetNamespaceConfigDBError", "Section": "config", "Service": "lobby", "Text": "unable to query config to DB" }, { "Attributes": [], "Code": "11872", "CodeName": "UpdateNamespaceConfigSuccess", "Section": "config", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11873", "CodeName": "UpdateNamespaceConfigBadRequest", "Section": "config", "Service": "lobby", "Text": "unable to parse request body" }, { "Attributes": [ "message" ], "Code": "11874", "CodeName": "UpdateNamespaceConfigValidationError", "Section": "config", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [], "Code": "11875", "CodeName": "UpdateNamespaceConfigInternalError", "Section": "config", "Service": "lobby", "Text": "unable to update namespace config" }, { "Attributes": [], "Code": "11876", "CodeName": "ExportNamespaceConfigWriteJsonError", "Section": "config", "Service": "lobby", "Text": "unable to write config to json file" }, { "Attributes": [], "Code": "11877", "CodeName": "ExportNamespaceConfigSuccess", "Section": "config", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11878", "CodeName": "ImportNamespaceConfigSuccess", "Section": "config", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11879", "CodeName": "SetPartyLimitConfigNotFound", "Section": "config", "Service": "lobby", "Text": "unable to set party limit size, lobby config not found" }, { "Attributes": [], "Code": "11880", "CodeName": "ChannelChatSenderBanned", "Section": "send channel chat", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11881", "CodeName": "ChannelChatBanNotification", "Section": "send channel chat", "Service": "lobby", "Text": "user banned from chat" }, { "Attributes": [], "Code": "11882", "CodeName": "ChannelChatUnbanNotification", "Section": "send channel chat", "Service": "lobby", "Text": "user unbanned from chat" }, { "Attributes": [], "Code": "11911", "CodeName": "PartyRejectSuccessRejectParty", "Section": "reject party invitation", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11912", "CodeName": "PartyRejectUnableGetUserRegistry", "Section": "reject party invitation", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11913", "CodeName": "PartyRejectPartyNotFound", "Section": "reject party invitation", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11914", "CodeName": "PartyRejectInvalidInvitationToken", "Section": "reject party invitation", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11915", "CodeName": "PartyRejectNotInvited", "Section": "reject party invitation", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "11916", "CodeName": "PartyRejectUnableRejectParty", "Section": "reject party invitation", "Service": "lobby", "Text": "" }, { "Attributes": [ "namespace", "userId" ], "Code": "11940", "CodeName": "UserGetFriendsSuccess", "Section": "user get friend", "Service": "lobby", "Text": "Successfully get user friends for userId {{userId}} in namespace {{namespace}}" }, { "Attributes": [ "namespace", "userId" ], "Code": "11941", "CodeName": "UserGetFriendsUnableGetList", "Section": "user get friend", "Service": "lobby", "Text": "unable to get user friends for userId {{userId}} in namespace {{namespace}}" }, { "Attributes": [ "namespace", "userId" ], "Code": "11950", "CodeName": "UserGetIncomingFriendsSuccess", "Section": "user get incoming friends", "Service": "lobby", "Text": "Successfully get incoming friends for userId {{userId}} in namespace {{namespace}}" }, { "Attributes": [ "namespace", "userId" ], "Code": "11951", "CodeName": "UserGetIncomingFriendsUnableGetList", "Section": "user get incoming friends", "Service": "lobby", "Text": "unable to get incoming friends for userId {{userId}} in namespace {{namespace}}" }, { "Attributes": [ "namespace", "userId" ], "Code": "11960", "CodeName": "UserGetOutgoingFriendsSuccess", "Section": "user get outgoing friends", "Service": "lobby", "Text": "Successfully get outgoing friends for userId {{userId}} in namespace {{namespace}}" }, { "Attributes": [ "namespace", "userId" ], "Code": "11961", "CodeName": "UserGetOutgoingFriendsUnableGetList", "Section": "user get outgoing friends", "Service": "lobby", "Text": "unable to get outgoing friends for userId {{userId}} in namespace {{namespace}}" }, { "Attributes": [ "friendID", "userID" ], "Code": "11970", "CodeName": "UserRequestFriendRequestItSelf", "Section": "user request friend", "Service": "lobby", "Text": "user and requested friendId are equal, userId:{{userID}}, friendId:{{friendID}}" }, { "Attributes": [], "Code": "11971", "CodeName": "UserRequestFriendUnableRequestAFriend", "Section": "user request friend", "Service": "lobby", "Text": "unable to request a friend" }, { "Attributes": [], "Code": "11972", "CodeName": "UserRequestFriendSuccess", "Section": "user request friend", "Service": "lobby", "Text": "successfully request a friend" }, { "Attributes": [ "friendID" ], "Code": "11973", "CodeName": "UserRequestFriendOutgoingExist", "Section": "user request friend", "Service": "lobby", "Text": "can not request friend, outgoing request already exist for friendId: {{friendID}}" }, { "Attributes": [ "friendID" ], "Code": "11974", "CodeName": "UserRequestFriendIncomingExist", "Section": "user request friend", "Service": "lobby", "Text": "can not request friend, incoming request already exist from friendId: {{friendID}}" }, { "Attributes": [], "Code": "11975", "CodeName": "UserRequestFriendMetadataLimitReached", "Section": "user request friend", "Service": "lobby", "Text": "can not request friend, metadata limit reached" }, { "Attributes": [ "friendID", "userID" ], "Code": "11980", "CodeName": "UserAcceptFriendAcceptItSelf", "Section": "user accept friend", "Service": "lobby", "Text": "user and friendId are equal, userId:{{userID}}, friendId:{{friendID}}" }, { "Attributes": [], "Code": "11981", "CodeName": "UserAcceptFriendUnableAcceptAFriend", "Section": "user accept friend", "Service": "lobby", "Text": "unable to accept a friend" }, { "Attributes": [], "Code": "11982", "CodeName": "UserAcceptFriendSuccess", "Section": "user accept friend", "Service": "lobby", "Text": "successfully accept a friend" }, { "Attributes": [ "friendID" ], "Code": "11983", "CodeName": "UserAcceptFriendNoIncoming", "Section": "user accept friend", "Service": "lobby", "Text": "no incoming friend request from {{friendID}}" }, { "Attributes": [ "friendID", "userID" ], "Code": "11990", "CodeName": "UserCancelFriendCancelItSelf", "Section": "user cancel friend request", "Service": "lobby", "Text": "user and friendId are equal, userId:{{userID}}, friendId:{{friendID}}" }, { "Attributes": [], "Code": "11991", "CodeName": "UserCancelFriendUnableCancel", "Section": "user cancel friend request", "Service": "lobby", "Text": "unable to cancel a friend request" }, { "Attributes": [], "Code": "11992", "CodeName": "UserCancelFriendSuccess", "Section": "user cancel friend request", "Service": "lobby", "Text": "successfully cancel a friend request" }, { "Attributes": [ "friendID" ], "Code": "11993", "CodeName": "UserCancelFriendNoOutgoing", "Section": "user cancel friend request", "Service": "lobby", "Text": "no outgoing friend request for {{friendID}}" }, { "Attributes": [], "Code": "12001", "CodeName": "MatchmakingBanNotification", "Section": "matchmaking ban", "Service": "lobby", "Text": "user banned from matchmaking" }, { "Attributes": [], "Code": "12002", "CodeName": "MatchmakingUnbanNotification", "Section": "matchmaking ban", "Service": "lobby", "Text": "user unbanned from matchmaking" }, { "Attributes": [], "Code": "12110", "CodeName": "GetThirdPartyConfigSuccess", "Section": "third party config", "Service": "lobby", "Text": "" }, { "Attributes": [ "providerName" ], "Code": "12111", "CodeName": "ThirdPartyConfigNotFound", "Section": "third party config", "Service": "lobby", "Text": "unable to get {{providerName}} config" }, { "Attributes": [], "Code": "12112", "CodeName": "CreateThirdPartyConfigSuccess", "Section": "third party config", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "12113", "CodeName": "DeleteThirdPartyConfigSuccess", "Section": "third party config", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "12114", "CodeName": "UpdateThirdPartyConfigSuccess", "Section": "third party config", "Service": "lobby", "Text": "" }, { "Attributes": [ "namespace" ], "Code": "12115", "CodeName": "CreateThirdPartyConfigConflict", "Section": "third party config", "Service": "lobby", "Text": "unable create steam config: steam config already exist for namespace: {{namespace}}" }, { "Attributes": [ "message" ], "Code": "20000", "CodeName": "InternalServerError", "Section": "general", "Service": "general", "Text": "{{message}}" }, { "Attributes": [ "action", "reason", "userID" ], "Code": "20000", "CodeName": "InternalServerErrorV1", "Section": "general", "Service": "general", "Text": "unable to {{action}}: {{reason}}, userID: {{userID}}, details: -" }, { "Attributes": [], "Code": "20001", "CodeName": "UnauthorizedAccess", "Section": "general", "Service": "general", "Text": "unauthorized access" }, { "Attributes": [ "action", "details", "reason", "userID" ], "Code": "20002", "CodeName": "ValidationError", "Section": "general", "Service": "general", "Text": "unable to {{action}}: {{reason}}, userID: {{userID}}, details: {{details}}" }, { "Attributes": [ "message" ], "Code": "20002", "CodeName": "ValidationErrorV1", "Section": "general", "Service": "general", "Text": "{{message}}" }, { "Attributes": [], "Code": "20003", "CodeName": "ForbiddenAccess", "Section": "general", "Service": "general", "Text": "" }, { "Attributes": [], "Code": "20007", "CodeName": "TooManyRequests", "Section": "general", "Service": "general", "Text": "" }, { "Attributes": [ "message" ], "Code": "20008", "CodeName": "UserNotFound", "Section": "general", "Service": "general", "Text": "{{message}}" }, { "Attributes": [], "Code": "20013", "CodeName": "InsufficientPermissions", "Section": "general", "Service": "general", "Text": "" }, { "Attributes": [ "action", "details", "reason", "userID" ], "Code": "20019", "CodeName": "UnableToParseRequestBody", "Section": "general", "Service": "general", "Text": "unable to {{action}}: {{reason}}, userID: {{userID}}, details: {{details}}" }, { "Attributes": [ "message" ], "Code": "20021", "CodeName": "InvalidPaginationParameters", "Section": "general", "Service": "general", "Text": "{{message}}" }, { "Attributes": [], "Code": "20022", "CodeName": "TokenIsNotUserToken", "Section": "general", "Service": "general", "Text": "" }, { "Attributes": [], "Code": "20023", "CodeName": "InvalidPaginationLimitParam", "Section": "general", "Service": "general", "Text": "invalid limit, must be a positive and valid number" }, { "Attributes": [], "Code": "20024", "CodeName": "InvalidPaginationOffsetParam", "Section": "general", "Service": "general", "Text": "invalid offset, must be a positive and valid number" }, { "Attributes": [], "Code": "20025", "CodeName": "InvalidRequestBody", "Section": "general", "Service": "general", "Text": "invalid request body, please check the documentation" }, { "Attributes": [ "message" ], "Code": "20026", "CodeName": "InvalidTimeParameters", "Section": "general", "Service": "general", "Text": "{{message}}" }, { "Attributes": [ "action", "reason", "userID" ], "Code": "50231", "CodeName": "NotificationTemplateNotFound", "Section": "notification template", "Service": "lobby", "Text": "unable to {{action}}: {{reason}}, userID: {{userID}}" }, { "Attributes": [ "action", "missingContext", "reason", "userID" ], "Code": "50232", "CodeName": "IncompleteNotificationContext", "Section": "notification template", "Service": "lobby", "Text": "unable to {{action}}: {{reason}}, userID: {{userID}}, missing context: {{missingContext}}" }, { "Attributes": [ "action", "reason", "userID" ], "Code": "50233", "CodeName": "NotificationTemplateAlreadyExist", "Section": "notification template", "Service": "lobby", "Text": "unable to {{action}}: {{reason}}, userID: {{userID}}" }, { "Attributes": [ "action", "reason", "userID" ], "Code": "50234", "CodeName": "NotificationTemplateSlugNotFound", "Section": "notification template", "Service": "lobby", "Text": "unable to {{action}}: {{reason}}, userID: {{userID}}" }, { "Attributes": [ "action", "reason", "userID" ], "Code": "50235", "CodeName": "NotificationTemplateLocalizationNotFound", "Section": "notification template", "Service": "lobby", "Text": "unable to {{action}}: {{reason}}, userID: {{userID}}" }, { "Attributes": [ "action", "reason", "userID" ], "Code": "50237", "CodeName": "NotificationTopicNotFound", "Section": "notification template", "Service": "lobby", "Text": "unable to {{action}}: {{reason}}, userID: {{userID}}" }, { "Attributes": [ "action", "reason", "userID" ], "Code": "50239", "CodeName": "StoredNotificationNotFound", "Section": "notification template", "Service": "lobby", "Text": "unable to {{action}}: {{reason}}, userID: {{userID}}" }, { "Attributes": [ "action", "reason", "userID" ], "Code": "50241", "CodeName": "OnlineUserNotFound", "Section": "notification template", "Service": "lobby", "Text": "unable to {{action}}: {{reason}}, userID: {{userID}}" }, { "Attributes": [ "message" ], "Code": "112101", "CodeName": "LobbyConnectionUnableToUpgrade", "Section": "connection", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [], "Code": "112102", "CodeName": "LobbyConnectionUnableToRegisterUser", "Section": "connection", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "112103", "CodeName": "LobbyConnectionSuccessRegisterUser", "Section": "connection", "Service": "lobby", "Text": "registered new user" }, { "Attributes": [], "Code": "112104", "CodeName": "LobbyConnectionSuccessUnregisterUser", "Section": "connection", "Service": "lobby", "Text": "unregistered user" }, { "Attributes": [ "message" ], "Code": "112105", "CodeName": "LobbyConnectionMultipleLoginAttempt", "Section": "connection", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [ "message" ], "Code": "112106", "CodeName": "LobbyConnectionUnableCheckConnectedUser", "Section": "connection", "Service": "lobby", "Text": "{{message}}" }, { "Attributes": [], "Code": "112107", "CodeName": "LobbyConnectionUnableToValidateSession", "Section": "connection", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "112108", "CodeName": "LobbyConnectionInvalidSession", "Section": "connection", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "112109", "CodeName": "LobbyConnectionUnableToGetBlockedPlayer", "Section": "connection", "Service": "lobby", "Text": "unable to get blocked player from database" }, { "Attributes": [], "Code": "112110", "CodeName": "LobbyConnectionUnableToQueryConfig", "Section": "connection", "Service": "lobby", "Text": "unable to query lobby config" }, { "Attributes": [], "Code": "112111", "CodeName": "LobbyConnectionUnableToQueryCCU", "Section": "connection", "Service": "lobby", "Text": "unable to query lobby CCU" }, { "Attributes": [], "Code": "112112", "CodeName": "LobbyConnectionCCULimitReached", "Section": "connection", "Service": "lobby", "Text": "lobby CCU limit reached" }, { "Attributes": [], "Code": "112113", "CodeName": "LobbyDisconnectErrGetUserRegistry", "Section": "connection", "Service": "lobby", "Text": "unable to get user registry while closing connection" }, { "Attributes": [], "Code": "112114", "CodeName": "LobbyConnectionUnableStopOld", "Section": "connection", "Service": "lobby", "Text": "multiple connect but unable to stop old lobby connection" }, { "Attributes": [], "Code": "112115", "CodeName": "PartyNotFoundUnregister", "Section": "connection", "Service": "lobby", "Text": "party not found while unregistering user" }, { "Attributes": [], "Code": "112120", "CodeName": "LobbyUserConnectionRequested", "Section": "connection", "Service": "lobby", "Text": "user requested connected" }, { "Attributes": [], "Code": "112121", "CodeName": "LobbyConnectionSuccessUpdateUserRegistry", "Section": "connection", "Service": "lobby", "Text": "updated user in registry" }, { "Attributes": [], "Code": "112122", "CodeName": "FailedToUnregisterDelayed", "Section": "connection", "Service": "lobby", "Text": "failed to run delayed unregister" }, { "Attributes": [], "Code": "112601", "CodeName": "PartyJoinUnableGetUserRegistry", "Section": "party join", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "112602", "CodeName": "PartyJoinPartyNotFound", "Section": "party join", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "112603", "CodeName": "PartyJoinInvalidInvitationToken", "Section": "party join", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "112604", "CodeName": "PartyJoinNotInvited", "Section": "party join", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "112605", "CodeName": "PartyJoinAlreadyInParty", "Section": "party join", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "112606", "CodeName": "PartyJoinPartyFull", "Section": "party join", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "112607", "CodeName": "PartyJoinUnableJoinParty", "Section": "party join", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "112608", "CodeName": "PartyJoinSuccessJoinParty", "Section": "party join", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "112609", "CodeName": "PartyJoinUnableToQuery", "Section": "party join", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "112610", "CodeName": "PartyJoinBlocked", "Section": "party join", "Service": "lobby", "Text": "" }, { "Attributes": [ "partyID", "userID" ], "Code": "115700", "CodeName": "JoinViaPartyCodeSuccess", "Section": "join via party code", "Service": "lobby", "Text": "user {{userID}} joined party {{partyID}} via code" }, { "Attributes": [ "errMessage" ], "Code": "115701", "CodeName": "JoinViaPartyCodeUserNotFound", "Section": "join via party code", "Service": "lobby", "Text": "unable to get user: {{errMessage}}" }, { "Attributes": [ "errMessage" ], "Code": "115702", "CodeName": "JoinViaPartyCodeUnableToGetPartyInfo", "Section": "join via party code", "Service": "lobby", "Text": "unable to get party: {{errMessage}}" }, { "Attributes": [], "Code": "115703", "CodeName": "JoinViaPartyCodeUserPartyNotFound", "Section": "join via party code", "Service": "lobby", "Text": "party not found" }, { "Attributes": [], "Code": "115704", "CodeName": "JoinViaPartyCodeUserHasParty", "Section": "join via party code", "Service": "lobby", "Text": "user already has a party" }, { "Attributes": [], "Code": "115705", "CodeName": "JoinViaPartyCodeUserAlreadyMember", "Section": "join via party code", "Service": "lobby", "Text": "user is already member" }, { "Attributes": [], "Code": "115706", "CodeName": "JoinViaPartyCodePartyFull", "Section": "join via party code", "Service": "lobby", "Text": "party is full" }, { "Attributes": [], "Code": "115707", "CodeName": "JoinPartyIsMatchmaking", "Section": "join via party code", "Service": "lobby", "Text": "party is in matchmaking queue" }, { "Attributes": [], "Code": "115708", "CodeName": "JoinViaPartyCodeInvalidCode", "Section": "join via party code", "Service": "lobby", "Text": "invalid party code" }, { "Attributes": [ "errMessage" ], "Code": "115709", "CodeName": "JoinViaPartyCodeUnableToJoin", "Section": "join via party code", "Service": "lobby", "Text": "unable to join party: {{errMessage}}" }, { "Attributes": [], "Code": "115710", "CodeName": "JoinViaPartyCodeBlocked", "Section": "join via party code", "Service": "lobby", "Text": "unable to join party: user blocks or blocked by one of members" }, { "Attributes": [ "partyID", "topic", "userID" ], "Code": "115800", "CodeName": "SendPartyNotifSuccess", "Section": "party notif", "Service": "lobby", "Text": "user {{userID}} sent party notif to party {{partyID}} with topic {{topic}}" }, { "Attributes": [ "userID" ], "Code": "115801", "CodeName": "SendPartyNotifUserNotFound", "Section": "party notif", "Service": "lobby", "Text": "unable to send party notif: user {{userID}} not found" }, { "Attributes": [ "userID" ], "Code": "115802", "CodeName": "SendPartyNotifNotInParty", "Section": "party notif", "Service": "lobby", "Text": "unable to send party notif: user {{userID}} is not in party" }, { "Attributes": [ "userID" ], "Code": "115803", "CodeName": "SendPartyNotifUnableToQueryParty", "Section": "party notif", "Service": "lobby", "Text": "unable to send party notif: unable to query party for user {{userID}}" }, { "Attributes": [], "Code": "116010", "CodeName": "StartMatchmakingInvalidChannel", "Section": "start matchmaking", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "118000", "CodeName": "CreateDSSuccess", "Section": "dsm", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "118001", "CodeName": "CreateDSFailed", "Section": "dsm", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "118002", "CodeName": "WaitDSRetry", "Section": "dsm", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "118003", "CodeName": "WaitDSFailed", "Section": "dsm", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "118004", "CodeName": "WaitDSSuccess", "Section": "dsm", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "118005", "CodeName": "ClaimDSFailed", "Section": "dsm", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "118006", "CodeName": "ClaimDSSuccess", "Section": "dsm", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "118007", "CodeName": "NotifyDSSuccess", "Section": "dsm", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "118008", "CodeName": "JoinDSSuccess", "Section": "dsm", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "118009", "CodeName": "CreateDSUserNotFound", "Section": "dsm", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "118010", "CodeName": "CreateDSUserBanned", "Section": "dsm", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "118011", "CodeName": "CreateDSUnableToQueryEQU8", "Section": "dsm", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "118012", "CodeName": "QueryJoinableDSFailed", "Section": "dsm", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "118110", "CodeName": "UnblockPlayerSuccess", "Section": "players", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "118710", "CodeName": "GlobalConfigDocumentNotFound", "Section": "config", "Service": "lobby", "Text": "unable to get global config" }, { "Attributes": [], "Code": "118711", "CodeName": "GlobalConfigDocumentFound", "Section": "config", "Service": "lobby", "Text": "success to get global config" }, { "Attributes": [], "Code": "118712", "CodeName": "GlobalConfigDocumentDeleted", "Section": "config", "Service": "lobby", "Text": "success to delete global config" }, { "Attributes": [], "Code": "118713", "CodeName": "GlobalConfigDocumentSuccessUpsert", "Section": "config", "Service": "lobby", "Text": "success to upsert global config" }, { "Attributes": [], "Code": "118900", "CodeName": "SetSessionAttributeSuccess", "Section": "set session attribute", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "118901", "CodeName": "SetSessionAttributeUnableToQueryRegistry", "Section": "set session attribute", "Service": "lobby", "Text": "unable to query user from registry" }, { "Attributes": [], "Code": "118902", "CodeName": "SetSessionAttributeUserNotFound", "Section": "set session attribute", "Service": "lobby", "Text": "user not found in registry" }, { "Attributes": [], "Code": "118903", "CodeName": "SetSessionAttributeEmptyKey", "Section": "set session attribute", "Service": "lobby", "Text": "key is empty" }, { "Attributes": [], "Code": "118904", "CodeName": "SetSessionAttributeUnableToBroadcast", "Section": "set session attribute", "Service": "lobby", "Text": "unable to broadcast to sync user" }, { "Attributes": [ "namespace", "userId" ], "Code": "118910", "CodeName": "SetSessionAttributeRESTSuccess", "Section": "set session attribute", "Service": "lobby", "Text": "updated attributes for user {{userId}} in namespace {{namespace}}" }, { "Attributes": [ "namespace", "userId" ], "Code": "118911", "CodeName": "SetSessionAttributeRESTUnableToQueryRegistry", "Section": "set session attribute", "Service": "lobby", "Text": "unable to update session attribute for user {{userId}} in namespace {{namespace}}: unable to query user from registry" }, { "Attributes": [ "namespace", "userId" ], "Code": "118912", "CodeName": "SetSessionAttributeRESTUserNotFound", "Section": "set session attribute", "Service": "lobby", "Text": "unable to update session attribute for user {{userId}} in namespace {{namespace}}: user not found in registry" }, { "Attributes": [ "namespace", "userId" ], "Code": "118913", "CodeName": "SetSessionAttributeRESTEmptyKey", "Section": "set session attribute", "Service": "lobby", "Text": "unable to update session attribute for user {{userId}} in namespace {{namespace}}: key is empty" }, { "Attributes": [ "namespace", "userId" ], "Code": "118914", "CodeName": "SetSessionAttributeRESTMalformedRequest", "Section": "set session attribute", "Service": "lobby", "Text": "unable to update session attribute for user {{userId}} in namespace {{namespace}}: malformed request" }, { "Attributes": [ "namespace", "userId" ], "Code": "118915", "CodeName": "SetSessionAttributeRESTUnableToBroadcast", "Section": "set session attribute", "Service": "lobby", "Text": "unable to update session attribute for user {{userId}} in namespace {{namespace}}: unable to broadcast to sync user" }, { "Attributes": [], "Code": "118916", "CodeName": "SetSessionAttributeInternalError", "Section": "set session attribute", "Service": "lobby", "Text": "unable to set session attribute" }, { "Attributes": [], "Code": "119000", "CodeName": "AdminGetUserPartySuccess", "Section": "party", "Service": "lobby", "Text": "" }, { "Attributes": [ "message" ], "Code": "119001", "CodeName": "AdminGetUserPartyInternalError", "Section": "party", "Service": "lobby", "Text": "unable to get party data: {{message}}" }, { "Attributes": [], "Code": "119002", "CodeName": "AdminGetUserPartyNotFound", "Section": "party", "Service": "lobby", "Text": "unable to get party data: party not found" }, { "Attributes": [], "Code": "119003", "CodeName": "AdminGetUserPartyByIDSuccess", "Section": "party", "Service": "lobby", "Text": "" }, { "Attributes": [ "message" ], "Code": "119004", "CodeName": "AdminGetUserPartyByIDInternalError", "Section": "party", "Service": "lobby", "Text": "unable to get party data: {{message}}" }, { "Attributes": [], "Code": "119005", "CodeName": "AdminGetUserPartyByIDNotFound", "Section": "party", "Service": "lobby", "Text": "unable to get party data: party not found" }, { "Attributes": [], "Code": "119006", "CodeName": "UpdatePartyDataByIDSuccess", "Section": "party", "Service": "lobby", "Text": "" }, { "Attributes": [ "message" ], "Code": "119007", "CodeName": "UpdatePartyDataByIDInternalError", "Section": "party", "Service": "lobby", "Text": "unable to update party data: {{message}}" }, { "Attributes": [], "Code": "119008", "CodeName": "UpdatePartyDataByIDNotFound", "Section": "party", "Service": "lobby", "Text": "unable to update party data: party not found" }, { "Attributes": [], "Code": "119009", "CodeName": "UpdatePartyDataByIDNotOwnParty", "Section": "party", "Service": "lobby", "Text": "unable to update party data: user is not in party" }, { "Attributes": [], "Code": "119010", "CodeName": "UpdatePartyDataByIDBadRequest", "Section": "party", "Service": "lobby", "Text": "unable to update party data: unable to parse request" }, { "Attributes": [], "Code": "119011", "CodeName": "AdminListAllPartySuccess", "Section": "party", "Service": "lobby", "Text": "" }, { "Attributes": [ "message" ], "Code": "119012", "CodeName": "AdminListAllPartyInternalError", "Section": "party", "Service": "lobby", "Text": "unable to list party data: {{message}}" }, { "Attributes": [ "message" ], "Code": "119013", "CodeName": "AdminListAllPartyBadRequest", "Section": "party", "Service": "lobby", "Text": "unable to list party data: {{message}}" }, { "Attributes": [], "Code": "119014", "CodeName": "PublicGetUserPartySuccess", "Section": "party", "Service": "lobby", "Text": "" }, { "Attributes": [ "message" ], "Code": "119015", "CodeName": "PublicGetUserPartyInternalError", "Section": "party", "Service": "lobby", "Text": "unable to get party data: {{message}}" }, { "Attributes": [], "Code": "119016", "CodeName": "PublicGetUserPartyNotFound", "Section": "party", "Service": "lobby", "Text": "unable to get party data: party not found" }, { "Attributes": [], "Code": "119017", "CodeName": "UpdatePartyDataByIDOutdatedData", "Section": "party", "Service": "lobby", "Text": "unable to update party data: timestamp in request is older than current data" }, { "Attributes": [ "message" ], "Code": "119018", "CodeName": "UpdatePartyDataOnlyLeader", "Section": "party", "Service": "lobby", "Text": "unable to update party data: this attribute can only be updated by leader: {{message}}" }, { "Attributes": [], "Code": "119020", "CodeName": "AdminJoinPartyOk", "Section": "party", "Service": "lobby", "Text": "" }, { "Attributes": [ "message" ], "Code": "119021", "CodeName": "AdminJoinPartyInternalError", "Section": "party", "Service": "lobby", "Text": "unable to join party: {{message}}" }, { "Attributes": [ "message" ], "Code": "119022", "CodeName": "UpdatePartyLimitInvalidLimitValue", "Section": "party", "Service": "lobby", "Text": "unable to set party limit size: {{message}}" }, { "Attributes": [], "Code": "119023", "CodeName": "UpdatePartyLimitUserIsNotLeader", "Section": "party", "Service": "lobby", "Text": "unable to set party limit size: user is not leader" }, { "Attributes": [], "Code": "119024", "CodeName": "UpdatePartyLimitMustGreaterThanMemberCount", "Section": "party", "Service": "lobby", "Text": "unable to set party limit size: party limit size must be greater than or equal to current member counts" }, { "Attributes": [], "Code": "119025", "CodeName": "UpdatePartyLimitSuccess", "Section": "party", "Service": "lobby", "Text": "successfully update party limit" }, { "Attributes": [ "message" ], "Code": "119026", "CodeName": "UpdatePartyLimitInternalError", "Section": "party", "Service": "lobby", "Text": "internal server error: {{message}}" }, { "Attributes": [ "message" ], "Code": "119027", "CodeName": "AdminJoinPartyNotFound", "Section": "party", "Service": "lobby", "Text": "unable to join party: {{message}}" }, { "Attributes": [], "Code": "119200", "CodeName": "GetSessionAttributeSuccess", "Section": "get session attribute", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "119201", "CodeName": "GetSessionAttributeUnableToQueryRegistry", "Section": "get session attribute", "Service": "lobby", "Text": "unable to query user from registry" }, { "Attributes": [], "Code": "119202", "CodeName": "GetSessionAttributeUserNotFound", "Section": "get session attribute", "Service": "lobby", "Text": "user not found in registry" }, { "Attributes": [], "Code": "119203", "CodeName": "GetSessionAttributeKeyEmpty", "Section": "get session attribute", "Service": "lobby", "Text": "key is empty" }, { "Attributes": [ "attribute", "namespace", "userId" ], "Code": "119210", "CodeName": "GetSessionAttributeRESTSuccess", "Section": "get session attribute", "Service": "lobby", "Text": "queried attribute {{attribute}} for user {{userId}} in namespace {{namespace}}" }, { "Attributes": [ "attribute", "namespace", "userId" ], "Code": "119211", "CodeName": "GetSessionAttributeRESTUnableToQueryRegistry", "Section": "get session attribute", "Service": "lobby", "Text": "unable to query session attribute {{attribute}} for user {{userId}} in namespace {{namespace}}: unable to query user from registry" }, { "Attributes": [ "attribute", "namespace", "userId" ], "Code": "119212", "CodeName": "GetSessionAttributeRESTUserNotFound", "Section": "get session attribute", "Service": "lobby", "Text": "unable to query session attribute {{attribute}} for user {{userId}} in namespace {{namespace}}: user not found in registry" }, { "Attributes": [], "Code": "119213", "CodeName": "GetSessionAttributeInternalError", "Section": "get session attribute", "Service": "lobby", "Text": "unable to get session attribute" }, { "Attributes": [ "attribute", "namespace", "userId" ], "Code": "119214", "CodeName": "GetSessionAttributeRESTAttributeNotFound", "Section": "get session attribute", "Service": "lobby", "Text": "unable to query session attribute {{attribute}} for user {{userId}} in namespace {{namespace}}: attribute not found" }, { "Attributes": [], "Code": "119300", "CodeName": "GetAllSessionAttributeSuccess", "Section": "get all session attributes", "Service": "lobby", "Text": "" }, { "Attributes": [], "Code": "119301", "CodeName": "GetAllSessionAttributeUnableToQueryRegistry", "Section": "get all session attributes", "Service": "lobby", "Text": "unable to query user from registry" }, { "Attributes": [], "Code": "119302", "CodeName": "GetAllSessionAttributeUserNotFound", "Section": "get all session attributes", "Service": "lobby", "Text": "user not found in registry" }, { "Attributes": [ "namespace", "userId" ], "Code": "119310", "CodeName": "GetAllSessionAttributeRESTSuccess", "Section": "get all session attributes", "Service": "lobby", "Text": "queried attributes for user {{userId}} in namespace {{namespace}}" }, { "Attributes": [ "namespace", "userId" ], "Code": "119311", "CodeName": "GetAllSessionAttributeRESTUnableToQueryRegistry", "Section": "get all session attributes", "Service": "lobby", "Text": "unable to query session attributes for user {{userId}} in namespace {{namespace}}: unable to query user from registry" }, { "Attributes": [ "namespace", "userId" ], "Code": "119312", "CodeName": "GetAllSessionAttributeRESTUserNotFound", "Section": "get all session attributes", "Service": "lobby", "Text": "unable to query session attributes for user {{userId}} in namespace {{namespace}}: user not found in registry" }, { "Attributes": [], "Code": "119313", "CodeName": "GetAllSessionAttributeInternalError", "Section": "get all session attributes", "Service": "lobby", "Text": "unable to get all session attributes" }, { "Attributes": [], "Code": "120101", "CodeName": "RefreshTokenInvalidToken", "Section": "refresh token", "Service": "lobby", "Text": "unable to refresh user token: invalid token" }, { "Attributes": [], "Code": "120102", "CodeName": "RefreshTokenUserNotFound", "Section": "refresh token", "Service": "lobby", "Text": "refresh token: connected user not found, ban flags won\u0026#39;t be updated" }, { "Attributes": [], "Code": "120103", "CodeName": "RefreshTokenUserRegistryUpdateFailed", "Section": "refresh token", "Service": "lobby", "Text": "refresh token: user registry update failed" }, { "Attributes": [ "namespace", "partyID" ], "Code": "120200", "CodeName": "SendPartyFreeFormNotificationSuccess", "Section": "send freeform notification to party", "Service": "lobby", "Text": "freeform notification sent to party {{partyID}}, namespace {{namespace}}" }, { "Attributes": [ "namespace", "partyID" ], "Code": "120201", "CodeName": "SendPartyFreeFormNotificationUnableToParseRequest", "Section": "send freeform notification to party", "Service": "lobby", "Text": "unable to send freeform notification to party {{partyID}}, namespace {{namespace}}: unable to parse request" }, { "Attributes": [ "namespace", "partyID" ], "Code": "120202", "CodeName": "SendPartyFreeFormNotificationUnableToQueryParty", "Section": "send freeform notification to party", "Service": "lobby", "Text": "unable to send freeform notification to party {{partyID}}, namespace {{namespace}}: unable to query party" }, { "Attributes": [ "namespace", "partyID" ], "Code": "120203", "CodeName": "SendPartyFreeFormNotificationPartyNotFound", "Section": "send freeform notification to party", "Service": "lobby", "Text": "unable to send freeform notification to party {{partyID}}, namespace {{namespace}}: party not found" }, { "Attributes": [ "namespace", "partyID" ], "Code": "120204", "CodeName": "SendPartyFreeFormNotificationSendError", "Section": "send freeform notification to party", "Service": "lobby", "Text": "unable to send freeform notification to party {{partyID}}, namespace {{namespace}}: unable to send notification" }, { "Attributes": [ "language", "namespace", "partyID", "slug" ], "Code": "120300", "CodeName": "SendPartyTemplatedNotificationSuccess", "Section": "send templated notification to party", "Service": "lobby", "Text": "templated notification sent to party {{partyID}}, namespace {{namespace}}, template slug {{slug}} and language {{language}}" }, { "Attributes": [ "namespace", "partyID" ], "Code": "120301", "CodeName": "SendPartyTemplatedNotificationUnableToParseRequest", "Section": "send templated notification to party", "Service": "lobby", "Text": "unable to send templated notification to party {{partyID}}, namespace {{namespace}}: unable to parse request" }, { "Attributes": [ "namespace", "partyID" ], "Code": "120302", "CodeName": "SendPartyTemplatedNotificationUnableToQueryParty", "Section": "send templated notification to party", "Service": "lobby", "Text": "unable to send templated notification to party {{partyID}}, namespace {{namespace}}: unable to query party" }, { "Attributes": [ "namespace", "partyID" ], "Code": "120303", "CodeName": "SendPartyTemplatedNotificationPartyNotFound", "Section": "send templated notification to party", "Service": "lobby", "Text": "unable to send templated notification to party {{partyID}}, namespace {{namespace}}: party not found" }, { "Attributes": [ "namespace", "partyID" ], "Code": "120304", "CodeName": "SendPartyTemplatedNotificationSendError", "Section": "send templated notification to party", "Service": "lobby", "Text": "unable to send templated notification to party {{partyID}}, namespace {{namespace}}: unable to send notification" }, { "Attributes": [ "language", "namespace", "partyID", "slug" ], "Code": "120305", "CodeName": "SendPartyTemplatedNotificationUnableToLoadTemplate", "Section": "send templated notification to party", "Service": "lobby", "Text": "unable to send templated notification to party {{partyID}}, namespace {{namespace}}: unable to load notification template slug {{slug}} and language {{language}}" }, { "Attributes": [ "language", "namespace", "partyID", "slug" ], "Code": "120306", "CodeName": "SendPartyTemplatedNotificationTemplateNotFound", "Section": "send templated notification to party", "Service": "lobby", "Text": "unable to send templated notification to party {{partyID}}, namespace {{namespace}}: template slug {{slug}} and language {{language}} not found" }, { "Attributes": [ "language", "namespace", "partyID", "slug" ], "Code": "120307", "CodeName": "SendPartyTemplatedNotificationUnableToParseTemplate", "Section": "send templated notification to party", "Service": "lobby", "Text": "unable to send templated notification to party {{partyID}}, namespace {{namespace}}: unable to parse template slug {{slug}} and language {{language}}" }, { "Attributes": [ "language", "namespace", "partyID", "slug", "tag" ], "Code": "120308", "CodeName": "SendPartyTemplatedNotificationIncompleteTemplateTag", "Section": "send templated notification to party", "Service": "lobby", "Text": "unable to send templated notification to party {{partyID}}, namespace {{namespace}}: incomplete tag {{tag}} for template slug {{slug}} and language {{language}}" }, { "Attributes": [ "language", "namespace", "partyID", "slug" ], "Code": "120309", "CodeName": "SendPartyTemplatedNotificationUnableToRender", "Section": "send templated notification to party", "Service": "lobby", "Text": "unable to send templated notification to party {{partyID}}, namespace {{namespace}}: unable to render template slug {{slug}} and language {{language}}" }, { "Attributes": [ "message" ], "Code": "502400", "CodeName": "OfflineNotificationBadRequest", "Section": "notification template", "Service": "lobby", "Text": "offline notification bad request {{message}}" }, { "Attributes": [ "message" ], "Code": "502401", "CodeName": "OfflineNotificationUserNotFound", "Section": "notification template", "Service": "lobby", "Text": "offline user not found {{message}}" }, { "Attributes": [ "message" ], "Code": "502402", "CodeName": "OfflineNotificationUnableToGet", "Section": "notification template", "Service": "lobby", "Text": "unable to get offline notification {{message}}" } ], "x-version": { "buildDate": "2026-06-24T05:53:14+00:00", "gitHash": "5e0590a69c0016780aef8e3ff9926ead005c470d", "name": "justice-lobby-server", "revisionID": "3.43.0", "version": "3.43.0", "version-justice": "2025.7", "version-roles-seeding": "1.2.102" } }