From 0e0660a5145a80283f9d7ab76b9eda4d0683247e Mon Sep 17 00:00:00 2001 From: MasterPtato <23087326+MasterPtato@users.noreply.github.com> Date: Sat, 18 May 2024 01:06:51 +0000 Subject: [PATCH] fix!: Cleanup API definitions, module imports (#534) ## Changes - Breaking change caused by updating the route from cloud.games.games to cloud.games in the Fern API --- fern/definition/cloud/common.yml | 94 +- fern/definition/cloud/games/builds.yml | 5 +- fern/definition/cloud/games/cdn.yml | 5 +- fern/definition/cloud/games/games.yml | 17 +- .../cloud/games/namespaces/__package__.yml | 8 +- .../cloud/games/namespaces/logs.yml | 3 +- fern/definition/cloud/games/versions.yml | 10 +- fern/definition/cloud/groups.yml | 4 +- fern/definition/cloud/version/__package__.yml | 19 +- .../cloud/version/identity/__package__.yml | 5 +- fern/definition/common.yml | 4 +- fern/definition/game/common.yml | 12 +- fern/definition/group/__package__.yml | 16 +- fern/definition/group/common.yml | 8 +- fern/definition/identity/__package__.yml | 9 +- fern/definition/identity/common.yml | 4 +- fern/definition/identity/links.yml | 5 +- fern/definition/matchmaker/common.yml | 4 +- lib/bolt/core/src/context/service.rs | 42 +- lib/bolt/core/src/dep/terraform/gen.rs | 21 +- lib/claims/src/lib.rs | 10 +- lib/convert/src/impls/cloud/mod.rs | 40 - lib/convert/src/impls/group.rs | 6 - lib/convert/src/impls/identity.rs | 6 - lib/convert/src/impls/mod.rs | 19 + lib/global-error/src/error.rs | 26 +- lib/util/env/src/lib.rs | 21 +- proto/common.proto | 4 + sdks/full/go/client/client.go | 3 - sdks/full/go/cloud/games/builds.go | 4 +- sdks/full/go/cloud/games/cdn.go | 4 +- sdks/full/go/cloud/games/games.go | 11 +- sdks/full/go/cloud/games/namespaces/logs.go | 4 +- .../go/cloud/games/namespaces/logs/client.go | 3 +- .../go/cloud/games/namespaces/namespaces.go | 8 +- sdks/full/go/cloud/games/versions.go | 8 +- sdks/full/go/cloud/groups.go | 3 +- sdks/full/go/cloud/types.go | 124 +- sdks/full/go/cloud/version/identity/types.go | 3 +- sdks/full/go/cloud/version/types.go | 20 +- sdks/full/go/common/identity/types.go | 3 +- sdks/full/go/game/types.go | 12 +- sdks/full/go/group/group.go | 14 +- sdks/full/go/group/types.go | 9 +- sdks/full/go/identity/identity.go | 6 +- sdks/full/go/identity/links.go | 7 +- sdks/full/go/identity/types.go | 8 +- sdks/full/go/matchmaker/types.go | 10 +- sdks/full/go/module/client/client.go | 118 - sdks/full/go/module/module.go | 38 - sdks/full/go/module/types.go | 13 - sdks/full/go/types.go | 1 + sdks/full/openapi/openapi.yml | 6924 ++++++++--------- sdks/full/openapi_compat/openapi.yml | 279 +- sdks/full/rust-cli/.openapi-generator/FILES | 6 - sdks/full/rust-cli/README.md | 3 - sdks/full/rust-cli/docs/CloudBuildSummary.md | 2 +- .../rust-cli/docs/CloudCdnNamespaceDomain.md | 2 +- .../full/rust-cli/docs/CloudCdnSiteSummary.md | 2 +- .../rust-cli/docs/CloudCustomAvatarSummary.md | 2 +- sdks/full/rust-cli/docs/CloudGameFull.md | 2 +- .../docs/CloudGamesCreateGameRequest.md | 2 +- .../CloudGamesReserveVersionNameResponse.md | 2 +- .../docs/CloudLobbySummaryAnalytics.md | 2 +- .../docs/CloudLogsLobbyStatusStopped.md | 2 +- .../rust-cli/docs/CloudLogsLobbySummary.md | 6 +- sdks/full/rust-cli/docs/CloudLogsPerfMark.md | 2 +- sdks/full/rust-cli/docs/CloudLogsPerfSpan.md | 4 +- sdks/full/rust-cli/docs/CloudNamespaceFull.md | 2 +- .../rust-cli/docs/CloudNamespaceSummary.md | 2 +- .../rust-cli/docs/CloudNamespaceVersion.md | 2 +- sdks/full/rust-cli/docs/CloudVersionFull.md | 2 +- .../CloudVersionIdentityCustomDisplayName.md | 2 +- .../full/rust-cli/docs/CloudVersionSummary.md | 2 +- sdks/full/rust-cli/docs/GameHandle.md | 2 +- sdks/full/rust-cli/docs/GameStatConfig.md | 2 +- sdks/full/rust-cli/docs/GameSummary.md | 2 +- .../full/rust-cli/docs/GroupBannedIdentity.md | 2 +- sdks/full/rust-cli/docs/GroupHandle.md | 2 +- sdks/full/rust-cli/docs/GroupSummary.md | 2 +- .../docs/GroupValidateProfileRequest.md | 2 +- .../docs/IdentityGetGameLinkNewIdentity.md | 2 +- sdks/full/rust-cli/docs/IdentityHandle.md | 2 +- .../docs/IdentityPrepareGameLinkResponse.md | 2 +- sdks/full/rust-cli/docs/IdentityPresence.md | 2 +- sdks/full/rust-cli/docs/IdentityProfile.md | 4 +- .../rust-cli/docs/IdentitySetupResponse.md | 2 +- sdks/full/rust-cli/docs/IdentitySummary.md | 2 +- .../docs/IdentityUpdateProfileRequest.md | 2 +- .../rust-cli/docs/MatchmakerJoinRegion.md | 2 +- .../rust-cli/docs/MatchmakerRegionInfo.md | 4 +- sdks/full/rust-cli/docs/ModuleApi.md | 42 - sdks/full/rust-cli/docs/ModuleCallRequest.md | 12 - sdks/full/rust-cli/docs/ModuleCallResponse.md | 11 - .../apis/cloud_games_namespaces_logs_api.rs | 2 +- sdks/full/rust-cli/src/apis/mod.rs | 1 - sdks/full/rust-cli/src/apis/module_api.rs | 66 - .../src/models/cloud_build_summary.rs | 2 +- .../src/models/cloud_cdn_namespace_domain.rs | 2 +- .../src/models/cloud_cdn_site_summary.rs | 2 +- .../src/models/cloud_custom_avatar_summary.rs | 2 +- .../rust-cli/src/models/cloud_game_full.rs | 2 +- .../models/cloud_games_create_game_request.rs | 2 +- ...oud_games_reserve_version_name_response.rs | 1 + .../models/cloud_lobby_summary_analytics.rs | 2 +- .../models/cloud_logs_lobby_status_stopped.rs | 1 + .../src/models/cloud_logs_lobby_summary.rs | 6 +- .../src/models/cloud_logs_perf_mark.rs | 2 +- .../src/models/cloud_logs_perf_span.rs | 4 +- .../src/models/cloud_namespace_full.rs | 2 +- .../src/models/cloud_namespace_summary.rs | 2 +- .../src/models/cloud_namespace_version.rs | 2 +- .../rust-cli/src/models/cloud_version_full.rs | 2 +- ...ud_version_identity_custom_display_name.rs | 1 + .../src/models/cloud_version_summary.rs | 2 +- sdks/full/rust-cli/src/models/game_handle.rs | 1 + .../rust-cli/src/models/game_stat_config.rs | 1 + sdks/full/rust-cli/src/models/game_summary.rs | 1 + .../src/models/group_banned_identity.rs | 2 +- sdks/full/rust-cli/src/models/group_handle.rs | 1 + .../full/rust-cli/src/models/group_summary.rs | 1 + .../models/group_validate_profile_request.rs | 2 +- .../identity_get_game_link_new_identity.rs | 1 + .../rust-cli/src/models/identity_handle.rs | 1 + .../identity_prepare_game_link_response.rs | 1 + .../rust-cli/src/models/identity_presence.rs | 1 + .../rust-cli/src/models/identity_profile.rs | 2 + .../src/models/identity_setup_response.rs | 2 +- .../rust-cli/src/models/identity_summary.rs | 1 + .../models/identity_update_profile_request.rs | 1 + .../src/models/matchmaker_join_region.rs | 1 + .../src/models/matchmaker_region_info.rs | 2 + sdks/full/rust-cli/src/models/mod.rs | 4 - .../src/models/module_call_request.rs | 31 - .../src/models/module_call_response.rs | 28 - sdks/full/rust/.openapi-generator/FILES | 6 - sdks/full/rust/README.md | 3 - sdks/full/rust/docs/CloudBuildSummary.md | 2 +- .../full/rust/docs/CloudCdnNamespaceDomain.md | 2 +- sdks/full/rust/docs/CloudCdnSiteSummary.md | 2 +- .../rust/docs/CloudCustomAvatarSummary.md | 2 +- sdks/full/rust/docs/CloudGameFull.md | 2 +- .../rust/docs/CloudGamesCreateGameRequest.md | 2 +- .../CloudGamesReserveVersionNameResponse.md | 2 +- .../rust/docs/CloudLobbySummaryAnalytics.md | 2 +- .../rust/docs/CloudLogsLobbyStatusStopped.md | 2 +- sdks/full/rust/docs/CloudLogsLobbySummary.md | 6 +- sdks/full/rust/docs/CloudLogsPerfMark.md | 2 +- sdks/full/rust/docs/CloudLogsPerfSpan.md | 4 +- sdks/full/rust/docs/CloudNamespaceFull.md | 2 +- sdks/full/rust/docs/CloudNamespaceSummary.md | 2 +- sdks/full/rust/docs/CloudNamespaceVersion.md | 2 +- sdks/full/rust/docs/CloudVersionFull.md | 2 +- .../CloudVersionIdentityCustomDisplayName.md | 2 +- sdks/full/rust/docs/CloudVersionSummary.md | 2 +- sdks/full/rust/docs/GameHandle.md | 2 +- sdks/full/rust/docs/GameStatConfig.md | 2 +- sdks/full/rust/docs/GameSummary.md | 2 +- sdks/full/rust/docs/GroupBannedIdentity.md | 2 +- sdks/full/rust/docs/GroupHandle.md | 2 +- sdks/full/rust/docs/GroupSummary.md | 2 +- .../rust/docs/GroupValidateProfileRequest.md | 2 +- .../docs/IdentityGetGameLinkNewIdentity.md | 2 +- sdks/full/rust/docs/IdentityHandle.md | 2 +- .../docs/IdentityPrepareGameLinkResponse.md | 2 +- sdks/full/rust/docs/IdentityPresence.md | 2 +- sdks/full/rust/docs/IdentityProfile.md | 4 +- sdks/full/rust/docs/IdentitySetupResponse.md | 2 +- sdks/full/rust/docs/IdentitySummary.md | 2 +- .../rust/docs/IdentityUpdateProfileRequest.md | 2 +- sdks/full/rust/docs/MatchmakerJoinRegion.md | 2 +- sdks/full/rust/docs/MatchmakerRegionInfo.md | 4 +- sdks/full/rust/docs/ModuleApi.md | 42 - sdks/full/rust/docs/ModuleCallRequest.md | 12 - sdks/full/rust/docs/ModuleCallResponse.md | 11 - .../apis/cloud_games_namespaces_logs_api.rs | 2 +- sdks/full/rust/src/apis/mod.rs | 1 - sdks/full/rust/src/apis/module_api.rs | 66 - .../rust/src/models/cloud_build_summary.rs | 2 +- .../src/models/cloud_cdn_namespace_domain.rs | 2 +- .../rust/src/models/cloud_cdn_site_summary.rs | 2 +- .../src/models/cloud_custom_avatar_summary.rs | 2 +- sdks/full/rust/src/models/cloud_game_full.rs | 2 +- .../models/cloud_games_create_game_request.rs | 2 +- ...oud_games_reserve_version_name_response.rs | 1 + .../models/cloud_lobby_summary_analytics.rs | 2 +- .../models/cloud_logs_lobby_status_stopped.rs | 1 + .../src/models/cloud_logs_lobby_summary.rs | 6 +- .../rust/src/models/cloud_logs_perf_mark.rs | 2 +- .../rust/src/models/cloud_logs_perf_span.rs | 4 +- .../rust/src/models/cloud_namespace_full.rs | 2 +- .../src/models/cloud_namespace_summary.rs | 2 +- .../src/models/cloud_namespace_version.rs | 2 +- .../rust/src/models/cloud_version_full.rs | 2 +- ...ud_version_identity_custom_display_name.rs | 1 + .../rust/src/models/cloud_version_summary.rs | 2 +- sdks/full/rust/src/models/game_handle.rs | 1 + sdks/full/rust/src/models/game_stat_config.rs | 1 + sdks/full/rust/src/models/game_summary.rs | 1 + .../rust/src/models/group_banned_identity.rs | 2 +- sdks/full/rust/src/models/group_handle.rs | 1 + sdks/full/rust/src/models/group_summary.rs | 1 + .../models/group_validate_profile_request.rs | 2 +- .../identity_get_game_link_new_identity.rs | 1 + sdks/full/rust/src/models/identity_handle.rs | 1 + .../identity_prepare_game_link_response.rs | 1 + .../full/rust/src/models/identity_presence.rs | 1 + sdks/full/rust/src/models/identity_profile.rs | 2 + .../src/models/identity_setup_response.rs | 2 +- sdks/full/rust/src/models/identity_summary.rs | 1 + .../models/identity_update_profile_request.rs | 1 + .../rust/src/models/matchmaker_join_region.rs | 1 + .../rust/src/models/matchmaker_region_info.rs | 2 + sdks/full/rust/src/models/mod.rs | 4 - .../rust/src/models/module_call_request.rs | 31 - .../rust/src/models/module_call_response.rs | 28 - sdks/full/typescript/src/Client.ts | 7 - .../resources/logs/client/Client.ts | 2 +- .../requests/ListNamespaceLobbiesRequest.ts | 4 +- .../typescript/src/api/resources/index.ts | 1 - .../src/api/resources/module/client/Client.ts | 162 - .../src/api/resources/module/client/index.ts | 1 - .../client/requests/FindLobbyRequest.ts | 9 - .../resources/module/client/requests/index.ts | 1 - .../src/api/resources/module/index.ts | 2 - .../src/serialization/resources/index.ts | 1 - .../resources/module/client/index.ts | 1 - .../client/requests/FindLobbyRequest.ts | 22 - .../resources/module/client/requests/index.ts | 1 - .../serialization/resources/module/index.ts | 2 - sdks/runtime/go/matchmaker/types.go | 10 +- sdks/runtime/go/types.go | 1 + sdks/runtime/openapi/openapi.yml | 5 +- sdks/runtime/openapi_compat/openapi.yml | 5 +- .../runtime/rust/docs/MatchmakerJoinRegion.md | 2 +- .../runtime/rust/docs/MatchmakerRegionInfo.md | 4 +- .../rust/src/models/matchmaker_join_region.rs | 1 + .../rust/src/models/matchmaker_region_info.rs | 2 + .../api/resources/common/types/DisplayName.ts | 3 + .../resources/common/types/RegionInfo.ts | 4 +- .../resources/common/types/RegionInfo.ts | 14 +- svc/Cargo.lock | 3 - svc/api/cloud/src/auth.rs | 14 +- svc/api/cloud/src/route/games/mod.rs | 5 +- svc/api/matchmaker/src/route/lobbies.rs | 14 +- svc/pkg/cf-custom-hostname/worker/src/lib.rs | 13 + .../worker/src/workers/create.rs | 13 +- .../worker/src/workers/delete.rs | 11 +- .../src/workers/datacenter_tls_issue.rs | 2 +- .../external/ops/request-validate/src/lib.rs | 4 +- svc/pkg/external/types/request-validate.proto | 6 +- svc/pkg/game/ops/create/src/lib.rs | 2 - .../game/ops/namespace-validate/src/lib.rs | 4 +- .../ops/token-development-validate/src/lib.rs | 7 +- svc/pkg/game/ops/validate/src/lib.rs | 4 +- svc/pkg/game/ops/version-validate/src/lib.rs | 19 +- svc/pkg/game/types/namespace-validate.proto | 6 +- .../types/token-development-validate.proto | 6 +- svc/pkg/game/types/validate.proto | 6 +- svc/pkg/game/types/version-validate.proto | 6 +- .../ops/namespace-config-validate/src/lib.rs | 4 +- .../types/namespace-config-validate.proto | 6 +- svc/pkg/mm/util/src/verification.rs | 6 - svc/pkg/team/ops/profile-validate/src/lib.rs | 4 +- svc/pkg/team/ops/validate/src/lib.rs | 4 +- svc/pkg/team/types/profile-validate.proto | 6 +- svc/pkg/team/types/validate.proto | 6 +- svc/pkg/user-dev/worker/Cargo.toml | 6 - svc/pkg/user-presence/ops/get/src/lib.rs | 20 +- svc/pkg/user/ops/profile-validate/src/lib.rs | 4 +- svc/pkg/user/types/profile-validate.proto | 6 +- svc/pkg/user/worker/src/workers/delete.rs | 4 +- 272 files changed, 3907 insertions(+), 5339 deletions(-) delete mode 100644 sdks/full/go/module/client/client.go delete mode 100644 sdks/full/go/module/module.go delete mode 100644 sdks/full/go/module/types.go delete mode 100644 sdks/full/rust-cli/docs/ModuleApi.md delete mode 100644 sdks/full/rust-cli/docs/ModuleCallRequest.md delete mode 100644 sdks/full/rust-cli/docs/ModuleCallResponse.md delete mode 100644 sdks/full/rust-cli/src/apis/module_api.rs delete mode 100644 sdks/full/rust-cli/src/models/module_call_request.rs delete mode 100644 sdks/full/rust-cli/src/models/module_call_response.rs delete mode 100644 sdks/full/rust/docs/ModuleApi.md delete mode 100644 sdks/full/rust/docs/ModuleCallRequest.md delete mode 100644 sdks/full/rust/docs/ModuleCallResponse.md delete mode 100644 sdks/full/rust/src/apis/module_api.rs delete mode 100644 sdks/full/rust/src/models/module_call_request.rs delete mode 100644 sdks/full/rust/src/models/module_call_response.rs delete mode 100644 sdks/full/typescript/src/api/resources/module/client/Client.ts delete mode 100644 sdks/full/typescript/src/api/resources/module/client/index.ts delete mode 100644 sdks/full/typescript/src/api/resources/module/client/requests/FindLobbyRequest.ts delete mode 100644 sdks/full/typescript/src/api/resources/module/client/requests/index.ts delete mode 100644 sdks/full/typescript/src/api/resources/module/index.ts delete mode 100644 sdks/full/typescript/src/serialization/resources/module/client/index.ts delete mode 100644 sdks/full/typescript/src/serialization/resources/module/client/requests/FindLobbyRequest.ts delete mode 100644 sdks/full/typescript/src/serialization/resources/module/client/requests/index.ts delete mode 100644 sdks/full/typescript/src/serialization/resources/module/index.ts diff --git a/fern/definition/cloud/common.yml b/fern/definition/cloud/common.yml index 331b48f232..7e5b1c6a3e 100644 --- a/fern/definition/cloud/common.yml +++ b/fern/definition/cloud/common.yml @@ -34,12 +34,8 @@ types: label: docs: The label given to this performance span. type: string - start_ts: - docs: RFC3339 timestamp. - type: datetime - finish_ts: - docs: RFC3339 timestamp. - type: optional + start_ts: commons.Timestamp + finish_ts: optional req_id: type: optional @@ -49,9 +45,7 @@ types: label: docs: The label given to this performance mark. type: string - ts: - docs: RFC3339 timestamp. - type: datetime + ts: commons.Timestamp ray_id: type: optional req_id: @@ -75,9 +69,7 @@ types: type: string region_id: type: uuid - create_ts: - docs: RFC3339 timestamp. - type: datetime + create_ts: commons.Timestamp is_ready: docs: Whether or not this lobby is ready. type: boolean @@ -124,15 +116,9 @@ types: type: string region_id: type: uuid - create_ts: - docs: RFC3339 timestamp. - type: datetime - start_ts: - docs: RFC3339 timestamp. - type: optional - ready_ts: - docs: RFC3339 timestamp. - type: optional + create_ts: commons.Timestamp + start_ts: optional + ready_ts: optional status: LogsLobbyStatus LogsLobbyStatus: @@ -144,7 +130,7 @@ types: LogsLobbyStatusStopped: docs: The status of a stopped lobby. properties: - stop_ts: datetime + stop_ts: commons.Timestamp failed: type: boolean docs: Whether or not the lobby failed or stopped successfully. @@ -189,12 +175,8 @@ types: properties: upload_id: type: uuid - display_name: - docs: Represent a resource's readable display name. - type: string - create_ts: - docs: RFC3339 timestamp. - type: datetime + display_name: commons.DisplayName + create_ts: commons.Timestamp url: docs: >- The URL of this custom avatar image. Only present if upload is @@ -214,12 +196,8 @@ types: type: uuid upload_id: type: uuid - display_name: - docs: Represent a resource's readable display name. - type: string - create_ts: - docs: RFC3339 timestamp. - type: datetime + display_name: commons.DisplayName + create_ts: commons.Timestamp content_length: docs: Unsigned 64 bit integer. type: long @@ -234,12 +212,8 @@ types: type: uuid upload_id: type: uuid - display_name: - docs: Represent a resource's readable display name. - type: string - create_ts: - docs: RFC3339 timestamp. - type: datetime + display_name: commons.DisplayName + create_ts: commons.Timestamp content_length: docs: Unsigned 64 bit integer. type: long @@ -252,9 +226,7 @@ types: properties: game_id: type: uuid - create_ts: - docs: RFC3339 timestamp. - type: datetime + create_ts: commons.Timestamp name_id: docs: >- A human readable short identifier used to references resources. @@ -264,9 +236,7 @@ types: include special characters and be short. type: string - display_name: - docs: Represent a resource's readable display name. - type: string + display_name: commons.DisplayName developer_group_id: type: uuid total_player_count: @@ -293,12 +263,8 @@ types: properties: namespace_id: type: uuid - create_ts: - docs: RFC3339 timestamp. - type: datetime - display_name: - docs: Represent a resource's readable display name. - type: string + create_ts: commons.Timestamp + display_name: commons.DisplayName version_id: type: uuid name_id: @@ -334,12 +300,8 @@ types: A universal region label given to this region. type: UniversalRegion - provider_display_name: - docs: Represent a resource's readable display name. - type: string - region_display_name: - docs: Represent a resource's readable display name. - type: string + provider_display_name: commons.DisplayName + region_display_name: commons.DisplayName GameLobbyExpenses: docs: Game lobby expenses. @@ -475,12 +437,8 @@ types: properties: namespace_id: type: uuid - create_ts: - docs: RFC3339 timestamp. - type: datetime - display_name: - docs: Represent a resource's readable display name. - type: string + create_ts: commons.Timestamp + display_name: commons.DisplayName version_id: type: uuid name_id: @@ -562,9 +520,7 @@ types: domain: docs: A valid domain name (no protocol). type: string - create_ts: - docs: RFC3339 timestamp. - type: datetime + create_ts: commons.Timestamp verification_status: CdnNamespaceDomainVerificationStatus verification_method: CdnNamespaceDomainVerificationMethod verification_errors: list @@ -609,6 +565,4 @@ types: version_id: docs: A universally unique identifier. type: string - deploy_ts: - docs: RFC3339 timestamp. - type: datetime + deploy_ts: commons.Timestamp diff --git a/fern/definition/cloud/games/builds.yml b/fern/definition/cloud/games/builds.yml index 50ef5c0ec5..1b1a5abc21 100644 --- a/fern/definition/cloud/games/builds.yml +++ b/fern/definition/cloud/games/builds.yml @@ -1,6 +1,7 @@ # yaml-language-server: $schema=https://raw.githubusercontent.com/fern-api/fern/main/fern.schema.json imports: + commons: ../../common.yml uploadCommons: ../../upload/common.yml cloudCommons: ../../cloud/common.yml @@ -34,9 +35,7 @@ types: CreateGameBuildRequest: properties: - display_name: - docs: Represent a resource's readable display name. - type: string + display_name: commons.DisplayName image_tag: docs: A tag given to the game build. type: string diff --git a/fern/definition/cloud/games/cdn.yml b/fern/definition/cloud/games/cdn.yml index 05e97d3de0..8f7c0acf94 100644 --- a/fern/definition/cloud/games/cdn.yml +++ b/fern/definition/cloud/games/cdn.yml @@ -1,6 +1,7 @@ # yaml-language-server: $schema=https://raw.githubusercontent.com/fern-api/fern/main/fern.schema.json imports: + commons: ../../common.yml uploadCommons: ../../upload/common.yml cloudCommons: ../../cloud/common.yml @@ -33,9 +34,7 @@ types: CreateGameCdnSiteRequest: properties: - display_name: - docs: Represent a resource's readable display name. - type: string + display_name: commons.DisplayName files: docs: A list of files preparing to upload. type: list diff --git a/fern/definition/cloud/games/games.yml b/fern/definition/cloud/games/games.yml index 1f47c90437..a2c08f6e7f 100644 --- a/fern/definition/cloud/games/games.yml +++ b/fern/definition/cloud/games/games.yml @@ -116,17 +116,8 @@ types: name_id: docs: >- **Deprecated** - - A human readable short identifier used to references resources. - Different than a `rivet.common#Uuid` because this is intended to be - human readable. - Different than `rivet.common#DisplayName` because this should not - include special - characters and be short. - type: optional - display_name: - docs: Represent a resource's readable display name. - type: string + type: optional + display_name: commons.DisplayName developer_group_id: type: uuid @@ -137,9 +128,7 @@ types: ValidateGameRequest: properties: - display_name: - docs: Represent a resource's readable display name. - type: string + display_name: commons.DisplayName name_id: docs: >- **Deprecated** diff --git a/fern/definition/cloud/games/namespaces/__package__.yml b/fern/definition/cloud/games/namespaces/__package__.yml index 95bb7c1417..ed6d0e1471 100644 --- a/fern/definition/cloud/games/namespaces/__package__.yml +++ b/fern/definition/cloud/games/namespaces/__package__.yml @@ -226,9 +226,7 @@ types: CreateGameNamespaceRequest: properties: - display_name: - docs: Represent a resource's readable display name. - type: string + display_name: commons.DisplayName version_id: type: uuid name_id: @@ -248,9 +246,7 @@ types: ValidateGameNamespaceRequest: properties: - display_name: - docs: Represent a resource's readable display name. - type: string + display_name: commons.DisplayName name_id: docs: >- A human readable short identifier used to references resources. diff --git a/fern/definition/cloud/games/namespaces/logs.yml b/fern/definition/cloud/games/namespaces/logs.yml index 23762737de..bb353708f3 100644 --- a/fern/definition/cloud/games/namespaces/logs.yml +++ b/fern/definition/cloud/games/namespaces/logs.yml @@ -1,6 +1,7 @@ # yaml-language-server: $schema=https://raw.githubusercontent.com/fern-api/fern/main/fern.schema.json imports: + commons: ../../../common.yml localCommons: ../../common.yml service: @@ -22,7 +23,7 @@ service: query-parameters: before_create_ts: docs: Returns lobbies created before this timestamp. - type: optional + type: optional response: ListNamespaceLobbiesResponse getNamespaceLobby: diff --git a/fern/definition/cloud/games/versions.yml b/fern/definition/cloud/games/versions.yml index fc4dcd1c86..88a7d844ca 100644 --- a/fern/definition/cloud/games/versions.yml +++ b/fern/definition/cloud/games/versions.yml @@ -48,9 +48,7 @@ service: types: CreateGameVersionRequest: properties: - display_name: - docs: Represent a resource's readable display name. - type: string + display_name: commons.DisplayName config: version.Config CreateGameVersionResponse: @@ -60,13 +58,11 @@ types: ReserveVersionNameResponse: properties: - version_display_name: string + version_display_name: commons.DisplayName ValidateGameVersionRequest: properties: - display_name: - docs: Represent a resource's readable display name. - type: string + display_name: commons.DisplayName config: version.Config ValidateGameVersionResponse: diff --git a/fern/definition/cloud/groups.yml b/fern/definition/cloud/groups.yml index e2cc008493..32f5c8139d 100644 --- a/fern/definition/cloud/groups.yml +++ b/fern/definition/cloud/groups.yml @@ -19,9 +19,7 @@ service: types: ValidateGroupRequest: properties: - display_name: - docs: Represent a resource's readable display name. - type: string + display_name: commons.DisplayName ValidateGroupResponse: properties: diff --git a/fern/definition/cloud/version/__package__.yml b/fern/definition/cloud/version/__package__.yml index b1310c0ed3..5b0056eee2 100644 --- a/fern/definition/cloud/version/__package__.yml +++ b/fern/definition/cloud/version/__package__.yml @@ -1,7 +1,8 @@ # yaml-language-server: $schema=https://raw.githubusercontent.com/fern-api/fern/main/fern.schema.json imports: - commons: ../common.yml + commons: ../../common.yml + cloudCommons: ../common.yml engine: engine/__package__.yml cdn: cdn/__package__.yml matchmaker: matchmaker/__package__.yml @@ -24,12 +25,8 @@ types: properties: version_id: type: uuid - create_ts: - docs: RFC3339 timestamp. - type: datetime - display_name: - docs: Represent a resource's readable display name. - type: string + create_ts: commons.Timestamp + display_name: commons.DisplayName config: Config Summary: @@ -37,9 +34,5 @@ types: properties: version_id: type: uuid - create_ts: - docs: RFC3339 timestamp. - type: datetime - display_name: - docs: Represent a resource's readable display name. - type: string + create_ts: commons.Timestamp + display_name: commons.DisplayName diff --git a/fern/definition/cloud/version/identity/__package__.yml b/fern/definition/cloud/version/identity/__package__.yml index 68b0ceb734..0d12de2909 100644 --- a/fern/definition/cloud/version/identity/__package__.yml +++ b/fern/definition/cloud/version/identity/__package__.yml @@ -1,7 +1,8 @@ # yaml-language-server: $schema=https://raw.githubusercontent.com/fern-api/fern/main/fern.schema.json imports: - commons: ../../common.yml + commons: ../../../common.yml + cloudCommons: ../../common.yml types: Config: @@ -30,7 +31,7 @@ types: CustomDisplayName: properties: - display_name: string + display_name: commons.DisplayName CustomAvatar: properties: diff --git a/fern/definition/common.yml b/fern/definition/common.yml index 90b3f2dc93..9eb715763a 100644 --- a/fern/definition/common.yml +++ b/fern/definition/common.yml @@ -70,7 +70,9 @@ types: Index indicating the version of the data responded. Pass this to `WatchQuery` to block and wait for the next response. - DisplayName: string + DisplayName: + docs: Represent a resource's readable display name. + type: string AccountNumber: integer diff --git a/fern/definition/game/common.yml b/fern/definition/game/common.yml index bd32f9787b..6a700a6692 100644 --- a/fern/definition/game/common.yml +++ b/fern/definition/game/common.yml @@ -48,9 +48,7 @@ types: include special characters and be short. type: string - display_name: - docs: Represent a resource's readable display name. - type: string + display_name: commons.DisplayName logo_url: docs: The URL of this game's logo image. type: optional @@ -83,9 +81,7 @@ types: PlatformLink: docs: A platform link denoting a supported platform. properties: - display_name: - docs: Represent a resource's readable display name. - type: string + display_name: commons.DisplayName url: docs: The URL to the given game's method of distribution on this platform. type: string @@ -93,9 +89,7 @@ types: LeaderboardCategory: docs: A game leaderboard category. properties: - display_name: - docs: Represent a resource's readable display name. - type: string + display_name: commons.DisplayName StatSummary: docs: A game statistic summary. diff --git a/fern/definition/group/__package__.yml b/fern/definition/group/__package__.yml index cfa8fce9b5..25fcaeb5cf 100644 --- a/fern/definition/group/__package__.yml +++ b/fern/definition/group/__package__.yml @@ -245,9 +245,7 @@ types: CreateRequest: properties: - display_name: - docs: Represent a resource's readable display name. - type: string + display_name: commons.DisplayName CreateResponse: properties: @@ -274,12 +272,8 @@ types: ValidateProfileRequest: properties: - display_name: - docs: Represent a resource's readable display name. - type: optional - bio: - docs: Detailed information about a profile. - type: optional + display_name: optional + bio: optional publicity: optional ValidateProfileResponse: @@ -332,9 +326,7 @@ types: UpdateProfileRequest: properties: - display_name: - docs: Represent a resource's readable display name. - type: optional + display_name: optional bio: docs: Detailed information about a profile. type: optional diff --git a/fern/definition/group/common.yml b/fern/definition/group/common.yml index c6e86ad231..d95ee1dd42 100644 --- a/fern/definition/group/common.yml +++ b/fern/definition/group/common.yml @@ -72,9 +72,7 @@ types: properties: group_id: type: uuid - display_name: - docs: Represent a resource's readable display name. - type: string + display_name: commons.DisplayName avatar_url: docs: The URL of this group's avatar image. type: optional @@ -110,6 +108,4 @@ types: docs: A banned identity. properties: identity: identityCommons.Handle - ban_ts: - docs: RFC3339 timestamp. - type: datetime + ban_ts: commons.Timestamp diff --git a/fern/definition/identity/__package__.yml b/fern/definition/identity/__package__.yml index 727f3bd4c9..b5ba477129 100644 --- a/fern/definition/identity/__package__.yml +++ b/fern/definition/identity/__package__.yml @@ -307,7 +307,6 @@ types: SetupResponse: properties: identity_token: - type: commons.JWT docs: | Token used to authenticate the identity. Should be stored somewhere permanent. @@ -317,14 +316,12 @@ types: If this happens, the user can recover their account through the linking process (see `rivet.api.identity#PrepareGameLink`). This token should be stored locally and never sent to a server or another device. If this token is compromised, anyone with access to this token has control of the identity. - identity_token_expire_ts: - type: datetime - docs: | - If this token is compromised, anyone with access to this token has control of the identity. + type: commons.JWT + identity_token_expire_ts: commons.Timestamp identity: - type: identityCommons.Profile docs: | Information about the identity that was just authenticated. + type: identityCommons.Profile game_id: uuid GetProfileResponse: diff --git a/fern/definition/identity/common.yml b/fern/definition/identity/common.yml index a557a2fddb..49eb072b06 100644 --- a/fern/definition/identity/common.yml +++ b/fern/definition/identity/common.yml @@ -145,7 +145,7 @@ types: requestee's identity. type: boolean is_mutual_following: boolean - join_ts: datetime + join_ts: commons.Timestamp bio: commons.Bio linked_accounts: list groups: list @@ -169,7 +169,7 @@ types: Presence: docs: Information about the identity's current status, party, and active game. properties: - update_ts: datetime + update_ts: commons.Timestamp status: Status game_activity: optional diff --git a/fern/definition/identity/links.yml b/fern/definition/identity/links.yml index 060fea4e17..9d5329f84a 100644 --- a/fern/definition/identity/links.yml +++ b/fern/definition/identity/links.yml @@ -64,8 +64,7 @@ types: minutes. identity_link_url: type: string - expire_ts: - type: datetime + expire_ts: commons.Timestamp GetGameLinkResponse: properties: @@ -78,7 +77,7 @@ types: GetGameLinkNewIdentity: properties: identity_token: commons.JWT - identity_token_expire_ts: datetime + identity_token_expire_ts: commons.Timestamp identity: identityCommons.Profile CompleteGameLinkRequest: diff --git a/fern/definition/matchmaker/common.yml b/fern/definition/matchmaker/common.yml index 2a32505a48..df44b90bd6 100644 --- a/fern/definition/matchmaker/common.yml +++ b/fern/definition/matchmaker/common.yml @@ -26,8 +26,8 @@ types: docs: A region that the player can connect to. properties: region_id: commons.Identifier - provider_display_name: string - region_display_name: string + provider_display_name: commons.DisplayName + region_display_name: commons.DisplayName datacenter_coord: geoCommons.Coord datacenter_distance_from_client: geoCommons.Distance diff --git a/lib/bolt/core/src/context/service.rs b/lib/bolt/core/src/context/service.rs index 7648a41cfc..1353c8da78 100644 --- a/lib/bolt/core/src/context/service.rs +++ b/lib/bolt/core/src/context/service.rs @@ -852,19 +852,28 @@ impl ServiceContextData { ); } - if project_ctx.ns().dns.is_some() { - let dns = terraform::output::read_dns(&project_ctx).await; + // DNS + if let Some(dns) = &project_ctx.ns().dns { + match &dns.provider { + Some(config::ns::DnsProvider::Cloudflare { account_id, .. }) => { + env.insert("RIVET_DNS_PROVIDER".into(), "cloudflare".into()); + env.insert("CLOUDFLARE_ACCOUNT_ID".into(), account_id.clone()); + } + None => {} + } + + let dns_output = terraform::output::read_dns(&project_ctx).await; env.insert( - "CLOUDFLARE_ZONE_ID_BASE".into(), - (*dns.cloudflare_zone_ids).main.clone(), + "CLOUDFLARE_ZONE_ID_MAIN".into(), + (*dns_output.cloudflare_zone_ids).main.clone(), ); env.insert( "CLOUDFLARE_ZONE_ID_GAME".into(), - (*dns.cloudflare_zone_ids).cdn.clone(), + (*dns_output.cloudflare_zone_ids).cdn.clone(), ); env.insert( "CLOUDFLARE_ZONE_ID_JOB".into(), - (*dns.cloudflare_zone_ids).job.clone(), + (*dns_output.cloudflare_zone_ids).job.clone(), ); } @@ -1237,13 +1246,20 @@ impl ServiceContextData { } } - if project_ctx.ns().dns.is_some() && self.depends_on_cloudflare() { - env.insert( - "CLOUDFLARE_AUTH_TOKEN".into(), - project_ctx - .read_secret(&["cloudflare", "terraform", "auth_token"]) - .await?, - ); + if let Some(dns) = &project_ctx.ns().dns { + match &dns.provider { + Some(config::ns::DnsProvider::Cloudflare { .. }) => { + if self.depends_on_cloudflare() { + env.insert( + "CLOUDFLARE_AUTH_TOKEN".into(), + project_ctx + .read_secret(&["cloudflare", "terraform", "auth_token"]) + .await?, + ); + } + } + None => {} + } } if self.depends_on_infra() && project_ctx.ns().rivet.provisioning.is_some() { diff --git a/lib/bolt/core/src/dep/terraform/gen.rs b/lib/bolt/core/src/dep/terraform/gen.rs index 9e7a8e4b1e..9d2db46891 100644 --- a/lib/bolt/core/src/dep/terraform/gen.rs +++ b/lib/bolt/core/src/dep/terraform/gen.rs @@ -42,20 +42,13 @@ pub async fn project(ctx: &ProjectContext) { pub async fn gen_bolt_tf(ctx: &ProjectContext, plan_id: &str) -> Result<()> { // Configure the backend let backend = match ctx.ns().terraform.backend { - ns::TerraformBackend::Local {} => indoc!( - r#" - terraform { - backend "local" {} - } - "# - ) - .to_string(), + ns::TerraformBackend::Local {} => String::new(), ns::TerraformBackend::Postgres {} => indoc!( - r#" + " terraform { - backend "pg" {} + backend \"pg\" {} } - "# + " ) .to_string(), }; @@ -311,6 +304,12 @@ async fn vars(ctx: &ProjectContext) { "name": domain_main_api, })); + // OGS + extra_dns.push(json!({ + "zone_name": "main", + "name": format!("*.ogs.{domain_main}"), + })); + // Add services for svc_ctx in all_svc { if let Some(router) = svc_ctx.config().kind.router() { diff --git a/lib/claims/src/lib.rs b/lib/claims/src/lib.rs index 226a168a73..b8b0706e8a 100644 --- a/lib/claims/src/lib.rs +++ b/lib/claims/src/lib.rs @@ -734,7 +734,10 @@ fn decode_proto( let mut iter = message.rsplit('.'); let (claims, header) = match (iter.next(), iter.next(), iter.next()) { (Some(claims), Some(header), None) => (claims, { - let decoded = base64::decode_config(header, base64::URL_SAFE_NO_PAD)?; + let decoded = match base64::decode_config(header, base64::URL_SAFE_NO_PAD) { + Ok(decoded) => decoded, + Err(err) => bail_with!(TOKEN_INVALID, reason = err), + }; let s = String::from_utf8(decoded)?; serde_json::from_str::(&s)? }), @@ -749,7 +752,10 @@ fn decode_proto( bail_with!(TOKEN_INVALID, reason = "invalid signature"); } - let claims_buf = base64::decode_config(&claims, base64::URL_SAFE_NO_PAD)?; + let claims_buf = match base64::decode_config(&claims, base64::URL_SAFE_NO_PAD) { + Ok(claims_buf) => claims_buf, + Err(err) => bail_with!(TOKEN_INVALID, reason = err), + }; let claims = schema::Claims::decode(claims_buf.as_slice())?; Ok(validate(&claims).map(|_| claims)) diff --git a/lib/convert/src/impls/cloud/mod.rs b/lib/convert/src/impls/cloud/mod.rs index 4494f329b4..bff4c291d2 100644 --- a/lib/convert/src/impls/cloud/mod.rs +++ b/lib/convert/src/impls/cloud/mod.rs @@ -171,46 +171,6 @@ impl ApiTryFrom for backend::upload::PrepareFile { } } -impl ApiFrom for models::ValidationError { - fn api_from(value: team::validate::response::Error) -> models::ValidationError { - models::ValidationError { path: value.path } - } -} - -impl ApiFrom for models::ValidationError { - fn api_from(value: game::validate::response::Error) -> models::ValidationError { - models::ValidationError { path: value.path } - } -} - -impl ApiFrom for models::ValidationError { - fn api_from(value: game::namespace_validate::response::Error) -> models::ValidationError { - models::ValidationError { path: value.path } - } -} - -impl ApiFrom for models::ValidationError { - fn api_from(value: game::version_validate::response::Error) -> models::ValidationError { - models::ValidationError { path: value.path } - } -} - -impl ApiFrom for models::ValidationError { - fn api_from( - value: game::token_development_validate::response::Error, - ) -> models::ValidationError { - models::ValidationError { path: value.path } - } -} - -impl ApiFrom for models::ValidationError { - fn api_from( - value: mm_config::namespace_config_validate::response::Error, - ) -> models::ValidationError { - models::ValidationError { path: value.path } - } -} - impl ApiTryFrom for models::CloudRegionTier { type Error = GlobalError; diff --git a/lib/convert/src/impls/group.rs b/lib/convert/src/impls/group.rs index e7003a3a30..d34ee99238 100644 --- a/lib/convert/src/impls/group.rs +++ b/lib/convert/src/impls/group.rs @@ -24,12 +24,6 @@ impl ApiFrom for backend::team::Publicity { } } -impl ApiFrom for models::ValidationError { - fn api_from(value: team::profile_validate::response::Error) -> models::ValidationError { - models::ValidationError { path: value.path } - } -} - impl ApiFrom for new_models::GroupPublicity { fn api_from(value: backend::team::Publicity) -> new_models::GroupPublicity { match value { diff --git a/lib/convert/src/impls/identity.rs b/lib/convert/src/impls/identity.rs index ac2284c2fa..12a2ae2892 100644 --- a/lib/convert/src/impls/identity.rs +++ b/lib/convert/src/impls/identity.rs @@ -31,12 +31,6 @@ impl ApiTryFrom for models::IdentityLinkedAcco } } -impl ApiFrom for models::ValidationError { - fn api_from(value: user::profile_validate::response::Error) -> models::ValidationError { - models::ValidationError { path: value.path } - } -} - impl ApiFrom for models::IdentityGameLinkStatus { fn api_from(value: game_user::link_get::response::GameUserLinkStatus) -> Self { match value { diff --git a/lib/convert/src/impls/mod.rs b/lib/convert/src/impls/mod.rs index e9c9adf8a1..9c981bf62c 100644 --- a/lib/convert/src/impls/mod.rs +++ b/lib/convert/src/impls/mod.rs @@ -1,3 +1,10 @@ +use proto::common; +use rivet_api::models as new_models; +use rivet_group_server::models; +use rivet_operation::prelude::*; + +use crate::ApiFrom; + pub mod admin; pub mod api; pub mod cloud; @@ -7,6 +14,18 @@ pub mod kv; pub mod portal; pub mod user; +impl ApiFrom for new_models::ValidationError { + fn api_from(value: common::ValidationError) -> new_models::ValidationError { + new_models::ValidationError { path: value.path } + } +} + +impl ApiFrom for models::ValidationError { + fn api_from(value: common::ValidationError) -> models::ValidationError { + models::ValidationError { path: value.path } + } +} + // Reimplement conversions for ease of use in this module mod num { use crate::ApiTryFrom; diff --git a/lib/global-error/src/error.rs b/lib/global-error/src/error.rs index 085e94f29a..4c132b22d4 100644 --- a/lib/global-error/src/error.rs +++ b/lib/global-error/src/error.rs @@ -83,7 +83,7 @@ impl GlobalError { } pub fn bad_request_builder(code: &'static str) -> BadRequestBuilder { - BadRequestBuilder::new().code(code) + BadRequestBuilder::new(code) } /// Matches this error against a `formatted_error::code` variant. @@ -185,24 +185,19 @@ impl From for chirp::response::Err { #[derive(Default)] pub struct BadRequestBuilder { - code: Option<&'static str>, + code: &'static str, context: Option>, metadata: Option, } impl BadRequestBuilder { - pub fn new() -> BadRequestBuilder { + pub fn new(code: &'static str) -> BadRequestBuilder { BadRequestBuilder { + code, ..Default::default() } } - pub fn code(mut self, code: &'static str) -> BadRequestBuilder { - self.code = Some(code); - - self - } - pub fn context(mut self, context: HashMap) -> BadRequestBuilder { self.context = Some(context); @@ -216,18 +211,11 @@ impl BadRequestBuilder { } pub fn build(self) -> GlobalError { - match self.build_inner() { - Ok(err) => err, - Err(err) => err, - } - } - - fn build_inner(self) -> GlobalResult { - Ok(GlobalError::BadRequest { - code: self.code.ok_or(BadRequestBuilderError)?.to_string(), + GlobalError::BadRequest { + code: self.code.to_string(), context: self.context.unwrap_or_else(HashMap::new), metadata: self.metadata.map(|m| m.to_string()), - }) + } } } diff --git a/lib/util/env/src/lib.rs b/lib/util/env/src/lib.rs index 798ca44cd6..b862236aa1 100644 --- a/lib/util/env/src/lib.rs +++ b/lib/util/env/src/lib.rs @@ -181,26 +181,25 @@ pub async fn stripe_webhook_secret() -> Result { } pub mod cloudflare { - use super::EnvVarError; + use super::{var, EnvVarError}; lazy_static::lazy_static! { - static ref CLOUDFLARE_AUTH_TOKEN: Option = std::env::var("CLOUDFLARE_AUTH_TOKEN").ok(); + static ref CLOUDFLARE_AUTH_TOKEN: Result = var("CLOUDFLARE_AUTH_TOKEN"); + static ref CLOUDFLARE_ACCOUNT_ID: Result = var("CLOUDFLARE_ACCOUNT_ID"); } pub fn auth_token() -> &'static str { - match &*CLOUDFLARE_AUTH_TOKEN { - Some(x) => x.as_str(), - None => panic!( - "{}", - EnvVarError::Missing("CLOUDFLARE_AUTH_TOKEN".to_string()) - ), - } + CLOUDFLARE_AUTH_TOKEN.as_ref().unwrap().as_str() + } + + pub fn account_id() -> &'static str { + CLOUDFLARE_ACCOUNT_ID.as_ref().unwrap().as_str() } pub mod zone { - pub mod base { + pub mod main { lazy_static::lazy_static! { - static ref ID: Option = std::env::var("CLOUDFLARE_ZONE_ID_BASE").ok(); + static ref ID: Option = std::env::var("CLOUDFLARE_ZONE_ID_MAIN").ok(); } pub fn id() -> Option<&'static str> { diff --git a/proto/common.proto b/proto/common.proto index a86f6a5a49..c086678c08 100644 --- a/proto/common.proto +++ b/proto/common.proto @@ -19,3 +19,7 @@ message Glob { repeated Token tokens = 1; } + +message ValidationError { + repeated string path = 1; +} diff --git a/sdks/full/go/client/client.go b/sdks/full/go/client/client.go index eea007717b..7288b5569f 100644 --- a/sdks/full/go/client/client.go +++ b/sdks/full/go/client/client.go @@ -13,7 +13,6 @@ import ( jobclient "sdk/job/client" kvclient "sdk/kv/client" matchmakerclient "sdk/matchmaker/client" - moduleclient "sdk/module/client" portalclient "sdk/portal/client" provisionclient "sdk/provision/client" ) @@ -28,7 +27,6 @@ type Client struct { Group *groupclient.Client Identity *identityclient.Client Kv *kvclient.Client - Module *moduleclient.Client Provision *provisionclient.Client Auth *authclient.Client Job *jobclient.Client @@ -50,7 +48,6 @@ func NewClient(opts ...core.ClientOption) *Client { Group: groupclient.NewClient(opts...), Identity: identityclient.NewClient(opts...), Kv: kvclient.NewClient(opts...), - Module: moduleclient.NewClient(opts...), Provision: provisionclient.NewClient(opts...), Auth: authclient.NewClient(opts...), Job: jobclient.NewClient(opts...), diff --git a/sdks/full/go/cloud/games/builds.go b/sdks/full/go/cloud/games/builds.go index aad35359aa..5fe49326cb 100644 --- a/sdks/full/go/cloud/games/builds.go +++ b/sdks/full/go/cloud/games/builds.go @@ -6,14 +6,14 @@ import ( json "encoding/json" fmt "fmt" uuid "github.com/google/uuid" + sdk "sdk" cloud "sdk/cloud" core "sdk/core" upload "sdk/upload" ) type CreateGameBuildRequest struct { - // Represent a resource's readable display name. - DisplayName string `json:"display_name"` + DisplayName sdk.DisplayName `json:"display_name"` // A tag given to the game build. ImageTag string `json:"image_tag"` ImageFile *upload.PrepareFile `json:"image_file,omitempty"` diff --git a/sdks/full/go/cloud/games/cdn.go b/sdks/full/go/cloud/games/cdn.go index c5eaf3a7f9..b7c2bcbe6b 100644 --- a/sdks/full/go/cloud/games/cdn.go +++ b/sdks/full/go/cloud/games/cdn.go @@ -6,14 +6,14 @@ import ( json "encoding/json" fmt "fmt" uuid "github.com/google/uuid" + sdk "sdk" cloud "sdk/cloud" core "sdk/core" upload "sdk/upload" ) type CreateGameCdnSiteRequest struct { - // Represent a resource's readable display name. - DisplayName string `json:"display_name"` + DisplayName sdk.DisplayName `json:"display_name"` // A list of files preparing to upload. Files []*upload.PrepareFile `json:"files,omitempty"` diff --git a/sdks/full/go/cloud/games/games.go b/sdks/full/go/cloud/games/games.go index 2c0f7f69c9..69f9229068 100644 --- a/sdks/full/go/cloud/games/games.go +++ b/sdks/full/go/cloud/games/games.go @@ -26,11 +26,9 @@ type GetGamesRequest struct { type CreateGameRequest struct { // **Deprecated** - // A human readable short identifier used to references resources. Different than a `rivet.common#Uuid` because this is intended to be human readable. Different than `rivet.common#DisplayName` because this should not include special characters and be short. - NameId *string `json:"name_id,omitempty"` - // Represent a resource's readable display name. - DisplayName string `json:"display_name"` - DeveloperGroupId uuid.UUID `json:"developer_group_id"` + NameId *sdk.Identifier `json:"name_id,omitempty"` + DisplayName sdk.DisplayName `json:"display_name"` + DeveloperGroupId uuid.UUID `json:"developer_group_id"` _rawJSON json.RawMessage } @@ -279,8 +277,7 @@ func (g *GetGamesResponse) String() string { } type ValidateGameRequest struct { - // Represent a resource's readable display name. - DisplayName string `json:"display_name"` + DisplayName sdk.DisplayName `json:"display_name"` // **Deprecated** // A human readable short identifier used to references resources. Different than a `rivet.common#Uuid` because this is intended to be human readable. Different than `rivet.common#DisplayName` because this should not include special characters and be short. NameId *string `json:"name_id,omitempty"` diff --git a/sdks/full/go/cloud/games/namespaces/logs.go b/sdks/full/go/cloud/games/namespaces/logs.go index 301afaefd3..6e30530a72 100644 --- a/sdks/full/go/cloud/games/namespaces/logs.go +++ b/sdks/full/go/cloud/games/namespaces/logs.go @@ -5,14 +5,14 @@ package namespaces import ( json "encoding/json" fmt "fmt" + sdk "sdk" cloud "sdk/cloud" core "sdk/core" - time "time" ) type ListNamespaceLobbiesRequest struct { // Returns lobbies created before this timestamp. - BeforeCreateTs *time.Time `json:"-"` + BeforeCreateTs *sdk.Timestamp `json:"-"` } type GetNamespaceLobbyResponse struct { diff --git a/sdks/full/go/cloud/games/namespaces/logs/client.go b/sdks/full/go/cloud/games/namespaces/logs/client.go index 4fd6489008..9bf34ceb8d 100644 --- a/sdks/full/go/cloud/games/namespaces/logs/client.go +++ b/sdks/full/go/cloud/games/namespaces/logs/client.go @@ -15,7 +15,6 @@ import ( sdk "sdk" namespaces "sdk/cloud/games/namespaces" core "sdk/core" - time "time" ) type Client struct { @@ -46,7 +45,7 @@ func (c *Client) ListNamespaceLobbies(ctx context.Context, gameId uuid.UUID, nam queryParams := make(url.Values) if request.BeforeCreateTs != nil { - queryParams.Add("before_create_ts", fmt.Sprintf("%v", request.BeforeCreateTs.Format(time.RFC3339))) + queryParams.Add("before_create_ts", fmt.Sprintf("%v", *request.BeforeCreateTs)) } if len(queryParams) > 0 { endpointURL += "?" + queryParams.Encode() diff --git a/sdks/full/go/cloud/games/namespaces/namespaces.go b/sdks/full/go/cloud/games/namespaces/namespaces.go index 19d7fe3ae2..5461d7a207 100644 --- a/sdks/full/go/cloud/games/namespaces/namespaces.go +++ b/sdks/full/go/cloud/games/namespaces/namespaces.go @@ -43,9 +43,8 @@ func (a *AddNamespaceDomainRequest) String() string { } type CreateGameNamespaceRequest struct { - // Represent a resource's readable display name. - DisplayName string `json:"display_name"` - VersionId uuid.UUID `json:"version_id"` + DisplayName sdk.DisplayName `json:"display_name"` + VersionId uuid.UUID `json:"version_id"` // A human readable short identifier used to references resources. Different than a `rivet.common#Uuid` because this is intended to be human readable. Different than `rivet.common#DisplayName` because this should not include special characters and be short. NameId string `json:"name_id"` @@ -476,8 +475,7 @@ func (v *ValidateGameNamespaceMatchmakerConfigResponse) String() string { } type ValidateGameNamespaceRequest struct { - // Represent a resource's readable display name. - DisplayName string `json:"display_name"` + DisplayName sdk.DisplayName `json:"display_name"` // A human readable short identifier used to references resources. Different than a `rivet.common#Uuid` because this is intended to be human readable. Different than `rivet.common#DisplayName` because this should not include special characters and be short. NameId string `json:"name_id"` diff --git a/sdks/full/go/cloud/games/versions.go b/sdks/full/go/cloud/games/versions.go index b61f4e949d..a7b3fde48a 100644 --- a/sdks/full/go/cloud/games/versions.go +++ b/sdks/full/go/cloud/games/versions.go @@ -12,8 +12,7 @@ import ( ) type CreateGameVersionRequest struct { - // Represent a resource's readable display name. - DisplayName string `json:"display_name"` + DisplayName sdk.DisplayName `json:"display_name"` Config *version.Config `json:"config,omitempty"` _rawJSON json.RawMessage @@ -101,7 +100,7 @@ func (g *GetGameVersionByIdResponse) String() string { } type ReserveVersionNameResponse struct { - VersionDisplayName string `json:"version_display_name"` + VersionDisplayName sdk.DisplayName `json:"version_display_name"` _rawJSON json.RawMessage } @@ -130,8 +129,7 @@ func (r *ReserveVersionNameResponse) String() string { } type ValidateGameVersionRequest struct { - // Represent a resource's readable display name. - DisplayName string `json:"display_name"` + DisplayName sdk.DisplayName `json:"display_name"` Config *version.Config `json:"config,omitempty"` _rawJSON json.RawMessage diff --git a/sdks/full/go/cloud/groups.go b/sdks/full/go/cloud/groups.go index 7e51542296..4d04db5a06 100644 --- a/sdks/full/go/cloud/groups.go +++ b/sdks/full/go/cloud/groups.go @@ -10,8 +10,7 @@ import ( ) type ValidateGroupRequest struct { - // Represent a resource's readable display name. - DisplayName string `json:"display_name"` + DisplayName sdk.DisplayName `json:"display_name"` _rawJSON json.RawMessage } diff --git a/sdks/full/go/cloud/types.go b/sdks/full/go/cloud/types.go index 4667c6a71e..8f6be5b11a 100644 --- a/sdks/full/go/cloud/types.go +++ b/sdks/full/go/cloud/types.go @@ -107,12 +107,10 @@ func (a *AuthAgentIdentity) String() string { // A build summary. type BuildSummary struct { - BuildId uuid.UUID `json:"build_id"` - UploadId uuid.UUID `json:"upload_id"` - // Represent a resource's readable display name. - DisplayName string `json:"display_name"` - // RFC3339 timestamp. - CreateTs time.Time `json:"create_ts"` + BuildId uuid.UUID `json:"build_id"` + UploadId uuid.UUID `json:"upload_id"` + DisplayName sdk.DisplayName `json:"display_name"` + CreateTs sdk.Timestamp `json:"create_ts"` // Unsigned 64 bit integer. ContentLength int64 `json:"content_length"` // Whether or not this build has completely been uploaded. @@ -237,9 +235,8 @@ func (c *CdnNamespaceConfig) String() string { // A CDN domain for a given namespace. type CdnNamespaceDomain struct { // A valid domain name (no protocol). - Domain string `json:"domain"` - // RFC3339 timestamp. - CreateTs time.Time `json:"create_ts"` + Domain string `json:"domain"` + CreateTs sdk.Timestamp `json:"create_ts"` VerificationStatus CdnNamespaceDomainVerificationStatus `json:"verification_status,omitempty"` VerificationMethod *CdnNamespaceDomainVerificationMethod `json:"verification_method,omitempty"` VerificationErrors []string `json:"verification_errors,omitempty"` @@ -358,12 +355,10 @@ func (c CdnNamespaceDomainVerificationStatus) Ptr() *CdnNamespaceDomainVerificat // A CDN site summary. type CdnSiteSummary struct { - SiteId uuid.UUID `json:"site_id"` - UploadId uuid.UUID `json:"upload_id"` - // Represent a resource's readable display name. - DisplayName string `json:"display_name"` - // RFC3339 timestamp. - CreateTs time.Time `json:"create_ts"` + SiteId uuid.UUID `json:"site_id"` + UploadId uuid.UUID `json:"upload_id"` + DisplayName sdk.DisplayName `json:"display_name"` + CreateTs sdk.Timestamp `json:"create_ts"` // Unsigned 64 bit integer. ContentLength int64 `json:"content_length"` // Whether or not this site has completely been uploaded. @@ -397,11 +392,9 @@ func (c *CdnSiteSummary) String() string { // A custom avatar summary. type CustomAvatarSummary struct { - UploadId uuid.UUID `json:"upload_id"` - // Represent a resource's readable display name. - DisplayName string `json:"display_name"` - // RFC3339 timestamp. - CreateTs time.Time `json:"create_ts"` + UploadId uuid.UUID `json:"upload_id"` + DisplayName sdk.DisplayName `json:"display_name"` + CreateTs sdk.Timestamp `json:"create_ts"` // The URL of this custom avatar image. Only present if upload is complete. Url *string `json:"url,omitempty"` // Unsigned 64 bit integer. @@ -437,14 +430,12 @@ func (c *CustomAvatarSummary) String() string { // A full game. type GameFull struct { - GameId uuid.UUID `json:"game_id"` - // RFC3339 timestamp. - CreateTs time.Time `json:"create_ts"` + GameId uuid.UUID `json:"game_id"` + CreateTs sdk.Timestamp `json:"create_ts"` // A human readable short identifier used to references resources. Different than a `rivet.common#Uuid` because this is intended to be human readable. Different than `rivet.common#DisplayName` because this should not include special characters and be short. - NameId string `json:"name_id"` - // Represent a resource's readable display name. - DisplayName string `json:"display_name"` - DeveloperGroupId uuid.UUID `json:"developer_group_id"` + NameId string `json:"name_id"` + DisplayName sdk.DisplayName `json:"display_name"` + DeveloperGroupId uuid.UUID `json:"developer_group_id"` // Unsigned 32 bit integer. TotalPlayerCount int `json:"total_player_count"` // The URL of this game's logo image. @@ -611,10 +602,9 @@ type LobbySummaryAnalytics struct { LobbyId uuid.UUID `json:"lobby_id"` LobbyGroupId uuid.UUID `json:"lobby_group_id"` // A human readable short identifier used to references resources. Different than a `rivet.common#Uuid` because this is intended to be human readable. Different than `rivet.common#DisplayName` because this should not include special characters and be short. - LobbyGroupNameId string `json:"lobby_group_name_id"` - RegionId uuid.UUID `json:"region_id"` - // RFC3339 timestamp. - CreateTs time.Time `json:"create_ts"` + LobbyGroupNameId string `json:"lobby_group_name_id"` + RegionId uuid.UUID `json:"region_id"` + CreateTs sdk.Timestamp `json:"create_ts"` // Whether or not this lobby is ready. IsReady bool `json:"is_ready"` // Whether or not this lobby is idle. @@ -693,7 +683,7 @@ func (l *LogsLobbyStatus) String() string { // The status of a stopped lobby. type LogsLobbyStatusStopped struct { - StopTs time.Time `json:"stop_ts"` + StopTs sdk.Timestamp `json:"stop_ts"` // Whether or not the lobby failed or stopped successfully. Failed bool `json:"failed"` // The exit code returned by the lobby's main process when stopped. @@ -730,15 +720,12 @@ type LogsLobbySummary struct { LobbyId uuid.UUID `json:"lobby_id"` NamespaceId uuid.UUID `json:"namespace_id"` // A human readable short identifier used to references resources. Different than a `rivet.common#Uuid` because this is intended to be human readable. Different than `rivet.common#DisplayName` because this should not include special characters and be short. - LobbyGroupNameId string `json:"lobby_group_name_id"` - RegionId uuid.UUID `json:"region_id"` - // RFC3339 timestamp. - CreateTs time.Time `json:"create_ts"` - // RFC3339 timestamp. - StartTs *time.Time `json:"start_ts,omitempty"` - // RFC3339 timestamp. - ReadyTs *time.Time `json:"ready_ts,omitempty"` - Status *LogsLobbyStatus `json:"status,omitempty"` + LobbyGroupNameId string `json:"lobby_group_name_id"` + RegionId uuid.UUID `json:"region_id"` + CreateTs sdk.Timestamp `json:"create_ts"` + StartTs *sdk.Timestamp `json:"start_ts,omitempty"` + ReadyTs *sdk.Timestamp `json:"ready_ts,omitempty"` + Status *LogsLobbyStatus `json:"status,omitempty"` _rawJSON json.RawMessage } @@ -769,11 +756,10 @@ func (l *LogsLobbySummary) String() string { // A performance mark. type LogsPerfMark struct { // The label given to this performance mark. - Label string `json:"label"` - // RFC3339 timestamp. - Ts time.Time `json:"ts"` - RayId *uuid.UUID `json:"ray_id,omitempty"` - ReqId *uuid.UUID `json:"req_id,omitempty"` + Label string `json:"label"` + Ts sdk.Timestamp `json:"ts"` + RayId *uuid.UUID `json:"ray_id,omitempty"` + ReqId *uuid.UUID `json:"req_id,omitempty"` _rawJSON json.RawMessage } @@ -804,12 +790,10 @@ func (l *LogsPerfMark) String() string { // A performance span. type LogsPerfSpan struct { // The label given to this performance span. - Label string `json:"label"` - // RFC3339 timestamp. - StartTs time.Time `json:"start_ts"` - // RFC3339 timestamp. - FinishTs *time.Time `json:"finish_ts,omitempty"` - ReqId *uuid.UUID `json:"req_id,omitempty"` + Label string `json:"label"` + StartTs sdk.Timestamp `json:"start_ts"` + FinishTs *sdk.Timestamp `json:"finish_ts,omitempty"` + ReqId *uuid.UUID `json:"req_id,omitempty"` _rawJSON json.RawMessage } @@ -945,12 +929,10 @@ func (n *NamespaceConfig) String() string { // A full namespace. type NamespaceFull struct { - NamespaceId uuid.UUID `json:"namespace_id"` - // RFC3339 timestamp. - CreateTs time.Time `json:"create_ts"` - // Represent a resource's readable display name. - DisplayName string `json:"display_name"` - VersionId uuid.UUID `json:"version_id"` + NamespaceId uuid.UUID `json:"namespace_id"` + CreateTs sdk.Timestamp `json:"create_ts"` + DisplayName sdk.DisplayName `json:"display_name"` + VersionId uuid.UUID `json:"version_id"` // A human readable short identifier used to references resources. Different than a `rivet.common#Uuid` because this is intended to be human readable. Different than `rivet.common#DisplayName` because this should not include special characters and be short. NameId string `json:"name_id"` Config *NamespaceConfig `json:"config,omitempty"` @@ -983,12 +965,10 @@ func (n *NamespaceFull) String() string { // A namespace summary. type NamespaceSummary struct { - NamespaceId uuid.UUID `json:"namespace_id"` - // RFC3339 timestamp. - CreateTs time.Time `json:"create_ts"` - // Represent a resource's readable display name. - DisplayName string `json:"display_name"` - VersionId uuid.UUID `json:"version_id"` + NamespaceId uuid.UUID `json:"namespace_id"` + CreateTs sdk.Timestamp `json:"create_ts"` + DisplayName sdk.DisplayName `json:"display_name"` + VersionId uuid.UUID `json:"version_id"` // A human readable short identifier used to references resources. Different than a `rivet.common#Uuid` because this is intended to be human readable. Different than `rivet.common#DisplayName` because this should not include special characters and be short. NameId string `json:"name_id"` @@ -1023,9 +1003,8 @@ type NamespaceVersion struct { // A universally unique identifier. NamespaceId string `json:"namespace_id"` // A universally unique identifier. - VersionId string `json:"version_id"` - // RFC3339 timestamp. - DeployTs time.Time `json:"deploy_ts"` + VersionId string `json:"version_id"` + DeployTs sdk.Timestamp `json:"deploy_ts"` _rawJSON json.RawMessage } @@ -1059,14 +1038,9 @@ type RegionSummary struct { // A human readable short identifier used to references resources. Different than a `rivet.common#Uuid` because this is intended to be human readable. Different than `rivet.common#DisplayName` because this should not include special characters and be short. RegionNameId string `json:"region_name_id"` // The server provider of this region. - Provider string `json:"provider"` - // **Deprecated** - // A universal region label given to this region. - UniversalRegion UniversalRegion `json:"universal_region,omitempty"` - // Represent a resource's readable display name. - ProviderDisplayName string `json:"provider_display_name"` - // Represent a resource's readable display name. - RegionDisplayName string `json:"region_display_name"` + Provider string `json:"provider"` + ProviderDisplayName sdk.DisplayName `json:"provider_display_name"` + RegionDisplayName sdk.DisplayName `json:"region_display_name"` _rawJSON json.RawMessage } diff --git a/sdks/full/go/cloud/version/identity/types.go b/sdks/full/go/cloud/version/identity/types.go index c712818572..72d5e207b8 100644 --- a/sdks/full/go/cloud/version/identity/types.go +++ b/sdks/full/go/cloud/version/identity/types.go @@ -6,6 +6,7 @@ import ( json "encoding/json" fmt "fmt" uuid "github.com/google/uuid" + sdk "sdk" core "sdk/core" ) @@ -77,7 +78,7 @@ func (c *CustomAvatar) String() string { } type CustomDisplayName struct { - DisplayName string `json:"display_name"` + DisplayName sdk.DisplayName `json:"display_name"` _rawJSON json.RawMessage } diff --git a/sdks/full/go/cloud/version/types.go b/sdks/full/go/cloud/version/types.go index d8411f4a31..e1fe6c43af 100644 --- a/sdks/full/go/cloud/version/types.go +++ b/sdks/full/go/cloud/version/types.go @@ -6,13 +6,13 @@ import ( json "encoding/json" fmt "fmt" uuid "github.com/google/uuid" + sdk "sdk" cdn "sdk/cloud/version/cdn" engine "sdk/cloud/version/engine" identity "sdk/cloud/version/identity" kv "sdk/cloud/version/kv" matchmaker "sdk/cloud/version/matchmaker" core "sdk/core" - time "time" ) // Cloud configuration for a given version. @@ -52,12 +52,10 @@ func (c *Config) String() string { // A full version. type Full struct { - VersionId uuid.UUID `json:"version_id"` - // RFC3339 timestamp. - CreateTs time.Time `json:"create_ts"` - // Represent a resource's readable display name. - DisplayName string `json:"display_name"` - Config *Config `json:"config,omitempty"` + VersionId uuid.UUID `json:"version_id"` + CreateTs sdk.Timestamp `json:"create_ts"` + DisplayName sdk.DisplayName `json:"display_name"` + Config *Config `json:"config,omitempty"` _rawJSON json.RawMessage } @@ -87,11 +85,9 @@ func (f *Full) String() string { // A version summary. type Summary struct { - VersionId uuid.UUID `json:"version_id"` - // RFC3339 timestamp. - CreateTs time.Time `json:"create_ts"` - // Represent a resource's readable display name. - DisplayName string `json:"display_name"` + VersionId uuid.UUID `json:"version_id"` + CreateTs sdk.Timestamp `json:"create_ts"` + DisplayName sdk.DisplayName `json:"display_name"` _rawJSON json.RawMessage } diff --git a/sdks/full/go/common/identity/types.go b/sdks/full/go/common/identity/types.go index 2bd7b2d8da..563a53ab73 100644 --- a/sdks/full/go/common/identity/types.go +++ b/sdks/full/go/common/identity/types.go @@ -9,7 +9,6 @@ import ( sdk "sdk" game "sdk/common/game" core "sdk/core" - time "time" ) // External links for an identity. @@ -121,7 +120,7 @@ func (h *Handle) String() string { // Information about the identity's current status, party, and active game. type Presence struct { - UpdateTs time.Time `json:"update_ts"` + UpdateTs sdk.Timestamp `json:"update_ts"` Status Status `json:"status,omitempty"` GameActivity *GameActivity `json:"game_activity,omitempty"` diff --git a/sdks/full/go/game/types.go b/sdks/full/go/game/types.go index 8ebfbf516b..c3d7aeb162 100644 --- a/sdks/full/go/game/types.go +++ b/sdks/full/go/game/types.go @@ -6,14 +6,14 @@ import ( json "encoding/json" fmt "fmt" uuid "github.com/google/uuid" + sdk "sdk" group "sdk/common/group" core "sdk/core" ) // A game leaderboard category. type LeaderboardCategory struct { - // Represent a resource's readable display name. - DisplayName string `json:"display_name"` + DisplayName sdk.DisplayName `json:"display_name"` _rawJSON json.RawMessage } @@ -43,8 +43,7 @@ func (l *LeaderboardCategory) String() string { // A platform link denoting a supported platform. type PlatformLink struct { - // Represent a resource's readable display name. - DisplayName string `json:"display_name"` + DisplayName sdk.DisplayName `json:"display_name"` // The URL to the given game's method of distribution on this platform. Url string `json:"url"` @@ -78,9 +77,8 @@ func (p *PlatformLink) String() string { type Profile struct { GameId uuid.UUID `json:"game_id"` // A human readable short identifier used to references resources. Different than a `rivet.common#Uuid` because this is intended to be human readable. Different than `rivet.common#DisplayName` because this should not include special characters and be short. - NameId string `json:"name_id"` - // Represent a resource's readable display name. - DisplayName string `json:"display_name"` + NameId string `json:"name_id"` + DisplayName sdk.DisplayName `json:"display_name"` // The URL of this game's logo image. LogoUrl *string `json:"logo_url,omitempty"` // The URL of this game's banner image. diff --git a/sdks/full/go/group/group.go b/sdks/full/go/group/group.go index 78bcb5fc94..d2e3cfbb2e 100644 --- a/sdks/full/go/group/group.go +++ b/sdks/full/go/group/group.go @@ -13,8 +13,7 @@ import ( ) type CreateRequest struct { - // Represent a resource's readable display name. - DisplayName string `json:"display_name"` + DisplayName sdk.DisplayName `json:"display_name"` _rawJSON json.RawMessage } @@ -387,8 +386,7 @@ func (t *TransferOwnershipRequest) String() string { } type UpdateProfileRequest struct { - // Represent a resource's readable display name. - DisplayName *string `json:"display_name,omitempty"` + DisplayName *sdk.DisplayName `json:"display_name,omitempty"` // Detailed information about a profile. Bio *string `json:"bio,omitempty"` Publicity *group.Publicity `json:"publicity,omitempty"` @@ -420,11 +418,9 @@ func (u *UpdateProfileRequest) String() string { } type ValidateProfileRequest struct { - // Represent a resource's readable display name. - DisplayName *string `json:"display_name,omitempty"` - // Detailed information about a profile. - Bio *string `json:"bio,omitempty"` - Publicity *group.Publicity `json:"publicity,omitempty"` + DisplayName *sdk.DisplayName `json:"display_name,omitempty"` + Bio *sdk.DisplayName `json:"bio,omitempty"` + Publicity *group.Publicity `json:"publicity,omitempty"` _rawJSON json.RawMessage } diff --git a/sdks/full/go/group/types.go b/sdks/full/go/group/types.go index d9591e4bb7..623356db96 100644 --- a/sdks/full/go/group/types.go +++ b/sdks/full/go/group/types.go @@ -6,6 +6,7 @@ import ( json "encoding/json" fmt "fmt" uuid "github.com/google/uuid" + sdk "sdk" group "sdk/common/group" identity "sdk/common/identity" core "sdk/core" @@ -60,8 +61,7 @@ type SearchRequest struct { // A banned identity. type BannedIdentity struct { Identity *identity.Handle `json:"identity,omitempty"` - // RFC3339 timestamp. - BanTs time.Time `json:"ban_ts"` + BanTs sdk.Timestamp `json:"ban_ts"` _rawJSON json.RawMessage } @@ -153,9 +153,8 @@ func (m *Member) String() string { // A list of group profiles. type Profile struct { - GroupId uuid.UUID `json:"group_id"` - // Represent a resource's readable display name. - DisplayName string `json:"display_name"` + GroupId uuid.UUID `json:"group_id"` + DisplayName sdk.DisplayName `json:"display_name"` // The URL of this group's avatar image. AvatarUrl *string `json:"avatar_url,omitempty"` External *group.ExternalLinks `json:"external,omitempty"` diff --git a/sdks/full/go/identity/identity.go b/sdks/full/go/identity/identity.go index e080e37cfd..6cb9dba053 100644 --- a/sdks/full/go/identity/identity.go +++ b/sdks/full/go/identity/identity.go @@ -10,7 +10,6 @@ import ( identity "sdk/common/identity" core "sdk/core" upload "sdk/upload" - time "time" ) type GetHandlesResponse struct { @@ -327,9 +326,8 @@ type SetupResponse struct { // If this happens, the user can recover their account through the linking process (see `rivet.api.identity#PrepareGameLink`). // This token should be stored locally and never sent to a server or another device. // If this token is compromised, anyone with access to this token has control of the identity. - IdentityToken sdk.Jwt `json:"identity_token"` - // If this token is compromised, anyone with access to this token has control of the identity. - IdentityTokenExpireTs time.Time `json:"identity_token_expire_ts"` + IdentityToken sdk.Jwt `json:"identity_token"` + IdentityTokenExpireTs sdk.Timestamp `json:"identity_token_expire_ts"` // Information about the identity that was just authenticated. Identity *Profile `json:"identity,omitempty"` GameId uuid.UUID `json:"game_id"` diff --git a/sdks/full/go/identity/links.go b/sdks/full/go/identity/links.go index 2ac9f0a22a..51578a8e16 100644 --- a/sdks/full/go/identity/links.go +++ b/sdks/full/go/identity/links.go @@ -9,7 +9,6 @@ import ( game "sdk/common/game" identity "sdk/common/identity" core "sdk/core" - time "time" ) type GetGameLinkRequest struct { @@ -110,9 +109,9 @@ func (g *GetGameLinkResponse) String() string { type PrepareGameLinkResponse struct { // Pass this to `GetGameLink` to get the linking status. Valid for 15 minutes. - IdentityLinkToken string `json:"identity_link_token"` - IdentityLinkUrl string `json:"identity_link_url"` - ExpireTs time.Time `json:"expire_ts"` + IdentityLinkToken string `json:"identity_link_token"` + IdentityLinkUrl string `json:"identity_link_url"` + ExpireTs sdk.Timestamp `json:"expire_ts"` _rawJSON json.RawMessage } diff --git a/sdks/full/go/identity/types.go b/sdks/full/go/identity/types.go index 85dbaab515..26d3730341 100644 --- a/sdks/full/go/identity/types.go +++ b/sdks/full/go/identity/types.go @@ -469,7 +469,7 @@ type Profile struct { // Whether or not this identity is both following and is followed by the requestee's identity. IsFollowingMe bool `json:"is_following_me"` IsMutualFollowing bool `json:"is_mutual_following"` - JoinTs time.Time `json:"join_ts"` + JoinTs sdk.Timestamp `json:"join_ts"` Bio sdk.Bio `json:"bio"` LinkedAccounts []*LinkedAccount `json:"linked_accounts,omitempty"` Groups []*Group `json:"groups,omitempty"` @@ -583,9 +583,9 @@ func (u *UpdateGameActivity) String() string { } type GetGameLinkNewIdentity struct { - IdentityToken sdk.Jwt `json:"identity_token"` - IdentityTokenExpireTs time.Time `json:"identity_token_expire_ts"` - Identity *Profile `json:"identity,omitempty"` + IdentityToken sdk.Jwt `json:"identity_token"` + IdentityTokenExpireTs sdk.Timestamp `json:"identity_token_expire_ts"` + Identity *Profile `json:"identity,omitempty"` _rawJSON json.RawMessage } diff --git a/sdks/full/go/matchmaker/types.go b/sdks/full/go/matchmaker/types.go index b172126aeb..bcaed2d7df 100644 --- a/sdks/full/go/matchmaker/types.go +++ b/sdks/full/go/matchmaker/types.go @@ -246,11 +246,11 @@ func (l *LobbyInfo) String() string { // A region that the player can connect to. type RegionInfo struct { - RegionId sdk.Identifier `json:"region_id"` - ProviderDisplayName string `json:"provider_display_name"` - RegionDisplayName string `json:"region_display_name"` - DatacenterCoord *geo.Coord `json:"datacenter_coord,omitempty"` - DatacenterDistanceFromClient *geo.Distance `json:"datacenter_distance_from_client,omitempty"` + RegionId sdk.Identifier `json:"region_id"` + ProviderDisplayName sdk.DisplayName `json:"provider_display_name"` + RegionDisplayName sdk.DisplayName `json:"region_display_name"` + DatacenterCoord *geo.Coord `json:"datacenter_coord,omitempty"` + DatacenterDistanceFromClient *geo.Distance `json:"datacenter_distance_from_client,omitempty"` _rawJSON json.RawMessage } diff --git a/sdks/full/go/module/client/client.go b/sdks/full/go/module/client/client.go deleted file mode 100644 index 02eb8a0181..0000000000 --- a/sdks/full/go/module/client/client.go +++ /dev/null @@ -1,118 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -package client - -import ( - bytes "bytes" - context "context" - json "encoding/json" - errors "errors" - fmt "fmt" - io "io" - http "net/http" - sdk "sdk" - core "sdk/core" - sdkmodule "sdk/module" -) - -type Client struct { - baseURL string - caller *core.Caller - header http.Header -} - -func NewClient(opts ...core.ClientOption) *Client { - options := core.NewClientOptions() - for _, opt := range opts { - opt(options) - } - return &Client{ - baseURL: options.BaseURL, - caller: core.NewCaller(options.HTTPClient), - header: options.ToHeader(), - } -} - -// Makes a request to a module's script. -func (c *Client) Call(ctx context.Context, module string, script string, request *sdkmodule.FindLobbyRequest) (*sdkmodule.CallResponse, error) { - baseURL := "https://api.rivet.gg" - if c.baseURL != "" { - baseURL = c.baseURL - } - endpointURL := fmt.Sprintf(baseURL+"/"+"module/modules/%v/scripts/%v/call", module, script) - - headers := c.header.Clone() - if request.Origin != nil { - headers.Add("origin", fmt.Sprintf("%v", *request.Origin)) - } - - errorDecoder := func(statusCode int, body io.Reader) error { - raw, err := io.ReadAll(body) - if err != nil { - return err - } - apiError := core.NewAPIError(statusCode, errors.New(string(raw))) - decoder := json.NewDecoder(bytes.NewReader(raw)) - switch statusCode { - case 500: - value := new(sdk.InternalError) - value.APIError = apiError - if err := decoder.Decode(value); err != nil { - return apiError - } - return value - case 429: - value := new(sdk.RateLimitError) - value.APIError = apiError - if err := decoder.Decode(value); err != nil { - return apiError - } - return value - case 403: - value := new(sdk.ForbiddenError) - value.APIError = apiError - if err := decoder.Decode(value); err != nil { - return apiError - } - return value - case 408: - value := new(sdk.UnauthorizedError) - value.APIError = apiError - if err := decoder.Decode(value); err != nil { - return apiError - } - return value - case 404: - value := new(sdk.NotFoundError) - value.APIError = apiError - if err := decoder.Decode(value); err != nil { - return apiError - } - return value - case 400: - value := new(sdk.BadRequestError) - value.APIError = apiError - if err := decoder.Decode(value); err != nil { - return apiError - } - return value - } - return apiError - } - - var response *sdkmodule.CallResponse - if err := c.caller.Call( - ctx, - &core.CallParams{ - URL: endpointURL, - Method: http.MethodPost, - Headers: headers, - Request: request, - Response: &response, - ErrorDecoder: errorDecoder, - }, - ); err != nil { - return nil, err - } - return response, nil -} diff --git a/sdks/full/go/module/module.go b/sdks/full/go/module/module.go deleted file mode 100644 index a3665bb223..0000000000 --- a/sdks/full/go/module/module.go +++ /dev/null @@ -1,38 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -package module - -import ( - json "encoding/json" - fmt "fmt" - core "sdk/core" -) - -type CallResponse struct { - Data interface{} `json:"data,omitempty"` - - _rawJSON json.RawMessage -} - -func (c *CallResponse) UnmarshalJSON(data []byte) error { - type unmarshaler CallResponse - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *c = CallResponse(value) - c._rawJSON = json.RawMessage(data) - return nil -} - -func (c *CallResponse) String() string { - if len(c._rawJSON) > 0 { - if value, err := core.StringifyJSON(c._rawJSON); err == nil { - return value - } - } - if value, err := core.StringifyJSON(c); err == nil { - return value - } - return fmt.Sprintf("%#v", c) -} diff --git a/sdks/full/go/module/types.go b/sdks/full/go/module/types.go deleted file mode 100644 index 1a8874f858..0000000000 --- a/sdks/full/go/module/types.go +++ /dev/null @@ -1,13 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -package module - -import ( - uuid "github.com/google/uuid" -) - -type FindLobbyRequest struct { - Origin *string `json:"-"` - NamespaceId *uuid.UUID `json:"namespace_id,omitempty"` - Data interface{} `json:"data,omitempty"` -} diff --git a/sdks/full/go/types.go b/sdks/full/go/types.go index dc9e682958..688fdd0e33 100644 --- a/sdks/full/go/types.go +++ b/sdks/full/go/types.go @@ -13,6 +13,7 @@ type AccountNumber = int // Follows regex ^(?:[^\n\r]+\n?|\n){1,5}$ type Bio = string +// Represent a resource's readable display name. type DisplayName = string // A valid email address diff --git a/sdks/full/openapi/openapi.yml b/sdks/full/openapi/openapi.yml index b2c5826492..9b040188eb 100644 --- a/sdks/full/openapi/openapi.yml +++ b/sdks/full/openapi/openapi.yml @@ -1,7 +1,7 @@ openapi: 3.0.1 info: title: Rivet API - version: '' + version: "" paths: /admin/login: post: @@ -10,48 +10,48 @@ paths: - Admin parameters: [] responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/AdminLoginResponse' - '400': - description: '' + $ref: "#/components/schemas/AdminLoginResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: &ref_0 - BearerAuth: [] requestBody: @@ -59,8 +59,8 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AdminLoginRequest' - /admin/clusters/server_ips: + $ref: "#/components/schemas/AdminLoginRequest" + /cluster/server_ips: get: operationId: admin_clusters_getServerIps tags: @@ -76,396 +76,50 @@ paths: in: query required: false schema: - $ref: '#/components/schemas/AdminPoolType' + $ref: "#/components/schemas/AdminPoolType" responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/AdminClustersGetServerIpsResponse' - '400': - description: '' + $ref: "#/components/schemas/AdminClusterGetServerIpsResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - security: *ref_0 - /admin/clusters: - get: - description: Get clusters - operationId: admin_clusters_list - tags: - - AdminClusters - parameters: [] - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/AdminClustersListResponse' - '400': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorBody' - security: *ref_0 - post: - description: Create a new cluster - operationId: admin_clusters_create - tags: - - AdminClusters - parameters: [] - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/AdminClustersCreateResponse' - '400': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorBody' - security: *ref_0 - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/AdminClustersCreateRequest' - /admin/clusters/{cluster_id}/datacenters: - get: - description: Get datacenters of a cluster - operationId: admin_clusters_datacenters_list - tags: - - AdminClustersDatacenters - parameters: - - name: cluster_id - in: path - required: true - schema: - type: string - format: uuid - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/AdminClustersDatacentersListResponse' - '400': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorBody' - security: *ref_0 - post: - operationId: admin_clusters_datacenters_create - tags: - - AdminClustersDatacenters - parameters: - - name: cluster_id - in: path - required: true - schema: - type: string - format: uuid - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/AdminClustersDatacentersCreateResponse' - '400': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorBody' - security: *ref_0 - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/AdminClustersDatacentersCreateRequest' - /admin/clusters/{cluster_id}/datacenters/{datacenter_id}: - patch: - operationId: admin_clusters_datacenters_update - tags: - - AdminClustersDatacenters - parameters: - - name: cluster_id - in: path - required: true - schema: - type: string - format: uuid - - name: datacenter_id - in: path - required: true - schema: - type: string - format: uuid - responses: - '204': - description: '' - '400': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorBody' - security: *ref_0 - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/AdminClustersDatacentersUpdateRequest' - /admin/clusters/{cluster_id}/datacenters/{datacenter_id}/taint: - get: - operationId: admin_clusters_datacenters_taint - tags: - - AdminClustersDatacenters - parameters: - - name: cluster_id - in: path - required: true - schema: - type: string - format: uuid - - name: datacenter_id - in: path - required: true - schema: - type: string - responses: - '204': - description: '' - '400': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /cloud/bootstrap: get: @@ -475,48 +129,48 @@ paths: - Cloud parameters: [] responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/CloudBootstrapResponse' - '400': - description: '' + $ref: "#/components/schemas/CloudBootstrapResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /cloud/games/{game_id}/namespaces: post: @@ -532,49 +186,49 @@ paths: type: string format: uuid responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: $ref: >- #/components/schemas/CloudGamesNamespacesCreateGameNamespaceResponse - '400': - description: '' + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true @@ -597,49 +251,49 @@ paths: type: string format: uuid responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: $ref: >- #/components/schemas/CloudGamesNamespacesValidateGameNamespaceResponse - '400': - description: '' + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true @@ -668,49 +322,49 @@ paths: type: string format: uuid responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: $ref: >- #/components/schemas/CloudGamesNamespacesGetGameNamespaceByIdResponse - '400': - description: '' + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /cloud/games/{game_id}/namespaces/{namespace_id}/auth-user: post: @@ -732,44 +386,44 @@ paths: type: string format: uuid responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true @@ -804,44 +458,44 @@ paths: schema: type: string responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /cloud/games/{game_id}/namespaces/{namespace_id}/cdn-auth: put: @@ -863,44 +517,44 @@ paths: type: string format: uuid responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true @@ -931,44 +585,44 @@ paths: type: string format: uuid responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true @@ -997,44 +651,44 @@ paths: type: string format: uuid responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true @@ -1069,44 +723,44 @@ paths: schema: type: string responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /cloud/games/{game_id}/namespaces/{namespace_id}/mm-config: post: @@ -1128,44 +782,44 @@ paths: type: string format: uuid responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true @@ -1206,49 +860,49 @@ paths: schema: type: integer responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: $ref: >- #/components/schemas/CloudGamesNamespacesGetGameNamespaceVersionHistoryResponse - '400': - description: '' + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /cloud/games/{game_id}/namespaces/{namespace_id}/mm-config/validate: post: @@ -1272,49 +926,49 @@ paths: type: string format: uuid responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: $ref: >- #/components/schemas/CloudGamesNamespacesValidateGameNamespaceMatchmakerConfigResponse - '400': - description: '' + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true @@ -1343,49 +997,49 @@ paths: type: string format: uuid responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: $ref: >- #/components/schemas/CloudGamesNamespacesCreateGameNamespaceTokenDevelopmentResponse - '400': - description: '' + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true @@ -1416,49 +1070,49 @@ paths: type: string format: uuid responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: $ref: >- #/components/schemas/CloudGamesNamespacesValidateGameNamespaceTokenDevelopmentResponse - '400': - description: '' + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true @@ -1487,49 +1141,49 @@ paths: type: string format: uuid responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: $ref: >- #/components/schemas/CloudGamesNamespacesCreateGameNamespaceTokenPublicResponse - '400': - description: '' + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /cloud/games/{game_id}/namespaces/{namespace_id}/version: put: @@ -1551,44 +1205,44 @@ paths: type: string format: uuid responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true @@ -1611,48 +1265,48 @@ paths: schema: type: string responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/GroupListSuggestedResponse' - '400': - description: '' + $ref: "#/components/schemas/GroupListSuggestedResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 post: description: Creates a new group. @@ -1661,55 +1315,55 @@ paths: - Group parameters: [] responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/GroupCreateResponse' - '400': - description: '' + $ref: "#/components/schemas/GroupCreateResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true content: application/json: schema: - $ref: '#/components/schemas/GroupCreateRequest' + $ref: "#/components/schemas/GroupCreateRequest" /group/groups/avatar-upload/prepare: post: description: |- @@ -1720,55 +1374,55 @@ paths: - Group parameters: [] responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/GroupPrepareAvatarUploadResponse' - '400': - description: '' + $ref: "#/components/schemas/GroupPrepareAvatarUploadResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true content: application/json: schema: - $ref: '#/components/schemas/GroupPrepareAvatarUploadRequest' + $ref: "#/components/schemas/GroupPrepareAvatarUploadRequest" /group/groups/profile/validate: post: description: >- @@ -1779,55 +1433,55 @@ paths: - Group parameters: [] responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/GroupValidateProfileResponse' - '400': - description: '' + $ref: "#/components/schemas/GroupValidateProfileResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true content: application/json: schema: - $ref: '#/components/schemas/GroupValidateProfileRequest' + $ref: "#/components/schemas/GroupValidateProfileRequest" /group/groups/search: get: description: Fuzzy search for groups. @@ -1854,48 +1508,48 @@ paths: type: number format: double responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/GroupSearchResponse' - '400': - description: '' + $ref: "#/components/schemas/GroupSearchResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /group/groups/{group_id}/avatar-upload/{upload_id}/complete: post: @@ -1920,44 +1574,44 @@ paths: type: string format: uuid responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /group/groups/{group_id}/bans: get: @@ -1994,48 +1648,48 @@ paths: schema: type: string responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/GroupGetBansResponse' - '400': - description: '' + $ref: "#/components/schemas/GroupGetBansResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /group/groups/{group_id}/bans/{identity_id}: post: @@ -2060,44 +1714,44 @@ paths: type: string format: uuid responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 delete: description: >- @@ -2120,44 +1774,44 @@ paths: type: string format: uuid responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /group/groups/{group_id}/join-requests: get: @@ -2194,48 +1848,48 @@ paths: schema: type: string responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/GroupGetJoinRequestsResponse' - '400': - description: '' + $ref: "#/components/schemas/GroupGetJoinRequestsResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /group/groups/{group_id}/kick/{identity_id}: post: @@ -2259,44 +1913,44 @@ paths: type: string format: uuid responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /group/groups/{group_id}/leave: post: @@ -2312,44 +1966,44 @@ paths: type: string format: uuid responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /group/groups/{group_id}/members: get: @@ -2386,48 +2040,48 @@ paths: schema: type: string responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/GroupGetMembersResponse' - '400': - description: '' + $ref: "#/components/schemas/GroupGetMembersResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /group/groups/{group_id}/profile: get: @@ -2449,48 +2103,48 @@ paths: schema: type: string responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/GroupGetProfileResponse' - '400': - description: '' + $ref: "#/components/schemas/GroupGetProfileResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 post: operationId: group_updateProfile @@ -2504,51 +2158,51 @@ paths: type: string format: uuid responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true content: application/json: schema: - $ref: '#/components/schemas/GroupUpdateProfileRequest' + $ref: "#/components/schemas/GroupUpdateProfileRequest" /group/groups/{group_id}/summary: get: operationId: group_getSummary @@ -2562,48 +2216,48 @@ paths: type: string format: uuid responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/GroupGetSummaryResponse' - '400': - description: '' + $ref: "#/components/schemas/GroupGetSummaryResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /group/groups/{group_id}/transfer-owner: post: @@ -2619,51 +2273,51 @@ paths: type: string format: uuid responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true content: application/json: schema: - $ref: '#/components/schemas/GroupTransferOwnershipRequest' + $ref: "#/components/schemas/GroupTransferOwnershipRequest" /identity/identities: post: description: >- @@ -2692,48 +2346,48 @@ paths: - Identity parameters: [] responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/IdentitySetupResponse' - '400': - description: '' + $ref: "#/components/schemas/IdentitySetupResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true @@ -2743,7 +2397,7 @@ paths: type: object properties: existing_identity_token: - $ref: '#/components/schemas/Jwt' + $ref: "#/components/schemas/Jwt" /identity/identities/{identity_id}/profile: get: description: Fetches an identity profile. @@ -2761,50 +2415,50 @@ paths: in: query required: false schema: - $ref: '#/components/schemas/WatchQuery' + $ref: "#/components/schemas/WatchQuery" responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/IdentityGetProfileResponse' - '400': - description: '' + $ref: "#/components/schemas/IdentityGetProfileResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /identity/identities/self/profile: get: @@ -2817,50 +2471,50 @@ paths: in: query required: false schema: - $ref: '#/components/schemas/WatchQuery' + $ref: "#/components/schemas/WatchQuery" responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/IdentityGetProfileResponse' - '400': - description: '' + $ref: "#/components/schemas/IdentityGetProfileResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 post: description: Updates profile of the current identity. @@ -2869,44 +2523,44 @@ paths: - Identity parameters: [] responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true @@ -2916,11 +2570,11 @@ paths: type: object properties: display_name: - $ref: '#/components/schemas/DisplayName' + $ref: "#/components/schemas/DisplayName" account_number: - $ref: '#/components/schemas/AccountNumber' + $ref: "#/components/schemas/AccountNumber" bio: - $ref: '#/components/schemas/Bio' + $ref: "#/components/schemas/Bio" /identity/identities/batch/handle: get: description: Fetches a list of identity handles. @@ -2934,48 +2588,48 @@ paths: schema: type: string responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/IdentityGetHandlesResponse' - '400': - description: '' + $ref: "#/components/schemas/IdentityGetHandlesResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /identity/identities/batch/summary: get: @@ -2990,48 +2644,48 @@ paths: schema: type: string responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/IdentityGetSummariesResponse' - '400': - description: '' + $ref: "#/components/schemas/IdentityGetSummariesResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /identity/identities/self/profile/validate: post: @@ -3043,44 +2697,44 @@ paths: - Identity parameters: [] responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true @@ -3090,11 +2744,11 @@ paths: type: object properties: display_name: - $ref: '#/components/schemas/DisplayName' + $ref: "#/components/schemas/DisplayName" account_number: - $ref: '#/components/schemas/AccountNumber' + $ref: "#/components/schemas/AccountNumber" bio: - $ref: '#/components/schemas/Bio' + $ref: "#/components/schemas/Bio" /identity/identities/search: get: description: Fuzzy search for identities. @@ -3123,48 +2777,48 @@ paths: schema: type: integer responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/IdentitySearchResponse' - '400': - description: '' + $ref: "#/components/schemas/IdentitySearchResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /identity/identities/self/activity: post: @@ -3176,44 +2830,44 @@ paths: - Identity parameters: [] responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true @@ -3223,7 +2877,7 @@ paths: type: object properties: game_activity: - $ref: '#/components/schemas/IdentityUpdateGameActivity' + $ref: "#/components/schemas/IdentityUpdateGameActivity" required: - game_activity delete: @@ -3233,44 +2887,44 @@ paths: - Identity parameters: [] responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /identity/identities/identities/self/status: post: @@ -3280,44 +2934,44 @@ paths: - Identity parameters: [] responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true @@ -3327,7 +2981,7 @@ paths: type: object properties: status: - $ref: '#/components/schemas/IdentityStatus' + $ref: "#/components/schemas/IdentityStatus" required: - status /identity/identities/{identity_id}/follow: @@ -3346,44 +3000,44 @@ paths: type: string format: uuid responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 delete: description: Unfollows the given identity. @@ -3398,44 +3052,44 @@ paths: type: string format: uuid responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /identity/identities/avatar-upload/prepare: post: @@ -3447,48 +3101,48 @@ paths: - Identity parameters: [] responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/IdentityPrepareAvatarUploadResponse' - '400': - description: '' + $ref: "#/components/schemas/IdentityPrepareAvatarUploadResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true @@ -3527,44 +3181,44 @@ paths: type: string format: uuid responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /identity/identities/self/beta-signup: post: @@ -3576,44 +3230,44 @@ paths: - Identity parameters: [] responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true @@ -3651,44 +3305,44 @@ paths: type: string format: uuid responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true @@ -3723,48 +3377,48 @@ paths: schema: type: string responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/IdentityListFollowersResponse' - '400': - description: '' + $ref: "#/components/schemas/IdentityListFollowersResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /identity/identities/{identity_id}/following: get: @@ -3790,48 +3444,48 @@ paths: schema: type: string responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/IdentityListFollowingResponse' - '400': - description: '' + $ref: "#/components/schemas/IdentityListFollowingResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /identity/identities/self/friends: get: @@ -3851,48 +3505,48 @@ paths: schema: type: string responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/IdentityListFriendsResponse' - '400': - description: '' + $ref: "#/components/schemas/IdentityListFriendsResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /identity/identities/{identity_id}/mutual-friends: get: @@ -3918,48 +3572,48 @@ paths: schema: type: string responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/IdentityListMutualFriendsResponse' - '400': - description: '' + $ref: "#/components/schemas/IdentityListMutualFriendsResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /identity/identities/self/recent-followers: get: @@ -3976,50 +3630,50 @@ paths: in: query required: false schema: - $ref: '#/components/schemas/WatchQuery' + $ref: "#/components/schemas/WatchQuery" responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/IdentityListRecentFollowersResponse' - '400': - description: '' + $ref: "#/components/schemas/IdentityListRecentFollowersResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /identity/identities/self/recent-followers/{identity_id}/ignore: post: @@ -4034,44 +3688,44 @@ paths: type: string format: uuid responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /identity/identities/self/delete-request: post: @@ -4080,44 +3734,44 @@ paths: - Identity parameters: [] responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 delete: operationId: identity_unmarkDeletion @@ -4125,44 +3779,44 @@ paths: - Identity parameters: [] responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /kv/entries: get: @@ -4175,7 +3829,7 @@ paths: in: query required: true schema: - $ref: '#/components/schemas/KvKey' + $ref: "#/components/schemas/KvKey" - name: watch_index in: query description: A query parameter denoting the requests watch index. @@ -4189,48 +3843,48 @@ paths: type: string format: uuid responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/KvGetResponse' - '400': - description: '' + $ref: "#/components/schemas/KvGetResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 put: description: Puts (sets or overwrites) a key-value entry by key. @@ -4239,51 +3893,51 @@ paths: - Kv parameters: [] responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true content: application/json: schema: - $ref: '#/components/schemas/KvPutRequest' + $ref: "#/components/schemas/KvPutRequest" delete: description: Deletes a key-value entry by key. operationId: kv_delete @@ -4294,7 +3948,7 @@ paths: in: query required: true schema: - $ref: '#/components/schemas/KvKey' + $ref: "#/components/schemas/KvKey" - name: namespace_id in: query required: false @@ -4302,44 +3956,44 @@ paths: type: string format: uuid responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /kv/entries/list: get: @@ -4352,7 +4006,7 @@ paths: in: query required: true schema: - $ref: '#/components/schemas/KvDirectory' + $ref: "#/components/schemas/KvDirectory" - name: namespace_id in: query required: true @@ -4360,48 +4014,48 @@ paths: type: string format: uuid responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/KvListResponse' - '400': - description: '' + $ref: "#/components/schemas/KvListResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /kv/entries/batch: get: @@ -4414,7 +4068,7 @@ paths: in: query required: true schema: - $ref: '#/components/schemas/KvKey' + $ref: "#/components/schemas/KvKey" - name: watch_index in: query description: A query parameter denoting the requests watch index. @@ -4428,48 +4082,48 @@ paths: type: string format: uuid responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/KvGetBatchResponse' - '400': - description: '' + $ref: "#/components/schemas/KvGetBatchResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 put: description: Puts (sets or overwrites) multiple key-value entries by key(s). @@ -4478,51 +4132,51 @@ paths: - Kv parameters: [] responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true content: application/json: schema: - $ref: '#/components/schemas/KvPutBatchRequest' + $ref: "#/components/schemas/KvPutBatchRequest" delete: description: Deletes multiple key-value entries by key(s). operationId: kv_deleteBatch @@ -4533,7 +4187,7 @@ paths: in: query required: true schema: - $ref: '#/components/schemas/KvKey' + $ref: "#/components/schemas/KvKey" - name: namespace_id in: query required: false @@ -4541,44 +4195,44 @@ paths: type: string format: uuid responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /module/modules/{module}/scripts/{script}/call: post: @@ -4603,48 +4257,48 @@ paths: schema: type: string responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ModuleCallResponse' - '400': - description: '' + $ref: "#/components/schemas/ModuleCallResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true @@ -4672,48 +4326,48 @@ paths: type: string format: uuid responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ProvisionDatacentersGetTlsResponse' - '400': - description: '' + $ref: "#/components/schemas/ProvisionDatacentersGetTlsResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /servers/{ip}: get: @@ -4727,48 +4381,48 @@ paths: schema: type: string responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ProvisionServersGetInfoResponse' - '400': - description: '' + $ref: "#/components/schemas/ProvisionServersGetInfoResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /auth/identity/access-token/complete-verification: post: @@ -4778,44 +4432,44 @@ paths: - AuthIdentityAccessToken parameters: [] responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true @@ -4832,56 +4486,56 @@ paths: - AuthIdentityEmail parameters: [] responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: $ref: >- #/components/schemas/AuthIdentityStartEmailVerificationResponse - '400': - description: '' + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true content: application/json: schema: - $ref: '#/components/schemas/AuthIdentityStartEmailVerificationRequest' + $ref: "#/components/schemas/AuthIdentityStartEmailVerificationRequest" /auth/identity/email/complete-verification: post: description: Completes the email verification process. @@ -4890,49 +4544,49 @@ paths: - AuthIdentityEmail parameters: [] responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: $ref: >- #/components/schemas/AuthIdentityCompleteEmailVerificationResponse - '400': - description: '' + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true @@ -4949,55 +4603,55 @@ paths: - AuthTokens parameters: [] responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/AuthRefreshIdentityTokenResponse' - '400': - description: '' + $ref: "#/components/schemas/AuthRefreshIdentityTokenResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true content: application/json: schema: - $ref: '#/components/schemas/AuthRefreshIdentityTokenRequest' + $ref: "#/components/schemas/AuthRefreshIdentityTokenRequest" /cloud/auth/inspect: get: description: Returns information about the current authenticated agent. @@ -5006,48 +4660,48 @@ paths: - CloudAuth parameters: [] responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/CloudInspectResponse' - '400': - description: '' + $ref: "#/components/schemas/CloudInspectResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /cloud/devices/links: post: @@ -5056,48 +4710,48 @@ paths: - CloudDevicesLinks parameters: [] responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/CloudDevicesPrepareDeviceLinkResponse' - '400': - description: '' + $ref: "#/components/schemas/CloudDevicesPrepareDeviceLinkResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" get: operationId: cloud_devices_links_get tags: @@ -5107,55 +4761,55 @@ paths: in: query required: true schema: - $ref: '#/components/schemas/Jwt' + $ref: "#/components/schemas/Jwt" - name: watch_index in: query required: false schema: - $ref: '#/components/schemas/WatchQuery' + $ref: "#/components/schemas/WatchQuery" responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/CloudDevicesGetDeviceLinkResponse' - '400': - description: '' + $ref: "#/components/schemas/CloudDevicesGetDeviceLinkResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" /cloud/devices/links/complete: post: operationId: cloud_devices_links_complete @@ -5163,50 +4817,50 @@ paths: - CloudDevicesLinks parameters: [] responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" requestBody: required: true content: application/json: schema: - $ref: '#/components/schemas/CloudDevicesCompleteDeviceLinkRequest' + $ref: "#/components/schemas/CloudDevicesCompleteDeviceLinkRequest" /cloud/games/{game_id}/avatars: get: description: Lists custom avatars for the given game. @@ -5221,48 +4875,48 @@ paths: type: string format: uuid responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/CloudGamesListGameCustomAvatarsResponse' - '400': - description: '' + $ref: "#/components/schemas/CloudGamesListGameCustomAvatarsResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /cloud/games/{game_id}/prepare: post: @@ -5280,56 +4934,56 @@ paths: type: string format: uuid responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: $ref: >- #/components/schemas/CloudGamesPrepareCustomAvatarUploadResponse - '400': - description: '' + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true content: application/json: schema: - $ref: '#/components/schemas/CloudGamesPrepareCustomAvatarUploadRequest' + $ref: "#/components/schemas/CloudGamesPrepareCustomAvatarUploadRequest" /cloud/games/{game_id}/avatar-upload/{upload_id}/complete: post: description: >- @@ -5352,44 +5006,44 @@ paths: type: string format: uuid responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /cloud/games/{game_id}/builds: get: @@ -5405,48 +5059,48 @@ paths: type: string format: uuid responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/CloudGamesListGameBuildsResponse' - '400': - description: '' + $ref: "#/components/schemas/CloudGamesListGameBuildsResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 post: description: Creates a new game build for the given game. @@ -5461,55 +5115,55 @@ paths: type: string format: uuid responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/CloudGamesCreateGameBuildResponse' - '400': - description: '' + $ref: "#/components/schemas/CloudGamesCreateGameBuildResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true content: application/json: schema: - $ref: '#/components/schemas/CloudGamesCreateGameBuildRequest' + $ref: "#/components/schemas/CloudGamesCreateGameBuildRequest" /cloud/games/{game_id}/cdn/sites: get: description: Lists CDN sites for a game. @@ -5524,48 +5178,48 @@ paths: type: string format: uuid responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/CloudGamesListGameCdnSitesResponse' - '400': - description: '' + $ref: "#/components/schemas/CloudGamesListGameCdnSitesResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 post: description: Creates a new CDN site for the given game. @@ -5580,55 +5234,55 @@ paths: type: string format: uuid responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/CloudGamesCreateGameCdnSiteResponse' - '400': - description: '' + $ref: "#/components/schemas/CloudGamesCreateGameCdnSiteResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true content: application/json: schema: - $ref: '#/components/schemas/CloudGamesCreateGameCdnSiteRequest' + $ref: "#/components/schemas/CloudGamesCreateGameCdnSiteRequest" /cloud/games: get: description: >- @@ -5645,48 +5299,48 @@ paths: schema: type: string responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/CloudGamesGetGamesResponse' - '400': - description: '' + $ref: "#/components/schemas/CloudGamesGetGamesResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 post: description: Creates a new game. @@ -5695,55 +5349,55 @@ paths: - CloudGamesGames parameters: [] responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/CloudGamesCreateGameResponse' - '400': - description: '' + $ref: "#/components/schemas/CloudGamesCreateGameResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true content: application/json: schema: - $ref: '#/components/schemas/CloudGamesCreateGameRequest' + $ref: "#/components/schemas/CloudGamesCreateGameRequest" /cloud/games/validate: post: description: Validates information used to create a new game. @@ -5752,55 +5406,55 @@ paths: - CloudGamesGames parameters: [] responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/CloudGamesValidateGameResponse' - '400': - description: '' + $ref: "#/components/schemas/CloudGamesValidateGameResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true content: application/json: schema: - $ref: '#/components/schemas/CloudGamesValidateGameRequest' + $ref: "#/components/schemas/CloudGamesValidateGameRequest" /cloud/games/{game_id}: get: description: Returns a game by its game id. @@ -5821,48 +5475,48 @@ paths: schema: type: string responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/CloudGamesGetGameByIdResponse' - '400': - description: '' + $ref: "#/components/schemas/CloudGamesGetGameByIdResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /cloud/games/{game_id}/banner-upload/prepare: post: @@ -5878,55 +5532,55 @@ paths: type: string format: uuid responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/CloudGamesGameBannerUploadPrepareResponse' - '400': - description: '' + $ref: "#/components/schemas/CloudGamesGameBannerUploadPrepareResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true content: application/json: schema: - $ref: '#/components/schemas/CloudGamesGameBannerUploadPrepareRequest' + $ref: "#/components/schemas/CloudGamesGameBannerUploadPrepareRequest" /cloud/games/{game_id}/banner-upload/{upload_id}/complete: post: description: >- @@ -5949,44 +5603,44 @@ paths: type: string format: uuid responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /cloud/games/{game_id}/logo-upload/prepare: post: @@ -6002,55 +5656,55 @@ paths: type: string format: uuid responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/CloudGamesGameLogoUploadPrepareResponse' - '400': - description: '' + $ref: "#/components/schemas/CloudGamesGameLogoUploadPrepareResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true content: application/json: schema: - $ref: '#/components/schemas/CloudGamesGameLogoUploadPrepareRequest' + $ref: "#/components/schemas/CloudGamesGameLogoUploadPrepareRequest" /cloud/games/{game_id}/logo-upload/{upload_id}/complete: post: description: >- @@ -6073,44 +5727,44 @@ paths: type: string format: uuid responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /cloud/games/{game_id}/matchmaker/lobbies/export-history: post: @@ -6126,49 +5780,49 @@ paths: type: string format: uuid responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: $ref: >- #/components/schemas/CloudGamesExportMatchmakerLobbyHistoryResponse - '400': - description: '' + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true @@ -6197,48 +5851,48 @@ paths: type: string format: uuid responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/CloudGamesDeleteMatchmakerLobbyResponse' - '400': - description: '' + $ref: "#/components/schemas/CloudGamesDeleteMatchmakerLobbyResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /cloud/games/{game_id}/matchmaker/lobbies/{lobby_id}/logs: get: @@ -6263,7 +5917,7 @@ paths: in: query required: true schema: - $ref: '#/components/schemas/CloudGamesLogStream' + $ref: "#/components/schemas/CloudGamesLogStream" - name: watch_index in: query description: A query parameter denoting the requests watch index. @@ -6271,48 +5925,48 @@ paths: schema: type: string responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/CloudGamesGetLobbyLogsResponse' - '400': - description: '' + $ref: "#/components/schemas/CloudGamesGetLobbyLogsResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /cloud/games/{game_id}/matchmaker/lobbies/{lobby_id}/logs/export: post: @@ -6334,55 +5988,55 @@ paths: type: string format: uuid responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/CloudGamesExportLobbyLogsResponse' - '400': - description: '' + $ref: "#/components/schemas/CloudGamesExportLobbyLogsResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true content: application/json: schema: - $ref: '#/components/schemas/CloudGamesExportLobbyLogsRequest' + $ref: "#/components/schemas/CloudGamesExportLobbyLogsRequest" /cloud/games/{game_id}/namespaces/{namespace_id}/analytics/matchmaker/live: get: description: Returns live information about all active lobbies for a given namespace. @@ -6403,49 +6057,49 @@ paths: type: string format: uuid responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: $ref: >- #/components/schemas/CloudGamesNamespacesGetAnalyticsMatchmakerLiveResponse - '400': - description: '' + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /cloud/games/{game_id}/namespaces/{namespace_id}/logs/lobbies: get: @@ -6471,52 +6125,51 @@ paths: description: Returns lobbies created before this timestamp. required: false schema: - type: string - format: date-time + $ref: "#/components/schemas/Timestamp" responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: $ref: >- #/components/schemas/CloudGamesNamespacesListNamespaceLobbiesResponse - '400': - description: '' + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /cloud/games/{game_id}/namespaces/{namespace_id}/logs/lobbies/{lobby_id}: get: @@ -6544,49 +6197,49 @@ paths: type: string format: uuid responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: $ref: >- #/components/schemas/CloudGamesNamespacesGetNamespaceLobbyResponse - '400': - description: '' + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /cloud/games/{game_id}/tokens/cloud: post: @@ -6602,48 +6255,48 @@ paths: type: string format: uuid responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/CloudGamesCreateCloudTokenResponse' - '400': - description: '' + $ref: "#/components/schemas/CloudGamesCreateCloudTokenResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /cloud/games/{game_id}/versions: post: @@ -6659,55 +6312,55 @@ paths: type: string format: uuid responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/CloudGamesCreateGameVersionResponse' - '400': - description: '' + $ref: "#/components/schemas/CloudGamesCreateGameVersionResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true content: application/json: schema: - $ref: '#/components/schemas/CloudGamesCreateGameVersionRequest' + $ref: "#/components/schemas/CloudGamesCreateGameVersionRequest" /cloud/games/{game_id}/versions/reserve-name: post: description: >- @@ -6725,48 +6378,48 @@ paths: type: string format: uuid responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/CloudGamesReserveVersionNameResponse' - '400': - description: '' + $ref: "#/components/schemas/CloudGamesReserveVersionNameResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /cloud/games/{game_id}/versions/validate: post: @@ -6782,55 +6435,55 @@ paths: type: string format: uuid responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/CloudGamesValidateGameVersionResponse' - '400': - description: '' + $ref: "#/components/schemas/CloudGamesValidateGameVersionResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true content: application/json: schema: - $ref: '#/components/schemas/CloudGamesValidateGameVersionRequest' + $ref: "#/components/schemas/CloudGamesValidateGameVersionRequest" /cloud/games/{game_id}/versions/{version_id}: get: description: Returns a game version by its version ID. @@ -6851,48 +6504,48 @@ paths: type: string format: uuid responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/CloudGamesGetGameVersionByIdResponse' - '400': - description: '' + $ref: "#/components/schemas/CloudGamesGetGameVersionByIdResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /cloud/groups/validate: post: @@ -6902,55 +6555,55 @@ paths: - CloudGroups parameters: [] responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/CloudValidateGroupResponse' - '400': - description: '' + $ref: "#/components/schemas/CloudValidateGroupResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true content: application/json: schema: - $ref: '#/components/schemas/CloudValidateGroupRequest' + $ref: "#/components/schemas/CloudValidateGroupRequest" /cloud/rays/{ray_id}/perf: get: description: Returns performance information about a Rivet Ray. @@ -6965,48 +6618,48 @@ paths: type: string format: uuid responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/CloudGetRayPerfLogsResponse' - '400': - description: '' + $ref: "#/components/schemas/CloudGetRayPerfLogsResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /cloud/region-tiers: get: @@ -7016,48 +6669,48 @@ paths: - CloudTiers parameters: [] responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/CloudGetRegionTiersResponse' - '400': - description: '' + $ref: "#/components/schemas/CloudGetRegionTiersResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /cloud/uploads/{upload_id}/complete: post: @@ -7073,44 +6726,44 @@ paths: type: string format: uuid responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /group/invites/{group_invite_code}: get: @@ -7128,48 +6781,48 @@ paths: schema: type: string responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/GroupGetInviteResponse' - '400': - description: '' + $ref: "#/components/schemas/GroupGetInviteResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /group/invites/{group_invite_code}/consume: post: @@ -7185,48 +6838,48 @@ paths: schema: type: string responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/GroupConsumeInviteResponse' - '400': - description: '' + $ref: "#/components/schemas/GroupConsumeInviteResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /group/groups/{group_id}/invites: post: @@ -7244,55 +6897,55 @@ paths: type: string format: uuid responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/GroupCreateInviteResponse' - '400': - description: '' + $ref: "#/components/schemas/GroupCreateInviteResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true content: application/json: schema: - $ref: '#/components/schemas/GroupCreateInviteRequest' + $ref: "#/components/schemas/GroupCreateInviteRequest" /group/groups/{group_id}/join-request: post: description: Requests to join a group. @@ -7307,44 +6960,44 @@ paths: type: string format: uuid responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /group/groups/{group_id}/join-request/{identity_id}: post: @@ -7366,51 +7019,51 @@ paths: type: string format: uuid responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true content: application/json: schema: - $ref: '#/components/schemas/GroupResolveJoinRequestRequest' + $ref: "#/components/schemas/GroupResolveJoinRequestRequest" /identity/activities: get: description: Returns an overview of all players currently online or in game. @@ -7422,50 +7075,50 @@ paths: in: query required: false schema: - $ref: '#/components/schemas/WatchQuery' + $ref: "#/components/schemas/WatchQuery" responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/IdentityListActivitiesResponse' - '400': - description: '' + $ref: "#/components/schemas/IdentityListActivitiesResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /identity/events/live: get: @@ -7478,50 +7131,50 @@ paths: in: query required: false schema: - $ref: '#/components/schemas/WatchQuery' + $ref: "#/components/schemas/WatchQuery" responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/IdentityWatchEventsResponse' - '400': - description: '' + $ref: "#/components/schemas/IdentityWatchEventsResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /identity/game-links: post: @@ -7563,48 +7216,48 @@ paths: - IdentityLinks parameters: [] responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/IdentityPrepareGameLinkResponse' - '400': - description: '' + $ref: "#/components/schemas/IdentityPrepareGameLinkResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 get: description: >- @@ -7619,55 +7272,55 @@ paths: in: query required: true schema: - $ref: '#/components/schemas/Jwt' + $ref: "#/components/schemas/Jwt" - name: watch_index in: query required: false schema: - $ref: '#/components/schemas/WatchQuery' + $ref: "#/components/schemas/WatchQuery" responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/IdentityGetGameLinkResponse' - '400': - description: '' + $ref: "#/components/schemas/IdentityGetGameLinkResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /identity/game-links/complete: post: @@ -7679,51 +7332,51 @@ paths: - IdentityLinks parameters: [] responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true content: application/json: schema: - $ref: '#/components/schemas/IdentityCompleteGameLinkRequest' + $ref: "#/components/schemas/IdentityCompleteGameLinkRequest" /identity/game-links/cancel: post: description: >- @@ -7734,51 +7387,51 @@ paths: - IdentityLinks parameters: [] responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true content: application/json: schema: - $ref: '#/components/schemas/IdentityCancelGameLinkRequest' + $ref: "#/components/schemas/IdentityCancelGameLinkRequest" /job/runs/cleanup: post: operationId: job_run_cleanup @@ -7786,44 +7439,44 @@ paths: - JobRun parameters: [] responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /matchmaker/lobbies/ready: post: @@ -7844,44 +7497,44 @@ paths: - MatchmakerLobbies parameters: [] responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /matchmaker/lobbies/closed: put: @@ -7913,44 +7566,44 @@ paths: - MatchmakerLobbies parameters: [] responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true @@ -7985,44 +7638,44 @@ paths: - MatchmakerLobbies parameters: [] responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: false @@ -8057,47 +7710,47 @@ paths: type: string format: uuid responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: {} - '400': - description: '' + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /matchmaker/lobbies/find: post: @@ -8134,48 +7787,48 @@ paths: schema: type: string responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/MatchmakerFindLobbyResponse' - '400': - description: '' + $ref: "#/components/schemas/MatchmakerFindLobbyResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true @@ -8201,7 +7854,7 @@ paths: max_players: type: integer captcha: - $ref: '#/components/schemas/CaptchaConfig' + $ref: "#/components/schemas/CaptchaConfig" verification_data: {} required: - game_modes @@ -8235,48 +7888,48 @@ paths: - MatchmakerLobbies parameters: [] responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/MatchmakerJoinLobbyResponse' - '400': - description: '' + $ref: "#/components/schemas/MatchmakerJoinLobbyResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true @@ -8288,7 +7941,7 @@ paths: lobby_id: type: string captcha: - $ref: '#/components/schemas/CaptchaConfig' + $ref: "#/components/schemas/CaptchaConfig" verification_data: {} required: - lobby_id @@ -8318,48 +7971,48 @@ paths: - MatchmakerLobbies parameters: [] responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/MatchmakerCreateLobbyResponse' - '400': - description: '' + $ref: "#/components/schemas/MatchmakerCreateLobbyResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true @@ -8373,7 +8026,7 @@ paths: region: type: string publicity: - $ref: '#/components/schemas/MatchmakerCustomLobbyPublicity' + $ref: "#/components/schemas/MatchmakerCustomLobbyPublicity" tags: type: object additionalProperties: @@ -8382,7 +8035,7 @@ paths: type: integer lobby_config: {} captcha: - $ref: '#/components/schemas/CaptchaConfig' + $ref: "#/components/schemas/CaptchaConfig" verification_data: {} required: - game_mode @@ -8417,48 +8070,48 @@ paths: schema: type: boolean responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/MatchmakerListLobbiesResponse' - '400': - description: '' + $ref: "#/components/schemas/MatchmakerListLobbiesResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /matchmaker/players/connected: post: @@ -8540,44 +8193,44 @@ paths: - MatchmakerPlayers parameters: [] responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true @@ -8601,44 +8254,44 @@ paths: - MatchmakerPlayers parameters: [] responses: - '204': - description: '' - '400': - description: '' + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 requestBody: required: true @@ -8659,48 +8312,48 @@ paths: - MatchmakerPlayers parameters: [] responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/MatchmakerGetStatisticsResponse' - '400': - description: '' + $ref: "#/components/schemas/MatchmakerGetStatisticsResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /matchmaker/regions: get: @@ -8716,48 +8369,48 @@ paths: - MatchmakerRegions parameters: [] responses: - '200': - description: '' + "200": + description: "" content: application/json: schema: - $ref: '#/components/schemas/MatchmakerListRegionsResponse' - '400': - description: '' + $ref: "#/components/schemas/MatchmakerListRegionsResponse" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 /portal/games/{game_name_id}/profile: get: @@ -8783,48 +8436,153 @@ paths: schema: type: string responses: - '200': - description: '' + "200": + description: "" + content: + application/json: + schema: + $ref: "#/components/schemas/PortalGetGameProfileResponse" + "400": + description: "" + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorBody" + security: *ref_0 + /portal/notifications/register: + post: + description: Registers push notifications for the current identity. + operationId: portal_notifications_registerNotifications + tags: + - PortalNotifications + parameters: [] + responses: + "204": + description: "" + "400": + description: "" + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/PortalGetGameProfileResponse' - '400': - description: '' + $ref: "#/components/schemas/ErrorBody" + security: *ref_0 + requestBody: + required: true + content: + application/json: + schema: + $ref: "#/components/schemas/PortalRegisterNotificationsRequest" + delete: + description: Unregister push notification for the current identity. + operationId: portal_notifications_unregisterNotifications + tags: + - PortalNotifications + parameters: + - name: service + in: query + description: Represents a value for which notification service to unregister. + required: true + schema: + $ref: "#/components/schemas/PortalNotificationUnregisterService" + responses: + "204": + description: "" + "400": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '403': - description: '' + $ref: "#/components/schemas/ErrorBody" + "403": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '404': - description: '' + $ref: "#/components/schemas/ErrorBody" + "404": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '408': - description: '' + $ref: "#/components/schemas/ErrorBody" + "408": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '429': - description: '' + $ref: "#/components/schemas/ErrorBody" + "429": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' - '500': - description: '' + $ref: "#/components/schemas/ErrorBody" + "500": + description: "" content: application/json: schema: - $ref: '#/components/schemas/ErrorBody' + $ref: "#/components/schemas/ErrorBody" security: *ref_0 components: schemas: @@ -8857,7 +8615,7 @@ components: clusters: type: array items: - $ref: '#/components/schemas/AdminCluster' + $ref: "#/components/schemas/AdminCluster" required: - clusters AdminClustersCreateRequest: @@ -8884,7 +8642,7 @@ components: datacenters: type: array items: - $ref: '#/components/schemas/AdminDatacenter' + $ref: "#/components/schemas/AdminDatacenter" required: - datacenters AdminClustersDatacentersCreateRequest: @@ -8895,11 +8653,11 @@ components: name_id: type: string provider: - $ref: '#/components/schemas/AdminProvider' + $ref: "#/components/schemas/AdminProvider" provider_datacenter_id: type: string build_delivery_method: - $ref: '#/components/schemas/AdminBuildDeliveryMethod' + $ref: "#/components/schemas/AdminBuildDeliveryMethod" required: - display_name - name_id @@ -8937,17 +8695,17 @@ components: type: object properties: cluster: - $ref: '#/components/schemas/CloudBootstrapCluster' + $ref: "#/components/schemas/CloudBootstrapCluster" access: - $ref: '#/components/schemas/CloudBootstrapAccess' + $ref: "#/components/schemas/CloudBootstrapAccess" domains: - $ref: '#/components/schemas/CloudBootstrapDomains' + $ref: "#/components/schemas/CloudBootstrapDomains" origins: - $ref: '#/components/schemas/CloudBootstrapOrigins' + $ref: "#/components/schemas/CloudBootstrapOrigins" captcha: - $ref: '#/components/schemas/CloudBootstrapCaptcha' + $ref: "#/components/schemas/CloudBootstrapCaptcha" login_methods: - $ref: '#/components/schemas/CloudBootstrapLoginMethods' + $ref: "#/components/schemas/CloudBootstrapLoginMethods" required: - cluster - access @@ -8991,7 +8749,7 @@ components: type: object properties: turnstile: - $ref: '#/components/schemas/CloudBootstrapCaptchaTurnstile' + $ref: "#/components/schemas/CloudBootstrapCaptchaTurnstile" CloudBootstrapCaptchaTurnstile: type: object properties: @@ -9013,15 +8771,14 @@ components: type: object properties: agent: - $ref: '#/components/schemas/CloudAuthAgent' + $ref: "#/components/schemas/CloudAuthAgent" required: - agent CloudGamesNamespacesCreateGameNamespaceRequest: type: object properties: display_name: - type: string - description: Represent a resource's readable display name. + $ref: "#/components/schemas/DisplayName" version_id: type: string format: uuid @@ -9048,8 +8805,7 @@ components: type: object properties: display_name: - type: string - description: Represent a resource's readable display name. + $ref: "#/components/schemas/DisplayName" name_id: type: string description: >- @@ -9066,7 +8822,7 @@ components: errors: type: array items: - $ref: '#/components/schemas/ValidationError' + $ref: "#/components/schemas/ValidationError" description: A list of validation errors. required: - errors @@ -9074,7 +8830,7 @@ components: type: object properties: namespace: - $ref: '#/components/schemas/CloudNamespaceFull' + $ref: "#/components/schemas/CloudNamespaceFull" required: - namespace CloudGamesNamespacesUpdateNamespaceCdnAuthUserRequest: @@ -9095,7 +8851,7 @@ components: type: object properties: auth_type: - $ref: '#/components/schemas/CloudCdnAuthType' + $ref: "#/components/schemas/CloudCdnAuthType" required: - auth_type CloudGamesNamespacesToggleNamespaceDomainPublicAuthRequest: @@ -9132,7 +8888,7 @@ components: versions: type: array items: - $ref: '#/components/schemas/CloudNamespaceVersion' + $ref: "#/components/schemas/CloudNamespaceVersion" description: A list of previously deployed namespace versions. required: - versions @@ -9154,7 +8910,7 @@ components: errors: type: array items: - $ref: '#/components/schemas/ValidationError' + $ref: "#/components/schemas/ValidationError" description: A list of validation errors. required: - errors @@ -9167,7 +8923,7 @@ components: ports: type: object additionalProperties: - $ref: '#/components/schemas/CloudMatchmakerDevelopmentPort' + $ref: "#/components/schemas/CloudMatchmakerDevelopmentPort" lobby_ports: type: array items: @@ -9212,7 +8968,7 @@ components: errors: type: array items: - $ref: '#/components/schemas/ValidationError' + $ref: "#/components/schemas/ValidationError" description: A list of validation errors. required: - errors @@ -9247,15 +9003,15 @@ components: additionalProperties: type: string engine: - $ref: '#/components/schemas/CloudVersionEngineConfig' + $ref: "#/components/schemas/CloudVersionEngineConfig" cdn: - $ref: '#/components/schemas/CloudVersionCdnConfig' + $ref: "#/components/schemas/CloudVersionCdnConfig" matchmaker: - $ref: '#/components/schemas/CloudVersionMatchmakerConfig' + $ref: "#/components/schemas/CloudVersionMatchmakerConfig" kv: - $ref: '#/components/schemas/CloudVersionKvConfig' + $ref: "#/components/schemas/CloudVersionKvConfig" identity: - $ref: '#/components/schemas/CloudVersionIdentityConfig' + $ref: "#/components/schemas/CloudVersionIdentityConfig" CloudVersionFull: type: object description: A full version. @@ -9264,14 +9020,11 @@ components: type: string format: uuid create_ts: - type: string - format: date-time - description: RFC3339 timestamp. + $ref: "#/components/schemas/Timestamp" display_name: - type: string - description: Represent a resource's readable display name. + $ref: "#/components/schemas/DisplayName" config: - $ref: '#/components/schemas/CloudVersionConfig' + $ref: "#/components/schemas/CloudVersionConfig" required: - version_id - create_ts @@ -9285,12 +9038,9 @@ components: type: string format: uuid create_ts: - type: string - format: date-time - description: RFC3339 timestamp. + $ref: "#/components/schemas/Timestamp" display_name: - type: string - description: Represent a resource's readable display name. + $ref: "#/components/schemas/DisplayName" required: - version_id - create_ts @@ -9316,7 +9066,7 @@ components: routes: type: array items: - $ref: '#/components/schemas/CloudVersionCdnRoute' + $ref: "#/components/schemas/CloudVersionCdnRoute" description: Multiple CDN version routes. CloudVersionCdnRoute: type: object @@ -9329,7 +9079,7 @@ components: middlewares: type: array items: - $ref: '#/components/schemas/CloudVersionCdnMiddleware' + $ref: "#/components/schemas/CloudVersionCdnMiddleware" description: Multiple CDN version middleware. required: - glob @@ -9339,21 +9089,21 @@ components: type: object properties: kind: - $ref: '#/components/schemas/CloudVersionCdnMiddlewareKind' + $ref: "#/components/schemas/CloudVersionCdnMiddlewareKind" required: - kind CloudVersionCdnMiddlewareKind: type: object properties: custom_headers: - $ref: '#/components/schemas/CloudVersionCdnCustomHeadersMiddleware' + $ref: "#/components/schemas/CloudVersionCdnCustomHeadersMiddleware" CloudVersionCdnCustomHeadersMiddleware: type: object properties: headers: type: array items: - $ref: '#/components/schemas/CloudVersionCdnHeader' + $ref: "#/components/schemas/CloudVersionCdnHeader" required: - headers CloudVersionCdnHeader: @@ -9370,15 +9120,15 @@ components: type: object properties: unity: - $ref: '#/components/schemas/CloudVersionEngineUnityConfig' + $ref: "#/components/schemas/CloudVersionEngineUnityConfig" unreal: - $ref: '#/components/schemas/CloudVersionEngineUnrealConfig' + $ref: "#/components/schemas/CloudVersionEngineUnrealConfig" godot: - $ref: '#/components/schemas/CloudVersionEngineGodotConfig' + $ref: "#/components/schemas/CloudVersionEngineGodotConfig" html5: - $ref: '#/components/schemas/CloudVersionEngineHtml5Config' + $ref: "#/components/schemas/CloudVersionEngineHtml5Config" custom: - $ref: '#/components/schemas/CloudVersionEngineCustomConfig' + $ref: "#/components/schemas/CloudVersionEngineCustomConfig" CloudVersionIdentityConfig: type: object description: |- @@ -9389,28 +9139,28 @@ components: type: array items: type: string - description: '**Deprecated**' + description: "**Deprecated**" avatars: type: array items: type: string format: uuid - description: '**Deprecated**' + description: "**Deprecated**" custom_display_names: type: array items: - $ref: '#/components/schemas/CloudVersionIdentityCustomDisplayName' - description: '**Deprecated**' + $ref: "#/components/schemas/CloudVersionIdentityCustomDisplayName" + description: "**Deprecated**" custom_avatars: type: array items: - $ref: '#/components/schemas/CloudVersionIdentityCustomAvatar' - description: '**Deprecated**' + $ref: "#/components/schemas/CloudVersionIdentityCustomAvatar" + description: "**Deprecated**" CloudVersionIdentityCustomDisplayName: type: object properties: display_name: - type: string + $ref: "#/components/schemas/DisplayName" required: - display_name CloudVersionIdentityCustomAvatar: @@ -9432,17 +9182,17 @@ components: game_modes: type: object additionalProperties: - $ref: '#/components/schemas/CloudVersionMatchmakerGameMode' + $ref: "#/components/schemas/CloudVersionMatchmakerGameMode" description: A list of game modes. captcha: - $ref: '#/components/schemas/CloudVersionMatchmakerCaptcha' + $ref: "#/components/schemas/CloudVersionMatchmakerCaptcha" dev_hostname: type: string description: _Configures Rivet CLI behavior. Has no effect on server behavior._ regions: type: object additionalProperties: - $ref: '#/components/schemas/CloudVersionMatchmakerGameModeRegion' + $ref: "#/components/schemas/CloudVersionMatchmakerGameModeRegion" max_players: type: integer max_players_direct: @@ -9450,15 +9200,15 @@ components: max_players_party: type: integer docker: - $ref: '#/components/schemas/CloudVersionMatchmakerGameModeRuntimeDocker' + $ref: "#/components/schemas/CloudVersionMatchmakerGameModeRuntimeDocker" tier: type: string idle_lobbies: - $ref: '#/components/schemas/CloudVersionMatchmakerGameModeIdleLobbiesConfig' + $ref: "#/components/schemas/CloudVersionMatchmakerGameModeIdleLobbiesConfig" lobby_groups: type: array items: - $ref: '#/components/schemas/CloudVersionMatchmakerLobbyGroup' + $ref: "#/components/schemas/CloudVersionMatchmakerLobbyGroup" description: |- **Deprecated: use `game_modes` instead** A list of game modes. @@ -9468,10 +9218,10 @@ components: groups: type: array items: - $ref: '#/components/schemas/GroupSummary' + $ref: "#/components/schemas/GroupSummary" description: A list of group summaries. watch: - $ref: '#/components/schemas/WatchResponse' + $ref: "#/components/schemas/WatchResponse" required: - groups - watch @@ -9479,8 +9229,7 @@ components: type: object properties: display_name: - type: string - description: Represent a resource's readable display name. + $ref: "#/components/schemas/DisplayName" required: - display_name GroupCreateResponse: @@ -9514,7 +9263,7 @@ components: type: string format: uuid presigned_request: - $ref: '#/components/schemas/UploadPresignedRequest' + $ref: "#/components/schemas/UploadPresignedRequest" required: - upload_id - presigned_request @@ -9522,20 +9271,18 @@ components: type: object properties: display_name: - type: string - description: Represent a resource's readable display name. + $ref: "#/components/schemas/DisplayName" bio: - type: string - description: Detailed information about a profile. + $ref: "#/components/schemas/DisplayName" publicity: - $ref: '#/components/schemas/GroupPublicity' + $ref: "#/components/schemas/GroupPublicity" GroupValidateProfileResponse: type: object properties: errors: type: array items: - $ref: '#/components/schemas/ValidationError' + $ref: "#/components/schemas/ValidationError" description: A list of validation errors. required: - errors @@ -9545,7 +9292,7 @@ components: groups: type: array items: - $ref: '#/components/schemas/GroupHandle' + $ref: "#/components/schemas/GroupHandle" description: A list of group handles. anchor: type: string @@ -9557,13 +9304,13 @@ components: banned_identities: type: array items: - $ref: '#/components/schemas/GroupBannedIdentity' + $ref: "#/components/schemas/GroupBannedIdentity" description: A list of banned group members. anchor: type: string description: The pagination anchor. watch: - $ref: '#/components/schemas/WatchResponse' + $ref: "#/components/schemas/WatchResponse" required: - banned_identities - watch @@ -9573,13 +9320,13 @@ components: join_requests: type: array items: - $ref: '#/components/schemas/GroupJoinRequest' + $ref: "#/components/schemas/GroupJoinRequest" description: A list of group join requests. anchor: type: string description: The pagination anchor. watch: - $ref: '#/components/schemas/WatchResponse' + $ref: "#/components/schemas/WatchResponse" required: - join_requests - watch @@ -9589,13 +9336,13 @@ components: members: type: array items: - $ref: '#/components/schemas/GroupMember' + $ref: "#/components/schemas/GroupMember" description: A list of group members. anchor: type: string description: The pagination anchor. watch: - $ref: '#/components/schemas/WatchResponse' + $ref: "#/components/schemas/WatchResponse" required: - members - watch @@ -9603,9 +9350,9 @@ components: type: object properties: group: - $ref: '#/components/schemas/GroupProfile' + $ref: "#/components/schemas/GroupProfile" watch: - $ref: '#/components/schemas/WatchResponse' + $ref: "#/components/schemas/WatchResponse" required: - group - watch @@ -9613,18 +9360,17 @@ components: type: object properties: display_name: - type: string - description: Represent a resource's readable display name. + $ref: "#/components/schemas/DisplayName" bio: type: string description: Detailed information about a profile. publicity: - $ref: '#/components/schemas/GroupPublicity' + $ref: "#/components/schemas/GroupPublicity" GroupGetSummaryResponse: type: object properties: group: - $ref: '#/components/schemas/GroupSummary' + $ref: "#/components/schemas/GroupSummary" required: - group GroupTransferOwnershipRequest: @@ -9641,7 +9387,7 @@ components: type: object properties: identity_token: - $ref: '#/components/schemas/Jwt' + $ref: "#/components/schemas/Jwt" description: >- Token used to authenticate the identity. @@ -9664,13 +9410,9 @@ components: If this token is compromised, anyone with access to this token has control of the identity. identity_token_expire_ts: - type: string - format: date-time - description: >- - If this token is compromised, anyone with access to this token has - control of the identity. + $ref: "#/components/schemas/Timestamp" identity: - $ref: '#/components/schemas/IdentityProfile' + $ref: "#/components/schemas/IdentityProfile" description: Information about the identity that was just authenticated. game_id: type: string @@ -9684,9 +9426,9 @@ components: type: object properties: identity: - $ref: '#/components/schemas/IdentityProfile' + $ref: "#/components/schemas/IdentityProfile" watch: - $ref: '#/components/schemas/WatchResponse' + $ref: "#/components/schemas/WatchResponse" required: - identity - watch @@ -9696,9 +9438,9 @@ components: identities: type: array items: - $ref: '#/components/schemas/IdentityHandle' + $ref: "#/components/schemas/IdentityHandle" watch: - $ref: '#/components/schemas/WatchResponse' + $ref: "#/components/schemas/WatchResponse" required: - identities - watch @@ -9708,9 +9450,9 @@ components: identities: type: array items: - $ref: '#/components/schemas/IdentitySummary' + $ref: "#/components/schemas/IdentitySummary" watch: - $ref: '#/components/schemas/WatchResponse' + $ref: "#/components/schemas/WatchResponse" required: - identities - watch @@ -9720,7 +9462,7 @@ components: errors: type: array items: - $ref: '#/components/schemas/ValidationError' + $ref: "#/components/schemas/ValidationError" required: - errors IdentitySearchResponse: @@ -9729,7 +9471,7 @@ components: identities: type: array items: - $ref: '#/components/schemas/IdentityHandle' + $ref: "#/components/schemas/IdentityHandle" anchor: type: string description: The pagination anchor. @@ -9742,7 +9484,7 @@ components: type: string format: uuid presigned_request: - $ref: '#/components/schemas/UploadPresignedRequest' + $ref: "#/components/schemas/UploadPresignedRequest" required: - upload_id - presigned_request @@ -9752,11 +9494,11 @@ components: identities: type: array items: - $ref: '#/components/schemas/IdentityHandle' + $ref: "#/components/schemas/IdentityHandle" anchor: type: string watch: - $ref: '#/components/schemas/WatchResponse' + $ref: "#/components/schemas/WatchResponse" required: - identities - watch @@ -9766,11 +9508,11 @@ components: identities: type: array items: - $ref: '#/components/schemas/IdentityHandle' + $ref: "#/components/schemas/IdentityHandle" anchor: type: string watch: - $ref: '#/components/schemas/WatchResponse' + $ref: "#/components/schemas/WatchResponse" required: - identities - watch @@ -9780,11 +9522,11 @@ components: identities: type: array items: - $ref: '#/components/schemas/IdentityHandle' + $ref: "#/components/schemas/IdentityHandle" anchor: type: string watch: - $ref: '#/components/schemas/WatchResponse' + $ref: "#/components/schemas/WatchResponse" required: - identities - watch @@ -9794,11 +9536,11 @@ components: identities: type: array items: - $ref: '#/components/schemas/IdentityHandle' + $ref: "#/components/schemas/IdentityHandle" anchor: type: string watch: - $ref: '#/components/schemas/WatchResponse' + $ref: "#/components/schemas/WatchResponse" required: - identities - watch @@ -9808,7 +9550,7 @@ components: identities: type: array items: - $ref: '#/components/schemas/IdentityHandle' + $ref: "#/components/schemas/IdentityHandle" anchor: type: string required: @@ -9817,14 +9559,14 @@ components: type: object properties: value: - $ref: '#/components/schemas/KvValue' + $ref: "#/components/schemas/KvValue" deleted: type: boolean description: >- Whether or not the entry has been deleted. Only set when watching this endpoint. watch: - $ref: '#/components/schemas/WatchResponse' + $ref: "#/components/schemas/WatchResponse" required: - value - watch @@ -9835,9 +9577,9 @@ components: type: string format: uuid key: - $ref: '#/components/schemas/KvKey' + $ref: "#/components/schemas/KvKey" value: - $ref: '#/components/schemas/KvValue' + $ref: "#/components/schemas/KvValue" required: - key - value @@ -9847,7 +9589,7 @@ components: entries: type: array items: - $ref: '#/components/schemas/KvEntry' + $ref: "#/components/schemas/KvEntry" required: - entries KvGetBatchResponse: @@ -9856,9 +9598,9 @@ components: entries: type: array items: - $ref: '#/components/schemas/KvEntry' + $ref: "#/components/schemas/KvEntry" watch: - $ref: '#/components/schemas/WatchResponse' + $ref: "#/components/schemas/WatchResponse" required: - entries - watch @@ -9871,7 +9613,7 @@ components: entries: type: array items: - $ref: '#/components/schemas/KvPutEntry' + $ref: "#/components/schemas/KvPutEntry" required: - entries ModuleCallResponse: @@ -9931,11 +9673,11 @@ components: type: object properties: pool_type: - $ref: '#/components/schemas/AdminPoolType' + $ref: "#/components/schemas/AdminPoolType" hardware: type: array items: - $ref: '#/components/schemas/AdminHardware' + $ref: "#/components/schemas/AdminHardware" desired_count: type: integer max_count: @@ -9988,7 +9730,7 @@ components: display_name: type: string provider: - $ref: '#/components/schemas/AdminProvider' + $ref: "#/components/schemas/AdminProvider" provider_datacenter_id: type: string provider_api_token: @@ -9996,9 +9738,9 @@ components: pools: type: array items: - $ref: '#/components/schemas/AdminPool' + $ref: "#/components/schemas/AdminPool" build_delivery_method: - $ref: '#/components/schemas/AdminBuildDeliveryMethod' + $ref: "#/components/schemas/AdminBuildDeliveryMethod" required: - datacenter_id - cluster_id @@ -10022,7 +9764,7 @@ components: type: object properties: access_token: - $ref: '#/components/schemas/Jwt' + $ref: "#/components/schemas/Jwt" required: - access_token AuthIdentityStartEmailVerificationRequest: @@ -10031,7 +9773,7 @@ components: email: type: string captcha: - $ref: '#/components/schemas/CaptchaConfig' + $ref: "#/components/schemas/CaptchaConfig" game_id: type: string format: uuid @@ -10061,7 +9803,7 @@ components: type: object properties: status: - $ref: '#/components/schemas/AuthCompleteStatus' + $ref: "#/components/schemas/AuthCompleteStatus" required: - status AuthRefreshIdentityTokenRequest: @@ -10099,9 +9841,9 @@ components: description: Methods to verify a captcha properties: hcaptcha: - $ref: '#/components/schemas/CaptchaConfigHcaptcha' + $ref: "#/components/schemas/CaptchaConfigHcaptcha" turnstile: - $ref: '#/components/schemas/CaptchaConfigTurnstile' + $ref: "#/components/schemas/CaptchaConfigTurnstile" CaptchaConfigHcaptcha: type: object description: Captcha configuration. @@ -10122,7 +9864,7 @@ components: type: object properties: agent: - $ref: '#/components/schemas/CloudAuthAgent' + $ref: "#/components/schemas/CloudAuthAgent" required: - agent CloudSvcPerf: @@ -10146,12 +9888,12 @@ components: spans: type: array items: - $ref: '#/components/schemas/CloudLogsPerfSpan' + $ref: "#/components/schemas/CloudLogsPerfSpan" description: A list of performance spans. marks: type: array items: - $ref: '#/components/schemas/CloudLogsPerfMark' + $ref: "#/components/schemas/CloudLogsPerfMark" description: A list of performance marks. required: - svc_name @@ -10167,13 +9909,9 @@ components: type: string description: The label given to this performance span. start_ts: - type: string - format: date-time - description: RFC3339 timestamp. + $ref: "#/components/schemas/Timestamp" finish_ts: - type: string - format: date-time - description: RFC3339 timestamp. + $ref: "#/components/schemas/Timestamp" req_id: type: string format: uuid @@ -10188,9 +9926,7 @@ components: type: string description: The label given to this performance mark. ts: - type: string - format: date-time - description: RFC3339 timestamp. + $ref: "#/components/schemas/Timestamp" ray_id: type: string format: uuid @@ -10221,9 +9957,7 @@ components: type: string format: uuid create_ts: - type: string - format: date-time - description: RFC3339 timestamp. + $ref: "#/components/schemas/Timestamp" is_ready: type: boolean description: Whether or not this lobby is ready. @@ -10287,19 +10021,13 @@ components: type: string format: uuid create_ts: - type: string - format: date-time - description: RFC3339 timestamp. + $ref: "#/components/schemas/Timestamp" start_ts: - type: string - format: date-time - description: RFC3339 timestamp. + $ref: "#/components/schemas/Timestamp" ready_ts: - type: string - format: date-time - description: RFC3339 timestamp. + $ref: "#/components/schemas/Timestamp" status: - $ref: '#/components/schemas/CloudLogsLobbyStatus' + $ref: "#/components/schemas/CloudLogsLobbyStatus" required: - lobby_id - namespace_id @@ -10312,9 +10040,9 @@ components: description: A union representing the state of a lobby. properties: running: - $ref: '#/components/schemas/EmptyObject' + $ref: "#/components/schemas/EmptyObject" stopped: - $ref: '#/components/schemas/CloudLogsLobbyStatusStopped' + $ref: "#/components/schemas/CloudLogsLobbyStatusStopped" required: - running CloudLogsLobbyStatusStopped: @@ -10322,8 +10050,7 @@ components: description: The status of a stopped lobby. properties: stop_ts: - type: string - format: date-time + $ref: "#/components/schemas/Timestamp" failed: type: boolean description: Whether or not the lobby failed or stopped successfully. @@ -10366,9 +10093,9 @@ components: description: The current authenticated agent. properties: identity: - $ref: '#/components/schemas/CloudAuthAgentIdentity' + $ref: "#/components/schemas/CloudAuthAgentIdentity" game_cloud: - $ref: '#/components/schemas/CloudAuthAgentGameCloud' + $ref: "#/components/schemas/CloudAuthAgentGameCloud" CloudAuthAgentIdentity: type: object description: The current authenticated identity. @@ -10395,12 +10122,9 @@ components: type: string format: uuid display_name: - type: string - description: Represent a resource's readable display name. + $ref: "#/components/schemas/DisplayName" create_ts: - type: string - format: date-time - description: RFC3339 timestamp. + $ref: "#/components/schemas/Timestamp" url: type: string description: >- @@ -10430,12 +10154,9 @@ components: type: string format: uuid display_name: - type: string - description: Represent a resource's readable display name. + $ref: "#/components/schemas/DisplayName" create_ts: - type: string - format: date-time - description: RFC3339 timestamp. + $ref: "#/components/schemas/Timestamp" content_length: type: integer format: int64 @@ -10461,12 +10182,9 @@ components: type: string format: uuid display_name: - type: string - description: Represent a resource's readable display name. + $ref: "#/components/schemas/DisplayName" create_ts: - type: string - format: date-time - description: RFC3339 timestamp. + $ref: "#/components/schemas/Timestamp" content_length: type: integer format: int64 @@ -10489,9 +10207,7 @@ components: type: string format: uuid create_ts: - type: string - format: date-time - description: RFC3339 timestamp. + $ref: "#/components/schemas/Timestamp" name_id: type: string description: >- @@ -10500,8 +10216,7 @@ components: human readable. Different than `rivet.common#DisplayName` because this should not include special characters and be short. display_name: - type: string - description: Represent a resource's readable display name. + $ref: "#/components/schemas/DisplayName" developer_group_id: type: string format: uuid @@ -10517,17 +10232,17 @@ components: namespaces: type: array items: - $ref: '#/components/schemas/CloudNamespaceSummary' + $ref: "#/components/schemas/CloudNamespaceSummary" description: A list of namespace summaries. versions: type: array items: - $ref: '#/components/schemas/CloudVersionSummary' + $ref: "#/components/schemas/CloudVersionSummary" description: A list of version summaries. available_regions: type: array items: - $ref: '#/components/schemas/CloudRegionSummary' + $ref: "#/components/schemas/CloudRegionSummary" description: A list of region summaries. required: - game_id @@ -10547,12 +10262,9 @@ components: type: string format: uuid create_ts: - type: string - format: date-time - description: RFC3339 timestamp. + $ref: "#/components/schemas/Timestamp" display_name: - type: string - description: Represent a resource's readable display name. + $ref: "#/components/schemas/DisplayName" version_id: type: string format: uuid @@ -10592,11 +10304,9 @@ components: **Deprecated** A universal region label given to this region. provider_display_name: - type: string - description: Represent a resource's readable display name. + $ref: "#/components/schemas/DisplayName" region_display_name: - type: string - description: Represent a resource's readable display name. + $ref: "#/components/schemas/DisplayName" required: - region_id - region_name_id @@ -10609,16 +10319,16 @@ components: description: Game lobby expenses. properties: game: - $ref: '#/components/schemas/GameHandle' + $ref: "#/components/schemas/GameHandle" namespaces: type: array items: - $ref: '#/components/schemas/CloudNamespaceSummary' + $ref: "#/components/schemas/CloudNamespaceSummary" description: A list of namespace summaries. expenses: type: array items: - $ref: '#/components/schemas/CloudRegionTierExpenses' + $ref: "#/components/schemas/CloudRegionTierExpenses" description: A list of multiple region tier expenses. required: - game @@ -10766,12 +10476,9 @@ components: type: string format: uuid create_ts: - type: string - format: date-time - description: RFC3339 timestamp. + $ref: "#/components/schemas/Timestamp" display_name: - type: string - description: Represent a resource's readable display name. + $ref: "#/components/schemas/DisplayName" version_id: type: string format: uuid @@ -10783,7 +10490,7 @@ components: human readable. Different than `rivet.common#DisplayName` because this should not include special characters and be short. config: - $ref: '#/components/schemas/CloudNamespaceConfig' + $ref: "#/components/schemas/CloudNamespaceConfig" required: - namespace_id - create_ts @@ -10796,13 +10503,13 @@ components: description: Cloud configuration for a given namespace. properties: cdn: - $ref: '#/components/schemas/CloudCdnNamespaceConfig' + $ref: "#/components/schemas/CloudCdnNamespaceConfig" matchmaker: - $ref: '#/components/schemas/CloudMatchmakerNamespaceConfig' + $ref: "#/components/schemas/CloudMatchmakerNamespaceConfig" kv: - $ref: '#/components/schemas/CloudKvNamespaceConfig' + $ref: "#/components/schemas/CloudKvNamespaceConfig" identity: - $ref: '#/components/schemas/CloudIdentityNamespaceConfig' + $ref: "#/components/schemas/CloudIdentityNamespaceConfig" required: - cdn - matchmaker @@ -10820,14 +10527,14 @@ components: domains: type: array items: - $ref: '#/components/schemas/CloudCdnNamespaceDomain' + $ref: "#/components/schemas/CloudCdnNamespaceDomain" description: A list of CDN domains for a given namespace. auth_type: - $ref: '#/components/schemas/CloudCdnAuthType' + $ref: "#/components/schemas/CloudCdnAuthType" auth_user_list: type: array items: - $ref: '#/components/schemas/CloudCdnNamespaceAuthUser' + $ref: "#/components/schemas/CloudCdnNamespaceAuthUser" description: A list of CDN authenticated users for a given namespace. required: - enable_domain_public_auth @@ -10887,13 +10594,11 @@ components: type: string description: A valid domain name (no protocol). create_ts: - type: string - format: date-time - description: RFC3339 timestamp. + $ref: "#/components/schemas/Timestamp" verification_status: - $ref: '#/components/schemas/CloudCdnNamespaceDomainVerificationStatus' + $ref: "#/components/schemas/CloudCdnNamespaceDomainVerificationStatus" verification_method: - $ref: '#/components/schemas/CloudCdnNamespaceDomainVerificationMethod' + $ref: "#/components/schemas/CloudCdnNamespaceDomainVerificationMethod" verification_errors: type: array items: @@ -10909,9 +10614,9 @@ components: description: A union representing the verification method used for this CDN domain. properties: invalid: - $ref: '#/components/schemas/EmptyObject' + $ref: "#/components/schemas/EmptyObject" http: - $ref: '#/components/schemas/CloudCdnNamespaceDomainVerificationMethodHttp' + $ref: "#/components/schemas/CloudCdnNamespaceDomainVerificationMethodHttp" CloudCdnNamespaceDomainVerificationMethodHttp: type: object properties: @@ -10942,9 +10647,9 @@ components: port: type: integer port_range: - $ref: '#/components/schemas/CloudVersionMatchmakerPortRange' + $ref: "#/components/schemas/CloudVersionMatchmakerPortRange" protocol: - $ref: '#/components/schemas/CloudVersionMatchmakerPortProtocol' + $ref: "#/components/schemas/CloudVersionMatchmakerPortProtocol" required: - protocol CloudNamespaceVersion: @@ -10958,9 +10663,7 @@ components: type: string description: A universally unique identifier. deploy_ts: - type: string - format: date-time - description: RFC3339 timestamp. + $ref: "#/components/schemas/Timestamp" required: - namespace_id - version_id @@ -10985,14 +10688,14 @@ components: cloud_token: type: string watch: - $ref: '#/components/schemas/WatchResponse' + $ref: "#/components/schemas/WatchResponse" required: - watch CloudDevicesCompleteDeviceLinkRequest: type: object properties: device_link_token: - $ref: '#/components/schemas/Jwt' + $ref: "#/components/schemas/Jwt" game_id: type: string format: uuid @@ -11005,7 +10708,7 @@ components: custom_avatars: type: array items: - $ref: '#/components/schemas/CloudCustomAvatarSummary' + $ref: "#/components/schemas/CloudCustomAvatarSummary" description: A list of custom avatar summaries. required: - custom_avatars @@ -11032,7 +10735,7 @@ components: type: string format: uuid presigned_request: - $ref: '#/components/schemas/UploadPresignedRequest' + $ref: "#/components/schemas/UploadPresignedRequest" required: - upload_id - presigned_request @@ -11042,7 +10745,7 @@ components: builds: type: array items: - $ref: '#/components/schemas/CloudBuildSummary' + $ref: "#/components/schemas/CloudBuildSummary" description: A list of build summaries. required: - builds @@ -11050,19 +10753,18 @@ components: type: object properties: display_name: - type: string - description: Represent a resource's readable display name. + $ref: "#/components/schemas/DisplayName" image_tag: type: string description: A tag given to the game build. image_file: - $ref: '#/components/schemas/UploadPrepareFile' + $ref: "#/components/schemas/UploadPrepareFile" multipart_upload: type: boolean kind: - $ref: '#/components/schemas/CloudGamesBuildKind' + $ref: "#/components/schemas/CloudGamesBuildKind" compression: - $ref: '#/components/schemas/CloudGamesBuildCompression' + $ref: "#/components/schemas/CloudGamesBuildCompression" required: - display_name - image_tag @@ -11077,11 +10779,11 @@ components: type: string format: uuid image_presigned_request: - $ref: '#/components/schemas/UploadPresignedRequest' + $ref: "#/components/schemas/UploadPresignedRequest" image_presigned_requests: type: array items: - $ref: '#/components/schemas/UploadPresignedRequest' + $ref: "#/components/schemas/UploadPresignedRequest" required: - build_id - upload_id @@ -11101,7 +10803,7 @@ components: sites: type: array items: - $ref: '#/components/schemas/CloudCdnSiteSummary' + $ref: "#/components/schemas/CloudCdnSiteSummary" description: A list of CDN site summaries. required: - sites @@ -11109,12 +10811,11 @@ components: type: object properties: display_name: - type: string - description: Represent a resource's readable display name. + $ref: "#/components/schemas/DisplayName" files: type: array items: - $ref: '#/components/schemas/UploadPrepareFile' + $ref: "#/components/schemas/UploadPrepareFile" description: A list of files preparing to upload. required: - display_name @@ -11131,7 +10832,7 @@ components: presigned_requests: type: array items: - $ref: '#/components/schemas/UploadPresignedRequest' + $ref: "#/components/schemas/UploadPresignedRequest" required: - site_id - upload_id @@ -11142,15 +10843,15 @@ components: games: type: array items: - $ref: '#/components/schemas/GameSummary' + $ref: "#/components/schemas/GameSummary" description: A list of game summaries. groups: type: array items: - $ref: '#/components/schemas/GroupSummary' + $ref: "#/components/schemas/GroupSummary" description: A list of group summaries. watch: - $ref: '#/components/schemas/WatchResponse' + $ref: "#/components/schemas/WatchResponse" required: - games - groups @@ -11159,17 +10860,10 @@ components: type: object properties: name_id: - type: string - description: >- - **Deprecated** - - A human readable short identifier used to references resources. - Different than a `rivet.common#Uuid` because this is intended to be - human readable. Different than `rivet.common#DisplayName` because - this should not include special characters and be short. + $ref: "#/components/schemas/Identifier" + description: "**Deprecated**" display_name: - type: string - description: Represent a resource's readable display name. + $ref: "#/components/schemas/DisplayName" developer_group_id: type: string format: uuid @@ -11188,8 +10882,7 @@ components: type: object properties: display_name: - type: string - description: Represent a resource's readable display name. + $ref: "#/components/schemas/DisplayName" name_id: type: string description: >- @@ -11207,7 +10900,7 @@ components: errors: type: array items: - $ref: '#/components/schemas/ValidationError' + $ref: "#/components/schemas/ValidationError" description: A list of validation errors. required: - errors @@ -11215,9 +10908,9 @@ components: type: object properties: game: - $ref: '#/components/schemas/CloudGameFull' + $ref: "#/components/schemas/CloudGameFull" watch: - $ref: '#/components/schemas/WatchResponse' + $ref: "#/components/schemas/WatchResponse" required: - game - watch @@ -11244,7 +10937,7 @@ components: type: string format: uuid presigned_request: - $ref: '#/components/schemas/UploadPresignedRequest' + $ref: "#/components/schemas/UploadPresignedRequest" required: - upload_id - presigned_request @@ -11271,7 +10964,7 @@ components: type: string format: uuid presigned_request: - $ref: '#/components/schemas/UploadPresignedRequest' + $ref: "#/components/schemas/UploadPresignedRequest" required: - upload_id - presigned_request @@ -11319,7 +11012,7 @@ components: type: string description: Sorted old to new. watch: - $ref: '#/components/schemas/WatchResponse' + $ref: "#/components/schemas/WatchResponse" required: - lines - timestamps @@ -11328,7 +11021,7 @@ components: type: object properties: stream: - $ref: '#/components/schemas/CloudGamesLogStream' + $ref: "#/components/schemas/CloudGamesLogStream" required: - stream CloudGamesExportLobbyLogsResponse: @@ -11350,7 +11043,7 @@ components: lobbies: type: array items: - $ref: '#/components/schemas/CloudLobbySummaryAnalytics' + $ref: "#/components/schemas/CloudLobbySummaryAnalytics" description: A list of analytics lobby summaries. required: - lobbies @@ -11360,7 +11053,7 @@ components: lobbies: type: array items: - $ref: '#/components/schemas/CloudLogsLobbySummary' + $ref: "#/components/schemas/CloudLogsLobbySummary" description: A list of lobby log summaries. required: - lobbies @@ -11368,9 +11061,9 @@ components: type: object properties: lobby: - $ref: '#/components/schemas/CloudLogsLobbySummary' + $ref: "#/components/schemas/CloudLogsLobbySummary" metrics: - $ref: '#/components/schemas/CloudSvcMetrics' + $ref: "#/components/schemas/CloudSvcMetrics" stdout_presigned_urls: type: array items: @@ -11388,7 +11081,7 @@ components: perf_lists: type: array items: - $ref: '#/components/schemas/CloudSvcPerf' + $ref: "#/components/schemas/CloudSvcPerf" description: |- **Deprecated** A list of service performance summaries. @@ -11415,10 +11108,9 @@ components: type: object properties: display_name: - type: string - description: Represent a resource's readable display name. + $ref: "#/components/schemas/DisplayName" config: - $ref: '#/components/schemas/CloudVersionConfig' + $ref: "#/components/schemas/CloudVersionConfig" required: - display_name - config @@ -11434,17 +11126,16 @@ components: type: object properties: version_display_name: - type: string + $ref: "#/components/schemas/DisplayName" required: - version_display_name CloudGamesValidateGameVersionRequest: type: object properties: display_name: - type: string - description: Represent a resource's readable display name. + $ref: "#/components/schemas/DisplayName" config: - $ref: '#/components/schemas/CloudVersionConfig' + $ref: "#/components/schemas/CloudVersionConfig" required: - display_name - config @@ -11454,7 +11145,7 @@ components: errors: type: array items: - $ref: '#/components/schemas/ValidationError' + $ref: "#/components/schemas/ValidationError" description: A list of validation errors. required: - errors @@ -11462,15 +11153,14 @@ components: type: object properties: version: - $ref: '#/components/schemas/CloudVersionFull' + $ref: "#/components/schemas/CloudVersionFull" required: - version CloudValidateGroupRequest: type: object properties: display_name: - type: string - description: Represent a resource's readable display name. + $ref: "#/components/schemas/DisplayName" required: - display_name CloudValidateGroupResponse: @@ -11479,7 +11169,7 @@ components: errors: type: array items: - $ref: '#/components/schemas/ValidationError' + $ref: "#/components/schemas/ValidationError" description: A list of validation errors. required: - errors @@ -11489,7 +11179,7 @@ components: perf_lists: type: array items: - $ref: '#/components/schemas/CloudSvcPerf' + $ref: "#/components/schemas/CloudSvcPerf" description: A list of service performance summaries. required: - perf_lists @@ -11499,7 +11189,7 @@ components: tiers: type: array items: - $ref: '#/components/schemas/CloudRegionTier' + $ref: "#/components/schemas/CloudRegionTier" description: A list of region server tiers. required: - tiers @@ -11626,9 +11316,9 @@ components: Denotes how long a connection can continue to reconnect without having to reverify a captcha (in milliseconds). hcaptcha: - $ref: '#/components/schemas/CloudVersionMatchmakerCaptchaHcaptcha' + $ref: "#/components/schemas/CloudVersionMatchmakerCaptchaHcaptcha" turnstile: - $ref: '#/components/schemas/CloudVersionMatchmakerCaptchaTurnstile' + $ref: "#/components/schemas/CloudVersionMatchmakerCaptchaTurnstile" required: - requests_before_reverify - verification_ttl @@ -11637,8 +11327,8 @@ components: description: hCpatcha configuration. properties: level: - $ref: '#/components/schemas/CloudVersionMatchmakerCaptchaHcaptchaLevel' - description: '**Deprecated**' + $ref: "#/components/schemas/CloudVersionMatchmakerCaptchaHcaptchaLevel" + description: "**Deprecated**" site_key: type: string description: Site key for your hCaptcha application. Must be set. @@ -11689,7 +11379,7 @@ components: regions: type: object additionalProperties: - $ref: '#/components/schemas/CloudVersionMatchmakerGameModeRegion' + $ref: "#/components/schemas/CloudVersionMatchmakerGameModeRegion" max_players: type: integer max_players_direct: @@ -11697,7 +11387,7 @@ components: max_players_party: type: integer docker: - $ref: '#/components/schemas/CloudVersionMatchmakerGameModeRuntimeDocker' + $ref: "#/components/schemas/CloudVersionMatchmakerGameModeRuntimeDocker" listable: type: boolean taggable: @@ -11705,11 +11395,11 @@ components: allow_dynamic_max_players: type: boolean actions: - $ref: '#/components/schemas/CloudVersionMatchmakerGameModeActions' + $ref: "#/components/schemas/CloudVersionMatchmakerGameModeActions" tier: type: string idle_lobbies: - $ref: '#/components/schemas/CloudVersionMatchmakerGameModeIdleLobbiesConfig' + $ref: "#/components/schemas/CloudVersionMatchmakerGameModeIdleLobbiesConfig" CloudVersionMatchmakerGameModeRegion: type: object description: A game mode region. @@ -11717,7 +11407,7 @@ components: tier: type: string idle_lobbies: - $ref: '#/components/schemas/CloudVersionMatchmakerGameModeIdleLobbiesConfig' + $ref: "#/components/schemas/CloudVersionMatchmakerGameModeIdleLobbiesConfig" CloudVersionMatchmakerGameModeRuntimeDocker: type: object description: A game mode runtime running through Docker. @@ -11745,7 +11435,7 @@ components: additionalProperties: type: string network_mode: - $ref: '#/components/schemas/CloudVersionMatchmakerNetworkMode' + $ref: "#/components/schemas/CloudVersionMatchmakerNetworkMode" ports: type: object additionalProperties: @@ -11764,20 +11454,20 @@ components: ### Related - cloud.version.matchmaker.PortProtocol - cloud.version.matchmaker.ProxyKind port_range: - $ref: '#/components/schemas/CloudVersionMatchmakerPortRange' + $ref: "#/components/schemas/CloudVersionMatchmakerPortRange" protocol: - $ref: '#/components/schemas/CloudVersionMatchmakerPortProtocol' + $ref: "#/components/schemas/CloudVersionMatchmakerPortProtocol" proxy: - $ref: '#/components/schemas/CloudVersionMatchmakerProxyKind' + $ref: "#/components/schemas/CloudVersionMatchmakerProxyKind" description: How this port should be proxied. Defaults to 'game-guard`. dev_port: type: integer description: _Configures Rivet CLI behavior. Has no effect on server behavior._ dev_port_range: - $ref: '#/components/schemas/CloudVersionMatchmakerPortRange' + $ref: "#/components/schemas/CloudVersionMatchmakerPortRange" description: _Configures Rivet CLI behavior. Has no effect on server behavior._ dev_protocol: - $ref: '#/components/schemas/CloudVersionMatchmakerPortProtocol' + $ref: "#/components/schemas/CloudVersionMatchmakerPortProtocol" description: _Configures Rivet CLI behavior. Has no effect on server behavior._ CloudVersionMatchmakerGameModeIdleLobbiesConfig: type: object @@ -11795,11 +11485,11 @@ components: description: Configuration for the connection types allowed for a game mode. properties: find: - $ref: '#/components/schemas/CloudVersionMatchmakerGameModeFindConfig' + $ref: "#/components/schemas/CloudVersionMatchmakerGameModeFindConfig" join: - $ref: '#/components/schemas/CloudVersionMatchmakerGameModeJoinConfig' + $ref: "#/components/schemas/CloudVersionMatchmakerGameModeJoinConfig" create: - $ref: '#/components/schemas/CloudVersionMatchmakerGameModeCreateConfig' + $ref: "#/components/schemas/CloudVersionMatchmakerGameModeCreateConfig" CloudVersionMatchmakerGameModeIdentityRequirement: type: string enum: @@ -11890,7 +11580,7 @@ components: description: Defaults to true when unset. max_lobbies_per_identity: type: integer - description: '**Deprecated**' + description: "**Deprecated**" required: - enabled CloudVersionMatchmakerLobbyGroup: @@ -11909,7 +11599,7 @@ components: regions: type: array items: - $ref: '#/components/schemas/CloudVersionMatchmakerLobbyGroupRegion' + $ref: "#/components/schemas/CloudVersionMatchmakerLobbyGroupRegion" description: A list of game mode regions. max_players_normal: type: integer @@ -11921,7 +11611,7 @@ components: type: integer description: Unsigned 32 bit integer. runtime: - $ref: '#/components/schemas/CloudVersionMatchmakerLobbyGroupRuntime' + $ref: "#/components/schemas/CloudVersionMatchmakerLobbyGroupRuntime" required: - name_id - regions @@ -11936,7 +11626,7 @@ components: A union representing the runtime a game mode runs on. properties: docker: - $ref: '#/components/schemas/CloudVersionMatchmakerLobbyGroupRuntimeDocker' + $ref: "#/components/schemas/CloudVersionMatchmakerLobbyGroupRuntimeDocker" CloudVersionMatchmakerLobbyGroupRegion: type: object description: |- @@ -11978,7 +11668,7 @@ components: $ref: >- #/components/schemas/CloudVersionMatchmakerLobbyGroupRuntimeDockerEnvVar network_mode: - $ref: '#/components/schemas/CloudVersionMatchmakerNetworkMode' + $ref: "#/components/schemas/CloudVersionMatchmakerNetworkMode" ports: type: array items: @@ -12014,9 +11704,9 @@ components: type: integer description: The port number to connect to. port_range: - $ref: '#/components/schemas/CloudVersionMatchmakerPortRange' + $ref: "#/components/schemas/CloudVersionMatchmakerPortRange" proxy_protocol: - $ref: '#/components/schemas/CloudVersionMatchmakerPortProtocol' + $ref: "#/components/schemas/CloudVersionMatchmakerPortProtocol" required: - label - proxy_protocol @@ -12067,6 +11757,7 @@ components: - index DisplayName: type: string + description: Represent a resource's readable display name. AccountNumber: type: integer Timestamp: @@ -12114,7 +11805,7 @@ components: documentation: type: string metadata: - $ref: '#/components/schemas/ErrorMetadata' + $ref: "#/components/schemas/ErrorMetadata" required: - code - message @@ -12125,9 +11816,9 @@ components: type: string format: uuid name_id: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" display_name: - $ref: '#/components/schemas/DisplayName' + $ref: "#/components/schemas/DisplayName" logo_url: type: string description: The URL of this game's logo image. @@ -12145,9 +11836,9 @@ components: type: string format: uuid name_id: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" display_name: - $ref: '#/components/schemas/DisplayName' + $ref: "#/components/schemas/DisplayName" logo_url: type: string description: The URL of this game's logo image. @@ -12157,7 +11848,7 @@ components: url: type: string developer: - $ref: '#/components/schemas/GroupHandle' + $ref: "#/components/schemas/GroupHandle" total_player_count: type: integer description: Unsigned 32 bit integer. @@ -12183,8 +11874,7 @@ components: human readable. Different than `rivet.common#DisplayName` because this should not include special characters and be short. display_name: - type: string - description: Represent a resource's readable display name. + $ref: "#/components/schemas/DisplayName" logo_url: type: string description: The URL of this game's logo image. @@ -12195,7 +11885,7 @@ components: type: string description: The URL to this game's website. developer: - $ref: '#/components/schemas/GroupSummary' + $ref: "#/components/schemas/GroupSummary" tags: type: array items: @@ -12207,22 +11897,22 @@ components: platforms: type: array items: - $ref: '#/components/schemas/GamePlatformLink' + $ref: "#/components/schemas/GamePlatformLink" description: A list of platform links. recommended_groups: type: array items: - $ref: '#/components/schemas/GroupSummary' + $ref: "#/components/schemas/GroupSummary" description: A list of group summaries. identity_leaderboard_categories: type: array items: - $ref: '#/components/schemas/GameLeaderboardCategory' + $ref: "#/components/schemas/GameLeaderboardCategory" description: A list of game leaderboard categories. group_leaderboard_categories: type: array items: - $ref: '#/components/schemas/GameLeaderboardCategory' + $ref: "#/components/schemas/GameLeaderboardCategory" description: A list of game leaderboard categories. required: - game_id @@ -12241,8 +11931,7 @@ components: description: A platform link denoting a supported platform. properties: display_name: - type: string - description: Represent a resource's readable display name. + $ref: "#/components/schemas/DisplayName" url: type: string description: The URL to the given game's method of distribution on this platform. @@ -12254,8 +11943,7 @@ components: description: A game leaderboard category. properties: display_name: - type: string - description: Represent a resource's readable display name. + $ref: "#/components/schemas/DisplayName" required: - display_name GameStatSummary: @@ -12263,11 +11951,11 @@ components: description: A game statistic summary. properties: game: - $ref: '#/components/schemas/GameHandle' + $ref: "#/components/schemas/GameHandle" stats: type: array items: - $ref: '#/components/schemas/GameStat' + $ref: "#/components/schemas/GameStat" required: - game - stats @@ -12276,7 +11964,7 @@ components: description: A game statistic. properties: config: - $ref: '#/components/schemas/GameStatConfig' + $ref: "#/components/schemas/GameStatConfig" overall_value: type: number format: double @@ -12295,15 +11983,15 @@ components: type: string format: uuid format: - $ref: '#/components/schemas/GameStatFormatMethod' + $ref: "#/components/schemas/GameStatFormatMethod" aggregation: - $ref: '#/components/schemas/GameStatAggregationMethod' + $ref: "#/components/schemas/GameStatAggregationMethod" sorting: - $ref: '#/components/schemas/GameStatSortingMethod' + $ref: "#/components/schemas/GameStatSortingMethod" priority: type: integer display_name: - $ref: '#/components/schemas/DisplayName' + $ref: "#/components/schemas/DisplayName" postfix_singular: type: string description: >- @@ -12390,24 +12078,24 @@ components: type: string format: uuid display_name: - $ref: '#/components/schemas/DisplayName' + $ref: "#/components/schemas/DisplayName" avatar_url: type: string description: The URL of this group's avatar image. external: - $ref: '#/components/schemas/GroupExternalLinks' + $ref: "#/components/schemas/GroupExternalLinks" is_developer: type: boolean description: |- **Deprecated** Whether or not this group is a developer. bio: - $ref: '#/components/schemas/Bio' + $ref: "#/components/schemas/Bio" is_current_identity_member: type: boolean description: Whether or not the current identity is a member of this group. publicity: - $ref: '#/components/schemas/GroupPublicity' + $ref: "#/components/schemas/GroupPublicity" member_count: type: integer owner_identity_id: @@ -12437,12 +12125,12 @@ components: type: string format: uuid display_name: - $ref: '#/components/schemas/DisplayName' + $ref: "#/components/schemas/DisplayName" avatar_url: type: string description: The URL of this group's avatar image external: - $ref: '#/components/schemas/GroupExternalLinks' + $ref: "#/components/schemas/GroupExternalLinks" is_developer: type: boolean description: Whether or not this group is a developer group. @@ -12464,7 +12152,7 @@ components: description: A group join request. properties: identity: - $ref: '#/components/schemas/IdentityHandle' + $ref: "#/components/schemas/IdentityHandle" ts: type: string format: date-time @@ -12477,7 +12165,7 @@ components: description: A group member. properties: identity: - $ref: '#/components/schemas/IdentityHandle' + $ref: "#/components/schemas/IdentityHandle" required: - identity GroupProfile: @@ -12488,13 +12176,12 @@ components: type: string format: uuid display_name: - type: string - description: Represent a resource's readable display name. + $ref: "#/components/schemas/DisplayName" avatar_url: type: string description: The URL of this group's avatar image. external: - $ref: '#/components/schemas/GroupExternalLinks' + $ref: "#/components/schemas/GroupExternalLinks" is_developer: type: boolean description: Whether or not this group is a developer. @@ -12505,19 +12192,19 @@ components: type: boolean description: Whether or not the current identity is a member of this group. publicity: - $ref: '#/components/schemas/GroupPublicity' + $ref: "#/components/schemas/GroupPublicity" member_count: type: integer description: Unsigned 32 bit integer. members: type: array items: - $ref: '#/components/schemas/GroupMember' + $ref: "#/components/schemas/GroupMember" description: A list of group members. join_requests: type: array items: - $ref: '#/components/schemas/GroupJoinRequest' + $ref: "#/components/schemas/GroupJoinRequest" description: A list of group join requests. is_current_identity_requesting_join: type: boolean @@ -12541,11 +12228,9 @@ components: description: A banned identity. properties: identity: - $ref: '#/components/schemas/IdentityHandle' + $ref: "#/components/schemas/IdentityHandle" ban_ts: - type: string - format: date-time - description: RFC3339 timestamp. + $ref: "#/components/schemas/Timestamp" required: - identity - ban_ts @@ -12553,7 +12238,7 @@ components: type: object properties: group: - $ref: '#/components/schemas/GroupHandle' + $ref: "#/components/schemas/GroupHandle" required: - group GroupConsumeInviteResponse: @@ -12594,21 +12279,21 @@ components: identities: type: array items: - $ref: '#/components/schemas/IdentityHandle' + $ref: "#/components/schemas/IdentityHandle" games: type: array items: - $ref: '#/components/schemas/GameSummary' + $ref: "#/components/schemas/GameSummary" suggested_groups: type: array items: - $ref: '#/components/schemas/GroupSummary' + $ref: "#/components/schemas/GroupSummary" suggested_players: type: array items: - $ref: '#/components/schemas/IdentityHandle' + $ref: "#/components/schemas/IdentityHandle" watch: - $ref: '#/components/schemas/WatchResponse' + $ref: "#/components/schemas/WatchResponse" required: - identities - games @@ -12623,9 +12308,9 @@ components: type: string format: date-time kind: - $ref: '#/components/schemas/IdentityGlobalEventKind' + $ref: "#/components/schemas/IdentityGlobalEventKind" notification: - $ref: '#/components/schemas/IdentityGlobalEventNotification' + $ref: "#/components/schemas/IdentityGlobalEventNotification" required: - ts - kind @@ -12633,9 +12318,9 @@ components: type: object properties: identity_update: - $ref: '#/components/schemas/IdentityGlobalEventIdentityUpdate' + $ref: "#/components/schemas/IdentityGlobalEventIdentityUpdate" matchmaker_lobby_join: - $ref: '#/components/schemas/IdentityGlobalEventMatchmakerLobbyJoin' + $ref: "#/components/schemas/IdentityGlobalEventMatchmakerLobbyJoin" IdentityGlobalEventNotification: type: object description: >- @@ -12703,20 +12388,20 @@ components: type: object properties: identity: - $ref: '#/components/schemas/IdentityProfile' + $ref: "#/components/schemas/IdentityProfile" required: - identity IdentityGlobalEventMatchmakerLobbyJoin: type: object properties: lobby: - $ref: '#/components/schemas/MatchmakerJoinLobby' + $ref: "#/components/schemas/MatchmakerJoinLobby" ports: type: object additionalProperties: - $ref: '#/components/schemas/MatchmakerJoinPort' + $ref: "#/components/schemas/MatchmakerJoinPort" player: - $ref: '#/components/schemas/MatchmakerJoinPlayer' + $ref: "#/components/schemas/MatchmakerJoinPlayer" required: - lobby - ports @@ -12744,19 +12429,19 @@ components: type: string format: uuid display_name: - $ref: '#/components/schemas/DisplayName' + $ref: "#/components/schemas/DisplayName" account_number: - $ref: '#/components/schemas/AccountNumber' + $ref: "#/components/schemas/AccountNumber" avatar_url: type: string description: The URL of this identity's avatar image. presence: - $ref: '#/components/schemas/IdentityPresence' + $ref: "#/components/schemas/IdentityPresence" is_registered: type: boolean description: Whether or not this identity is registered with a linked account. external: - $ref: '#/components/schemas/IdentityExternalLinks' + $ref: "#/components/schemas/IdentityExternalLinks" required: - identity_id - display_name @@ -12772,19 +12457,19 @@ components: type: string format: uuid display_name: - $ref: '#/components/schemas/DisplayName' + $ref: "#/components/schemas/DisplayName" account_number: - $ref: '#/components/schemas/AccountNumber' + $ref: "#/components/schemas/AccountNumber" avatar_url: type: string description: The URL of this identity's avatar image. presence: - $ref: '#/components/schemas/IdentityPresence' + $ref: "#/components/schemas/IdentityPresence" is_registered: type: boolean description: Whether or not this identity is registered with a linked account. external: - $ref: '#/components/schemas/IdentityExternalLinks' + $ref: "#/components/schemas/IdentityExternalLinks" following: type: boolean description: Whether or not the requestee's identity is following this identity. @@ -12813,19 +12498,19 @@ components: type: string format: uuid display_name: - $ref: '#/components/schemas/DisplayName' + $ref: "#/components/schemas/DisplayName" account_number: - $ref: '#/components/schemas/AccountNumber' + $ref: "#/components/schemas/AccountNumber" avatar_url: type: string description: The URL of this identity's avatar image. presence: - $ref: '#/components/schemas/IdentityPresence' + $ref: "#/components/schemas/IdentityPresence" is_registered: type: boolean description: Whether or not this identity is registered with a linked account. external: - $ref: '#/components/schemas/IdentityExternalLinks' + $ref: "#/components/schemas/IdentityExternalLinks" is_admin: type: boolean description: Whether or not this identity is an admin. @@ -12835,8 +12520,8 @@ components: Whether or not this game user has been linked through the Rivet dashboard. dev_state: - $ref: '#/components/schemas/IdentityDevState' - description: '**Deprecated**' + $ref: "#/components/schemas/IdentityDevState" + description: "**Deprecated**" follower_count: type: integer format: int64 @@ -12854,22 +12539,21 @@ components: is_mutual_following: type: boolean join_ts: - type: string - format: date-time + $ref: "#/components/schemas/Timestamp" bio: - $ref: '#/components/schemas/Bio' + $ref: "#/components/schemas/Bio" linked_accounts: type: array items: - $ref: '#/components/schemas/IdentityLinkedAccount' + $ref: "#/components/schemas/IdentityLinkedAccount" groups: type: array items: - $ref: '#/components/schemas/IdentityGroup' + $ref: "#/components/schemas/IdentityGroup" games: type: array items: - $ref: '#/components/schemas/GameStatSummary' + $ref: "#/components/schemas/GameStatSummary" awaiting_deletion: type: boolean description: >- @@ -12912,12 +12596,11 @@ components: description: Information about the identity's current status, party, and active game. properties: update_ts: - type: string - format: date-time + $ref: "#/components/schemas/Timestamp" status: - $ref: '#/components/schemas/IdentityStatus' + $ref: "#/components/schemas/IdentityStatus" game_activity: - $ref: '#/components/schemas/IdentityGameActivity' + $ref: "#/components/schemas/IdentityGameActivity" required: - update_ts - status @@ -12935,7 +12618,7 @@ components: description: The game an identity is currently participating in. properties: game: - $ref: '#/components/schemas/GameHandle' + $ref: "#/components/schemas/GameHandle" message: type: string description: A short activity message about the current game activity. @@ -12953,7 +12636,7 @@ components: description: A group that the given identity. properties: group: - $ref: '#/components/schemas/GroupHandle' + $ref: "#/components/schemas/GroupHandle" required: - group IdentityLinkedAccount: @@ -12961,15 +12644,15 @@ components: description: A union representing an identity's linked accounts. properties: email: - $ref: '#/components/schemas/IdentityEmailLinkedAccount' + $ref: "#/components/schemas/IdentityEmailLinkedAccount" access_token: - $ref: '#/components/schemas/IdentityAccessTokenLinkedAccount' + $ref: "#/components/schemas/IdentityAccessTokenLinkedAccount" IdentityEmailLinkedAccount: type: object description: An identity's linked email. properties: email: - $ref: '#/components/schemas/Email' + $ref: "#/components/schemas/Email" required: - email IdentityAccessTokenLinkedAccount: @@ -12999,9 +12682,9 @@ components: events: type: array items: - $ref: '#/components/schemas/IdentityGlobalEvent' + $ref: "#/components/schemas/IdentityGlobalEvent" watch: - $ref: '#/components/schemas/WatchResponse' + $ref: "#/components/schemas/WatchResponse" required: - events - watch @@ -13016,8 +12699,7 @@ components: identity_link_url: type: string expire_ts: - type: string - format: date-time + $ref: "#/components/schemas/Timestamp" required: - identity_link_token - identity_link_url @@ -13026,15 +12708,15 @@ components: type: object properties: status: - $ref: '#/components/schemas/IdentityGameLinkStatus' + $ref: "#/components/schemas/IdentityGameLinkStatus" game: - $ref: '#/components/schemas/GameHandle' + $ref: "#/components/schemas/GameHandle" current_identity: - $ref: '#/components/schemas/IdentityHandle' + $ref: "#/components/schemas/IdentityHandle" new_identity: - $ref: '#/components/schemas/IdentityGetGameLinkNewIdentity' + $ref: "#/components/schemas/IdentityGetGameLinkNewIdentity" watch: - $ref: '#/components/schemas/WatchResponse' + $ref: "#/components/schemas/WatchResponse" required: - status - game @@ -13044,12 +12726,11 @@ components: type: object properties: identity_token: - $ref: '#/components/schemas/Jwt' + $ref: "#/components/schemas/Jwt" identity_token_expire_ts: - type: string - format: date-time + $ref: "#/components/schemas/Timestamp" identity: - $ref: '#/components/schemas/IdentityProfile' + $ref: "#/components/schemas/IdentityProfile" required: - identity_token - identity_token_expire_ts @@ -13058,14 +12739,14 @@ components: type: object properties: identity_link_token: - $ref: '#/components/schemas/Jwt' + $ref: "#/components/schemas/Jwt" required: - identity_link_token IdentityCancelGameLinkRequest: type: object properties: identity_link_token: - $ref: '#/components/schemas/Jwt' + $ref: "#/components/schemas/Jwt" required: - identity_link_token KvKey: @@ -13095,9 +12776,9 @@ components: description: A key-value entry. properties: key: - $ref: '#/components/schemas/KvKey' + $ref: "#/components/schemas/KvKey" value: - $ref: '#/components/schemas/KvValue' + $ref: "#/components/schemas/KvValue" deleted: type: boolean required: @@ -13108,9 +12789,9 @@ components: description: A new entry to insert into the key-value database. properties: key: - $ref: '#/components/schemas/KvKey' + $ref: "#/components/schemas/KvKey" value: - $ref: '#/components/schemas/KvValue' + $ref: "#/components/schemas/KvValue" required: - key - value @@ -13147,7 +12828,7 @@ components: description: A game mode that the player can join. properties: game_mode_id: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" required: - game_mode_id MatchmakerRegionInfo: @@ -13155,15 +12836,15 @@ components: description: A region that the player can connect to. properties: region_id: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" provider_display_name: - type: string + $ref: "#/components/schemas/DisplayName" region_display_name: - type: string + $ref: "#/components/schemas/DisplayName" datacenter_coord: - $ref: '#/components/schemas/GeoCoord' + $ref: "#/components/schemas/GeoCoord" datacenter_distance_from_client: - $ref: '#/components/schemas/GeoDistance' + $ref: "#/components/schemas/GeoDistance" required: - region_id - provider_display_name @@ -13178,15 +12859,15 @@ components: type: string format: uuid region: - $ref: '#/components/schemas/MatchmakerJoinRegion' + $ref: "#/components/schemas/MatchmakerJoinRegion" ports: type: object additionalProperties: - $ref: '#/components/schemas/MatchmakerJoinPort' - description: '**Deprecated**' + $ref: "#/components/schemas/MatchmakerJoinPort" + description: "**Deprecated**" player: - $ref: '#/components/schemas/MatchmakerJoinPlayer' - description: '**Deprecated**' + $ref: "#/components/schemas/MatchmakerJoinPlayer" + description: "**Deprecated**" required: - lobby_id - region @@ -13197,9 +12878,9 @@ components: description: A matchmaker lobby region. properties: region_id: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" display_name: - $ref: '#/components/schemas/DisplayName' + $ref: "#/components/schemas/DisplayName" required: - region_id - display_name @@ -13215,7 +12896,7 @@ components: type: integer description: The port number for this lobby. Will be null if using a port range. port_range: - $ref: '#/components/schemas/MatchmakerJoinPortRange' + $ref: "#/components/schemas/MatchmakerJoinPortRange" is_tls: type: boolean description: >- @@ -13242,7 +12923,7 @@ components: description: A matchmaker lobby player. properties: token: - $ref: '#/components/schemas/Jwt' + $ref: "#/components/schemas/Jwt" description: >- Pass this token through the socket to the lobby server. The lobby server will validate this token with `PlayerConnected.player_token` @@ -13257,13 +12938,13 @@ components: type: object properties: lobby: - $ref: '#/components/schemas/MatchmakerJoinLobby' + $ref: "#/components/schemas/MatchmakerJoinLobby" ports: type: object additionalProperties: - $ref: '#/components/schemas/MatchmakerJoinPort' + $ref: "#/components/schemas/MatchmakerJoinPort" player: - $ref: '#/components/schemas/MatchmakerJoinPlayer' + $ref: "#/components/schemas/MatchmakerJoinPlayer" required: - lobby - ports @@ -13272,13 +12953,13 @@ components: type: object properties: lobby: - $ref: '#/components/schemas/MatchmakerJoinLobby' + $ref: "#/components/schemas/MatchmakerJoinLobby" ports: type: object additionalProperties: - $ref: '#/components/schemas/MatchmakerJoinPort' + $ref: "#/components/schemas/MatchmakerJoinPort" player: - $ref: '#/components/schemas/MatchmakerJoinPlayer' + $ref: "#/components/schemas/MatchmakerJoinPlayer" required: - lobby - ports @@ -13287,13 +12968,13 @@ components: type: object properties: lobby: - $ref: '#/components/schemas/MatchmakerJoinLobby' + $ref: "#/components/schemas/MatchmakerJoinLobby" ports: type: object additionalProperties: - $ref: '#/components/schemas/MatchmakerJoinPort' + $ref: "#/components/schemas/MatchmakerJoinPort" player: - $ref: '#/components/schemas/MatchmakerJoinPlayer' + $ref: "#/components/schemas/MatchmakerJoinPlayer" required: - lobby - ports @@ -13304,15 +12985,15 @@ components: game_modes: type: array items: - $ref: '#/components/schemas/MatchmakerGameModeInfo' + $ref: "#/components/schemas/MatchmakerGameModeInfo" regions: type: array items: - $ref: '#/components/schemas/MatchmakerRegionInfo' + $ref: "#/components/schemas/MatchmakerRegionInfo" lobbies: type: array items: - $ref: '#/components/schemas/MatchmakerLobbyInfo' + $ref: "#/components/schemas/MatchmakerLobbyInfo" required: - game_modes - regions @@ -13326,7 +13007,7 @@ components: game_modes: type: object additionalProperties: - $ref: '#/components/schemas/MatchmakerGameModeStatistics' + $ref: "#/components/schemas/MatchmakerGameModeStatistics" required: - player_count - game_modes @@ -13339,7 +13020,7 @@ components: regions: type: object additionalProperties: - $ref: '#/components/schemas/MatchmakerRegionStatistics' + $ref: "#/components/schemas/MatchmakerRegionStatistics" required: - player_count - regions @@ -13357,14 +13038,14 @@ components: regions: type: array items: - $ref: '#/components/schemas/MatchmakerRegionInfo' + $ref: "#/components/schemas/MatchmakerRegionInfo" required: - regions PortalNotificationRegisterService: type: object properties: firebase: - $ref: '#/components/schemas/PortalNotificationRegisterFirebaseService' + $ref: "#/components/schemas/PortalNotificationRegisterFirebaseService" PortalNotificationRegisterFirebaseService: type: object properties: @@ -13382,10 +13063,10 @@ components: games: type: array items: - $ref: '#/components/schemas/GameSummary' + $ref: "#/components/schemas/GameSummary" description: A list of game summaries. watch: - $ref: '#/components/schemas/WatchResponse' + $ref: "#/components/schemas/WatchResponse" required: - games - watch @@ -13393,12 +13074,19 @@ components: type: object properties: game: - $ref: '#/components/schemas/GameProfile' + $ref: "#/components/schemas/GameProfile" watch: - $ref: '#/components/schemas/WatchResponse' + $ref: "#/components/schemas/WatchResponse" required: - game - watch + PortalRegisterNotificationsRequest: + type: object + properties: + service: + $ref: "#/components/schemas/PortalNotificationRegisterService" + required: + - service UploadPresignedRequest: type: object description: >- diff --git a/sdks/full/openapi_compat/openapi.yml b/sdks/full/openapi_compat/openapi.yml index 89df278065..79ec8a8357 100644 --- a/sdks/full/openapi_compat/openapi.yml +++ b/sdks/full/openapi_compat/openapi.yml @@ -429,12 +429,9 @@ components: format: int64 type: integer create_ts: - description: RFC3339 timestamp. - format: date-time - type: string + $ref: '#/components/schemas/Timestamp' display_name: - description: Represent a resource's readable display name. - type: string + $ref: '#/components/schemas/DisplayName' upload_id: format: uuid type: string @@ -491,9 +488,7 @@ components: description: A CDN domain for a given namespace. properties: create_ts: - description: RFC3339 timestamp. - format: date-time - type: string + $ref: '#/components/schemas/Timestamp' domain: description: A valid domain name (no protocol). type: string @@ -546,12 +541,9 @@ components: format: int64 type: integer create_ts: - description: RFC3339 timestamp. - format: date-time - type: string + $ref: '#/components/schemas/Timestamp' display_name: - description: Represent a resource's readable display name. - type: string + $ref: '#/components/schemas/DisplayName' site_id: format: uuid type: string @@ -577,12 +569,9 @@ components: format: int64 type: integer create_ts: - description: RFC3339 timestamp. - format: date-time - type: string + $ref: '#/components/schemas/Timestamp' display_name: - description: Represent a resource's readable display name. - type: string + $ref: '#/components/schemas/DisplayName' upload_id: format: uuid type: string @@ -643,15 +632,12 @@ components: description: The URL of this game's banner image. type: string create_ts: - description: RFC3339 timestamp. - format: date-time - type: string + $ref: '#/components/schemas/Timestamp' developer_group_id: format: uuid type: string display_name: - description: Represent a resource's readable display name. - type: string + $ref: '#/components/schemas/DisplayName' game_id: format: uuid type: string @@ -735,8 +721,7 @@ components: compression: $ref: '#/components/schemas/CloudGamesBuildCompression' display_name: - description: Represent a resource's readable display name. - type: string + $ref: '#/components/schemas/DisplayName' image_file: $ref: '#/components/schemas/UploadPrepareFile' image_tag: @@ -772,8 +757,7 @@ components: CloudGamesCreateGameCdnSiteRequest: properties: display_name: - description: Represent a resource's readable display name. - type: string + $ref: '#/components/schemas/DisplayName' files: description: A list of files preparing to upload. items: @@ -806,16 +790,10 @@ components: format: uuid type: string display_name: - description: Represent a resource's readable display name. - type: string + $ref: '#/components/schemas/DisplayName' name_id: - description: '**Deprecated** - - A human readable short identifier used to references resources. Different - than a `rivet.common#Uuid` because this is intended to be human readable. - Different than `rivet.common#DisplayName` because this should not include - special characters and be short.' - type: string + $ref: '#/components/schemas/Identifier' + description: '**Deprecated**' required: - display_name - developer_group_id @@ -833,8 +811,7 @@ components: config: $ref: '#/components/schemas/CloudVersionConfig' display_name: - description: Represent a resource's readable display name. - type: string + $ref: '#/components/schemas/DisplayName' required: - display_name - config @@ -1047,8 +1024,7 @@ components: CloudGamesNamespacesCreateGameNamespaceRequest: properties: display_name: - description: Represent a resource's readable display name. - type: string + $ref: '#/components/schemas/DisplayName' name_id: description: A human readable short identifier used to references resources. Different than a `rivet.common#Uuid` because this is intended to be human @@ -1264,8 +1240,7 @@ components: CloudGamesNamespacesValidateGameNamespaceRequest: properties: display_name: - description: Represent a resource's readable display name. - type: string + $ref: '#/components/schemas/DisplayName' name_id: description: A human readable short identifier used to references resources. Different than a `rivet.common#Uuid` because this is intended to be human @@ -1339,15 +1314,14 @@ components: CloudGamesReserveVersionNameResponse: properties: version_display_name: - type: string + $ref: '#/components/schemas/DisplayName' required: - version_display_name type: object CloudGamesValidateGameRequest: properties: display_name: - description: Represent a resource's readable display name. - type: string + $ref: '#/components/schemas/DisplayName' name_id: description: '**Deprecated** @@ -1374,8 +1348,7 @@ components: config: $ref: '#/components/schemas/CloudVersionConfig' display_name: - description: Represent a resource's readable display name. - type: string + $ref: '#/components/schemas/DisplayName' required: - display_name - config @@ -1441,9 +1414,7 @@ components: description: Analytical information about a lobby. properties: create_ts: - description: RFC3339 timestamp. - format: date-time - type: string + $ref: '#/components/schemas/Timestamp' is_closed: description: Whether or not this lobby is in a closed state. type: boolean @@ -1522,8 +1493,7 @@ components: description: Whether or not the lobby failed or stopped successfully. type: boolean stop_ts: - format: date-time - type: string + $ref: '#/components/schemas/Timestamp' required: - stop_ts - failed @@ -1533,9 +1503,7 @@ components: description: A logs summary for a lobby. properties: create_ts: - description: RFC3339 timestamp. - format: date-time - type: string + $ref: '#/components/schemas/Timestamp' lobby_group_name_id: description: A human readable short identifier used to references resources. Different than a `rivet.common#Uuid` because this is intended to be human @@ -1549,16 +1517,12 @@ components: format: uuid type: string ready_ts: - description: RFC3339 timestamp. - format: date-time - type: string + $ref: '#/components/schemas/Timestamp' region_id: format: uuid type: string start_ts: - description: RFC3339 timestamp. - format: date-time - type: string + $ref: '#/components/schemas/Timestamp' status: $ref: '#/components/schemas/CloudLogsLobbyStatus' required: @@ -1582,9 +1546,7 @@ components: format: uuid type: string ts: - description: RFC3339 timestamp. - format: date-time - type: string + $ref: '#/components/schemas/Timestamp' required: - label - ts @@ -1593,9 +1555,7 @@ components: description: A performance span. properties: finish_ts: - description: RFC3339 timestamp. - format: date-time - type: string + $ref: '#/components/schemas/Timestamp' label: description: The label given to this performance span. type: string @@ -1603,9 +1563,7 @@ components: format: uuid type: string start_ts: - description: RFC3339 timestamp. - format: date-time - type: string + $ref: '#/components/schemas/Timestamp' required: - label - start_ts @@ -1674,12 +1632,9 @@ components: config: $ref: '#/components/schemas/CloudNamespaceConfig' create_ts: - description: RFC3339 timestamp. - format: date-time - type: string + $ref: '#/components/schemas/Timestamp' display_name: - description: Represent a resource's readable display name. - type: string + $ref: '#/components/schemas/DisplayName' name_id: description: A human readable short identifier used to references resources. Different than a `rivet.common#Uuid` because this is intended to be human @@ -1704,12 +1659,9 @@ components: description: A namespace summary. properties: create_ts: - description: RFC3339 timestamp. - format: date-time - type: string + $ref: '#/components/schemas/Timestamp' display_name: - description: Represent a resource's readable display name. - type: string + $ref: '#/components/schemas/DisplayName' name_id: description: A human readable short identifier used to references resources. Different than a `rivet.common#Uuid` because this is intended to be human @@ -1733,9 +1685,7 @@ components: description: A previously deployed namespace version. properties: deploy_ts: - description: RFC3339 timestamp. - format: date-time - type: string + $ref: '#/components/schemas/Timestamp' namespace_id: description: A universally unique identifier. type: string @@ -1754,11 +1704,9 @@ components: description: The server provider of this region. type: string provider_display_name: - description: Represent a resource's readable display name. - type: string + $ref: '#/components/schemas/DisplayName' region_display_name: - description: Represent a resource's readable display name. - type: string + $ref: '#/components/schemas/DisplayName' region_id: format: uuid type: string @@ -1960,8 +1908,7 @@ components: CloudValidateGroupRequest: properties: display_name: - description: Represent a resource's readable display name. - type: string + $ref: '#/components/schemas/DisplayName' required: - display_name type: object @@ -2107,12 +2054,9 @@ components: config: $ref: '#/components/schemas/CloudVersionConfig' create_ts: - description: RFC3339 timestamp. - format: date-time - type: string + $ref: '#/components/schemas/Timestamp' display_name: - description: Represent a resource's readable display name. - type: string + $ref: '#/components/schemas/DisplayName' version_id: format: uuid type: string @@ -2160,7 +2104,7 @@ components: CloudVersionIdentityCustomDisplayName: properties: display_name: - type: string + $ref: '#/components/schemas/DisplayName' required: - display_name type: object @@ -2675,12 +2619,9 @@ components: description: A version summary. properties: create_ts: - description: RFC3339 timestamp. - format: date-time - type: string + $ref: '#/components/schemas/Timestamp' display_name: - description: Represent a resource's readable display name. - type: string + $ref: '#/components/schemas/DisplayName' version_id: format: uuid type: string @@ -2690,6 +2631,7 @@ components: - display_name type: object DisplayName: + description: Represent a resource's readable display name. type: string Email: description: A valid email address @@ -2737,8 +2679,7 @@ components: description: A game leaderboard category. properties: display_name: - description: Represent a resource's readable display name. - type: string + $ref: '#/components/schemas/DisplayName' required: - display_name type: object @@ -2746,8 +2687,7 @@ components: description: A platform link denoting a supported platform. properties: display_name: - description: Represent a resource's readable display name. - type: string + $ref: '#/components/schemas/DisplayName' url: description: The URL to the given game's method of distribution on this platform. @@ -2768,8 +2708,7 @@ components: developer: $ref: '#/components/schemas/GroupSummary' display_name: - description: Represent a resource's readable display name. - type: string + $ref: '#/components/schemas/DisplayName' game_id: format: uuid type: string @@ -2994,9 +2933,7 @@ components: description: A banned identity. properties: ban_ts: - description: RFC3339 timestamp. - format: date-time - type: string + $ref: '#/components/schemas/Timestamp' identity: $ref: '#/components/schemas/IdentityHandle' required: @@ -3032,8 +2969,7 @@ components: GroupCreateRequest: properties: display_name: - description: Represent a resource's readable display name. - type: string + $ref: '#/components/schemas/DisplayName' required: - display_name type: object @@ -3218,8 +3154,7 @@ components: description: Detailed information about a profile. type: string display_name: - description: Represent a resource's readable display name. - type: string + $ref: '#/components/schemas/DisplayName' external: $ref: '#/components/schemas/GroupExternalLinks' group_id: @@ -3342,19 +3277,16 @@ components: description: Detailed information about a profile. type: string display_name: - description: Represent a resource's readable display name. - type: string + $ref: '#/components/schemas/DisplayName' publicity: $ref: '#/components/schemas/GroupPublicity' type: object GroupValidateProfileRequest: properties: bio: - description: Detailed information about a profile. - type: string + $ref: '#/components/schemas/DisplayName' display_name: - description: Represent a resource's readable display name. - type: string + $ref: '#/components/schemas/DisplayName' publicity: $ref: '#/components/schemas/GroupPublicity' type: object @@ -3453,8 +3385,7 @@ components: identity_token: $ref: '#/components/schemas/Jwt' identity_token_expire_ts: - format: date-time - type: string + $ref: '#/components/schemas/Timestamp' required: - identity_token - identity_token_expire_ts @@ -3764,8 +3695,7 @@ components: IdentityPrepareGameLinkResponse: properties: expire_ts: - format: date-time - type: string + $ref: '#/components/schemas/Timestamp' identity_link_token: description: Pass this to `GetGameLink` to get the linking status. Valid for 15 minutes. @@ -3786,8 +3716,7 @@ components: status: $ref: '#/components/schemas/IdentityStatus' update_ts: - format: date-time - type: string + $ref: '#/components/schemas/Timestamp' required: - update_ts - status @@ -3852,8 +3781,7 @@ components: description: Whether or not this identity is registered with a linked account. type: boolean join_ts: - format: date-time - type: string + $ref: '#/components/schemas/Timestamp' linked_accounts: items: $ref: '#/components/schemas/IdentityLinkedAccount' @@ -3922,10 +3850,7 @@ components: If this token is compromised, anyone with access to this token has control of the identity.' identity_token_expire_ts: - description: If this token is compromised, anyone with access to this token - has control of the identity. - format: date-time - type: string + $ref: '#/components/schemas/Timestamp' required: - identity_token - identity_token_expire_ts @@ -4348,9 +4273,9 @@ components: datacenter_distance_from_client: $ref: '#/components/schemas/GeoDistance' provider_display_name: - type: string + $ref: '#/components/schemas/DisplayName' region_display_name: - type: string + $ref: '#/components/schemas/DisplayName' region_id: $ref: '#/components/schemas/Identifier' required: @@ -4368,12 +4293,6 @@ components: required: - player_count type: object - ModuleCallResponse: - properties: - data: {} - required: - - data - type: object PortalGetGameProfileResponse: properties: game: @@ -7244,8 +7163,7 @@ paths: name: before_create_ts required: false schema: - format: date-time - type: string + $ref: '#/components/schemas/Timestamp' responses: '200': content: @@ -13047,85 +12965,6 @@ paths: security: *id001 tags: - MatchmakerRegions - /module/modules/{module}/scripts/{script}/call: - post: - description: Makes a request to a module's script. - operationId: module_call - parameters: - - in: path - name: module - required: true - schema: - type: string - - in: path - name: script - required: true - schema: - type: string - - in: header - name: origin - required: false - schema: - type: string - requestBody: - content: - application/json: - schema: - properties: - data: {} - namespace_id: - format: uuid - type: string - required: - - data - type: object - required: true - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/ModuleCallResponse' - description: '' - '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorBody' - description: '' - '403': - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorBody' - description: '' - '404': - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorBody' - description: '' - '408': - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorBody' - description: '' - '429': - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorBody' - description: '' - '500': - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorBody' - description: '' - security: *id001 - tags: - - Module /portal/games/{game_name_id}/profile: get: description: Returns a game profile. diff --git a/sdks/full/rust-cli/.openapi-generator/FILES b/sdks/full/rust-cli/.openapi-generator/FILES index 0f27fd894c..bd80d4e913 100644 --- a/sdks/full/rust-cli/.openapi-generator/FILES +++ b/sdks/full/rust-cli/.openapi-generator/FILES @@ -332,9 +332,6 @@ docs/MatchmakerPlayersConnectedRequest.md docs/MatchmakerRegionInfo.md docs/MatchmakerRegionStatistics.md docs/MatchmakerRegionsApi.md -docs/ModuleApi.md -docs/ModuleCallRequest.md -docs/ModuleCallResponse.md docs/PortalGamesApi.md docs/PortalGetGameProfileResponse.md docs/PortalGetSuggestedGamesResponse.md @@ -387,7 +384,6 @@ src/apis/matchmaker_lobbies_api.rs src/apis/matchmaker_players_api.rs src/apis/matchmaker_regions_api.rs src/apis/mod.rs -src/apis/module_api.rs src/apis/portal_games_api.rs src/apis/provision_datacenters_api.rs src/apis/provision_servers_api.rs @@ -687,8 +683,6 @@ src/models/matchmaker_players_connected_request.rs src/models/matchmaker_region_info.rs src/models/matchmaker_region_statistics.rs src/models/mod.rs -src/models/module_call_request.rs -src/models/module_call_response.rs src/models/portal_get_game_profile_response.rs src/models/portal_get_suggested_games_response.rs src/models/portal_notification_register_firebase_service.rs diff --git a/sdks/full/rust-cli/README.md b/sdks/full/rust-cli/README.md index 9da43dcc47..669d03b88d 100644 --- a/sdks/full/rust-cli/README.md +++ b/sdks/full/rust-cli/README.md @@ -162,7 +162,6 @@ Class | Method | HTTP request | Description *MatchmakerPlayersApi* | [**matchmaker_players_disconnected**](docs/MatchmakerPlayersApi.md#matchmaker_players_disconnected) | **POST** /matchmaker/players/disconnected | *MatchmakerPlayersApi* | [**matchmaker_players_get_statistics**](docs/MatchmakerPlayersApi.md#matchmaker_players_get_statistics) | **GET** /matchmaker/players/statistics | *MatchmakerRegionsApi* | [**matchmaker_regions_list**](docs/MatchmakerRegionsApi.md#matchmaker_regions_list) | **GET** /matchmaker/regions | -*ModuleApi* | [**module_call**](docs/ModuleApi.md#module_call) | **POST** /module/modules/{module}/scripts/{script}/call | *PortalGamesApi* | [**portal_games_get_game_profile**](docs/PortalGamesApi.md#portal_games_get_game_profile) | **GET** /portal/games/{game_name_id}/profile | *ProvisionDatacentersApi* | [**provision_datacenters_get_tls**](docs/ProvisionDatacentersApi.md#provision_datacenters_get_tls) | **GET** /datacenters/{datacenter_id}/tls | *ProvisionServersApi* | [**provision_servers_get_info**](docs/ProvisionServersApi.md#provision_servers_get_info) | **GET** /servers/{ip} | @@ -464,8 +463,6 @@ Class | Method | HTTP request | Description - [MatchmakerPlayersConnectedRequest](docs/MatchmakerPlayersConnectedRequest.md) - [MatchmakerRegionInfo](docs/MatchmakerRegionInfo.md) - [MatchmakerRegionStatistics](docs/MatchmakerRegionStatistics.md) - - [ModuleCallRequest](docs/ModuleCallRequest.md) - - [ModuleCallResponse](docs/ModuleCallResponse.md) - [PortalGetGameProfileResponse](docs/PortalGetGameProfileResponse.md) - [PortalGetSuggestedGamesResponse](docs/PortalGetSuggestedGamesResponse.md) - [PortalNotificationRegisterFirebaseService](docs/PortalNotificationRegisterFirebaseService.md) diff --git a/sdks/full/rust-cli/docs/CloudBuildSummary.md b/sdks/full/rust-cli/docs/CloudBuildSummary.md index 9764da74fb..6d91dd4ead 100644 --- a/sdks/full/rust-cli/docs/CloudBuildSummary.md +++ b/sdks/full/rust-cli/docs/CloudBuildSummary.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **build_id** | [**uuid::Uuid**](uuid::Uuid.md) | | **complete** | **bool** | Whether or not this build has completely been uploaded. | **content_length** | **i64** | Unsigned 64 bit integer. | -**create_ts** | **String** | RFC3339 timestamp. | +**create_ts** | **String** | RFC3339 timestamp | **display_name** | **String** | Represent a resource's readable display name. | **upload_id** | [**uuid::Uuid**](uuid::Uuid.md) | | diff --git a/sdks/full/rust-cli/docs/CloudCdnNamespaceDomain.md b/sdks/full/rust-cli/docs/CloudCdnNamespaceDomain.md index 633b26290d..af93fcc7d6 100644 --- a/sdks/full/rust-cli/docs/CloudCdnNamespaceDomain.md +++ b/sdks/full/rust-cli/docs/CloudCdnNamespaceDomain.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**create_ts** | **String** | RFC3339 timestamp. | +**create_ts** | **String** | RFC3339 timestamp | **domain** | **String** | A valid domain name (no protocol). | **verification_errors** | **Vec** | | **verification_method** | [**crate::models::CloudCdnNamespaceDomainVerificationMethod**](CloudCdnNamespaceDomainVerificationMethod.md) | | diff --git a/sdks/full/rust-cli/docs/CloudCdnSiteSummary.md b/sdks/full/rust-cli/docs/CloudCdnSiteSummary.md index f2e5d6ae5b..8292f21f3f 100644 --- a/sdks/full/rust-cli/docs/CloudCdnSiteSummary.md +++ b/sdks/full/rust-cli/docs/CloudCdnSiteSummary.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **complete** | **bool** | Whether or not this site has completely been uploaded. | **content_length** | **i64** | Unsigned 64 bit integer. | -**create_ts** | **String** | RFC3339 timestamp. | +**create_ts** | **String** | RFC3339 timestamp | **display_name** | **String** | Represent a resource's readable display name. | **site_id** | [**uuid::Uuid**](uuid::Uuid.md) | | **upload_id** | [**uuid::Uuid**](uuid::Uuid.md) | | diff --git a/sdks/full/rust-cli/docs/CloudCustomAvatarSummary.md b/sdks/full/rust-cli/docs/CloudCustomAvatarSummary.md index 15b33715a2..ce06bd3020 100644 --- a/sdks/full/rust-cli/docs/CloudCustomAvatarSummary.md +++ b/sdks/full/rust-cli/docs/CloudCustomAvatarSummary.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **complete** | **bool** | Whether or not this custom avatar has completely been uploaded. | **content_length** | **i64** | Unsigned 64 bit integer. | -**create_ts** | **String** | RFC3339 timestamp. | +**create_ts** | **String** | RFC3339 timestamp | **display_name** | **String** | Represent a resource's readable display name. | **upload_id** | [**uuid::Uuid**](uuid::Uuid.md) | | **url** | Option<**String**> | The URL of this custom avatar image. Only present if upload is complete. | [optional] diff --git a/sdks/full/rust-cli/docs/CloudGameFull.md b/sdks/full/rust-cli/docs/CloudGameFull.md index 738e534e33..dd4d876bc8 100644 --- a/sdks/full/rust-cli/docs/CloudGameFull.md +++ b/sdks/full/rust-cli/docs/CloudGameFull.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **available_regions** | [**Vec**](CloudRegionSummary.md) | A list of region summaries. | **banner_url** | Option<**String**> | The URL of this game's banner image. | [optional] -**create_ts** | **String** | RFC3339 timestamp. | +**create_ts** | **String** | RFC3339 timestamp | **developer_group_id** | [**uuid::Uuid**](uuid::Uuid.md) | | **display_name** | **String** | Represent a resource's readable display name. | **game_id** | [**uuid::Uuid**](uuid::Uuid.md) | | diff --git a/sdks/full/rust-cli/docs/CloudGamesCreateGameRequest.md b/sdks/full/rust-cli/docs/CloudGamesCreateGameRequest.md index 3e20f9dc67..7fda60818d 100644 --- a/sdks/full/rust-cli/docs/CloudGamesCreateGameRequest.md +++ b/sdks/full/rust-cli/docs/CloudGamesCreateGameRequest.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **developer_group_id** | [**uuid::Uuid**](uuid::Uuid.md) | | **display_name** | **String** | Represent a resource's readable display name. | -**name_id** | Option<**String**> | **Deprecated** A human readable short identifier used to references resources. Different than a `rivet.common#Uuid` because this is intended to be human readable. Different than `rivet.common#DisplayName` because this should not include special characters and be short. | [optional] +**name_id** | Option<**String**> | A human readable short identifier used to references resources. Different than a `uuid` because this is intended to be human readable. Different than `DisplayName` because this should not include special characters and be short. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/full/rust-cli/docs/CloudGamesReserveVersionNameResponse.md b/sdks/full/rust-cli/docs/CloudGamesReserveVersionNameResponse.md index 6a7a09da19..616b45e50f 100644 --- a/sdks/full/rust-cli/docs/CloudGamesReserveVersionNameResponse.md +++ b/sdks/full/rust-cli/docs/CloudGamesReserveVersionNameResponse.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**version_display_name** | **String** | | +**version_display_name** | **String** | Represent a resource's readable display name. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/full/rust-cli/docs/CloudLobbySummaryAnalytics.md b/sdks/full/rust-cli/docs/CloudLobbySummaryAnalytics.md index 6b642a72e4..168dfed374 100644 --- a/sdks/full/rust-cli/docs/CloudLobbySummaryAnalytics.md +++ b/sdks/full/rust-cli/docs/CloudLobbySummaryAnalytics.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**create_ts** | **String** | RFC3339 timestamp. | +**create_ts** | **String** | RFC3339 timestamp | **is_closed** | **bool** | Whether or not this lobby is in a closed state. | **is_idle** | **bool** | Whether or not this lobby is idle. | **is_outdated** | **bool** | Whether or not this lobby is outdated. | diff --git a/sdks/full/rust-cli/docs/CloudLogsLobbyStatusStopped.md b/sdks/full/rust-cli/docs/CloudLogsLobbyStatusStopped.md index 88cfecbec9..7a39226e29 100644 --- a/sdks/full/rust-cli/docs/CloudLogsLobbyStatusStopped.md +++ b/sdks/full/rust-cli/docs/CloudLogsLobbyStatusStopped.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **exit_code** | **i32** | The exit code returned by the lobby's main process when stopped. | **failed** | **bool** | Whether or not the lobby failed or stopped successfully. | -**stop_ts** | **String** | | +**stop_ts** | **String** | RFC3339 timestamp | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/full/rust-cli/docs/CloudLogsLobbySummary.md b/sdks/full/rust-cli/docs/CloudLogsLobbySummary.md index f28c30172a..b228893602 100644 --- a/sdks/full/rust-cli/docs/CloudLogsLobbySummary.md +++ b/sdks/full/rust-cli/docs/CloudLogsLobbySummary.md @@ -4,13 +4,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**create_ts** | **String** | RFC3339 timestamp. | +**create_ts** | **String** | RFC3339 timestamp | **lobby_group_name_id** | **String** | A human readable short identifier used to references resources. Different than a `rivet.common#Uuid` because this is intended to be human readable. Different than `rivet.common#DisplayName` because this should not include special characters and be short. | **lobby_id** | [**uuid::Uuid**](uuid::Uuid.md) | | **namespace_id** | [**uuid::Uuid**](uuid::Uuid.md) | | -**ready_ts** | Option<**String**> | RFC3339 timestamp. | [optional] +**ready_ts** | Option<**String**> | RFC3339 timestamp | [optional] **region_id** | [**uuid::Uuid**](uuid::Uuid.md) | | -**start_ts** | Option<**String**> | RFC3339 timestamp. | [optional] +**start_ts** | Option<**String**> | RFC3339 timestamp | [optional] **status** | [**crate::models::CloudLogsLobbyStatus**](CloudLogsLobbyStatus.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/full/rust-cli/docs/CloudLogsPerfMark.md b/sdks/full/rust-cli/docs/CloudLogsPerfMark.md index 5ea917b70a..d2f018666d 100644 --- a/sdks/full/rust-cli/docs/CloudLogsPerfMark.md +++ b/sdks/full/rust-cli/docs/CloudLogsPerfMark.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **label** | **String** | The label given to this performance mark. | **ray_id** | Option<[**uuid::Uuid**](uuid::Uuid.md)> | | [optional] **req_id** | Option<[**uuid::Uuid**](uuid::Uuid.md)> | | [optional] -**ts** | **String** | RFC3339 timestamp. | +**ts** | **String** | RFC3339 timestamp | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/full/rust-cli/docs/CloudLogsPerfSpan.md b/sdks/full/rust-cli/docs/CloudLogsPerfSpan.md index 53ee880473..2772228a19 100644 --- a/sdks/full/rust-cli/docs/CloudLogsPerfSpan.md +++ b/sdks/full/rust-cli/docs/CloudLogsPerfSpan.md @@ -4,10 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**finish_ts** | Option<**String**> | RFC3339 timestamp. | [optional] +**finish_ts** | Option<**String**> | RFC3339 timestamp | [optional] **label** | **String** | The label given to this performance span. | **req_id** | Option<[**uuid::Uuid**](uuid::Uuid.md)> | | [optional] -**start_ts** | **String** | RFC3339 timestamp. | +**start_ts** | **String** | RFC3339 timestamp | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/full/rust-cli/docs/CloudNamespaceFull.md b/sdks/full/rust-cli/docs/CloudNamespaceFull.md index 8bd13301c9..8a62def44a 100644 --- a/sdks/full/rust-cli/docs/CloudNamespaceFull.md +++ b/sdks/full/rust-cli/docs/CloudNamespaceFull.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **config** | [**crate::models::CloudNamespaceConfig**](CloudNamespaceConfig.md) | | -**create_ts** | **String** | RFC3339 timestamp. | +**create_ts** | **String** | RFC3339 timestamp | **display_name** | **String** | Represent a resource's readable display name. | **name_id** | **String** | A human readable short identifier used to references resources. Different than a `rivet.common#Uuid` because this is intended to be human readable. Different than `rivet.common#DisplayName` because this should not include special characters and be short. | **namespace_id** | [**uuid::Uuid**](uuid::Uuid.md) | | diff --git a/sdks/full/rust-cli/docs/CloudNamespaceSummary.md b/sdks/full/rust-cli/docs/CloudNamespaceSummary.md index 1dee4bf3f4..58bf40d498 100644 --- a/sdks/full/rust-cli/docs/CloudNamespaceSummary.md +++ b/sdks/full/rust-cli/docs/CloudNamespaceSummary.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**create_ts** | **String** | RFC3339 timestamp. | +**create_ts** | **String** | RFC3339 timestamp | **display_name** | **String** | Represent a resource's readable display name. | **name_id** | **String** | A human readable short identifier used to references resources. Different than a `rivet.common#Uuid` because this is intended to be human readable. Different than `rivet.common#DisplayName` because this should not include special characters and be short. | **namespace_id** | [**uuid::Uuid**](uuid::Uuid.md) | | diff --git a/sdks/full/rust-cli/docs/CloudNamespaceVersion.md b/sdks/full/rust-cli/docs/CloudNamespaceVersion.md index 55eb6829d5..2b9e1bfa00 100644 --- a/sdks/full/rust-cli/docs/CloudNamespaceVersion.md +++ b/sdks/full/rust-cli/docs/CloudNamespaceVersion.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**deploy_ts** | **String** | RFC3339 timestamp. | +**deploy_ts** | **String** | RFC3339 timestamp | **namespace_id** | **String** | A universally unique identifier. | **version_id** | **String** | A universally unique identifier. | diff --git a/sdks/full/rust-cli/docs/CloudVersionFull.md b/sdks/full/rust-cli/docs/CloudVersionFull.md index 03eb62bc06..2368ab6f29 100644 --- a/sdks/full/rust-cli/docs/CloudVersionFull.md +++ b/sdks/full/rust-cli/docs/CloudVersionFull.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **config** | [**crate::models::CloudVersionConfig**](CloudVersionConfig.md) | | -**create_ts** | **String** | RFC3339 timestamp. | +**create_ts** | **String** | RFC3339 timestamp | **display_name** | **String** | Represent a resource's readable display name. | **version_id** | [**uuid::Uuid**](uuid::Uuid.md) | | diff --git a/sdks/full/rust-cli/docs/CloudVersionIdentityCustomDisplayName.md b/sdks/full/rust-cli/docs/CloudVersionIdentityCustomDisplayName.md index 7eb7947a19..e31747bb8f 100644 --- a/sdks/full/rust-cli/docs/CloudVersionIdentityCustomDisplayName.md +++ b/sdks/full/rust-cli/docs/CloudVersionIdentityCustomDisplayName.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**display_name** | **String** | | +**display_name** | **String** | Represent a resource's readable display name. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/full/rust-cli/docs/CloudVersionSummary.md b/sdks/full/rust-cli/docs/CloudVersionSummary.md index 1d9cb4f256..820cd4b7cb 100644 --- a/sdks/full/rust-cli/docs/CloudVersionSummary.md +++ b/sdks/full/rust-cli/docs/CloudVersionSummary.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**create_ts** | **String** | RFC3339 timestamp. | +**create_ts** | **String** | RFC3339 timestamp | **display_name** | **String** | Represent a resource's readable display name. | **version_id** | [**uuid::Uuid**](uuid::Uuid.md) | | diff --git a/sdks/full/rust-cli/docs/GameHandle.md b/sdks/full/rust-cli/docs/GameHandle.md index f24739c715..21d5ab9809 100644 --- a/sdks/full/rust-cli/docs/GameHandle.md +++ b/sdks/full/rust-cli/docs/GameHandle.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **banner_url** | Option<**String**> | The URL of this game's banner image. | [optional] -**display_name** | **String** | | +**display_name** | **String** | Represent a resource's readable display name. | **game_id** | [**uuid::Uuid**](uuid::Uuid.md) | | **logo_url** | Option<**String**> | The URL of this game's logo image. | [optional] **name_id** | **String** | A human readable short identifier used to references resources. Different than a `uuid` because this is intended to be human readable. Different than `DisplayName` because this should not include special characters and be short. | diff --git a/sdks/full/rust-cli/docs/GameStatConfig.md b/sdks/full/rust-cli/docs/GameStatConfig.md index d43256a342..f11e6ea9ee 100644 --- a/sdks/full/rust-cli/docs/GameStatConfig.md +++ b/sdks/full/rust-cli/docs/GameStatConfig.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **aggregation** | [**crate::models::GameStatAggregationMethod**](GameStatAggregationMethod.md) | | -**display_name** | **String** | | +**display_name** | **String** | Represent a resource's readable display name. | **format** | [**crate::models::GameStatFormatMethod**](GameStatFormatMethod.md) | | **icon_id** | [**uuid::Uuid**](uuid::Uuid.md) | | **postfix_plural** | Option<**String**> | A string appended to the end of a game statistic's value that is not exactly 1. Example: 45 **dollars**. | [optional] diff --git a/sdks/full/rust-cli/docs/GameSummary.md b/sdks/full/rust-cli/docs/GameSummary.md index f8c6e314f0..5d421cb8f5 100644 --- a/sdks/full/rust-cli/docs/GameSummary.md +++ b/sdks/full/rust-cli/docs/GameSummary.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **banner_url** | Option<**String**> | The URL of this game's banner image. | [optional] **developer** | [**crate::models::GroupHandle**](GroupHandle.md) | | -**display_name** | **String** | | +**display_name** | **String** | Represent a resource's readable display name. | **game_id** | [**uuid::Uuid**](uuid::Uuid.md) | | **logo_url** | Option<**String**> | The URL of this game's logo image. | [optional] **name_id** | **String** | A human readable short identifier used to references resources. Different than a `uuid` because this is intended to be human readable. Different than `DisplayName` because this should not include special characters and be short. | diff --git a/sdks/full/rust-cli/docs/GroupBannedIdentity.md b/sdks/full/rust-cli/docs/GroupBannedIdentity.md index 04e5aa227d..cd6aadff02 100644 --- a/sdks/full/rust-cli/docs/GroupBannedIdentity.md +++ b/sdks/full/rust-cli/docs/GroupBannedIdentity.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ban_ts** | **String** | RFC3339 timestamp. | +**ban_ts** | **String** | RFC3339 timestamp | **identity** | [**crate::models::IdentityHandle**](IdentityHandle.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/full/rust-cli/docs/GroupHandle.md b/sdks/full/rust-cli/docs/GroupHandle.md index 707ce84214..9eb1e35c46 100644 --- a/sdks/full/rust-cli/docs/GroupHandle.md +++ b/sdks/full/rust-cli/docs/GroupHandle.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **avatar_url** | Option<**String**> | The URL of this group's avatar image | [optional] -**display_name** | **String** | | +**display_name** | **String** | Represent a resource's readable display name. | **external** | [**crate::models::GroupExternalLinks**](GroupExternalLinks.md) | | **group_id** | [**uuid::Uuid**](uuid::Uuid.md) | | **is_developer** | Option<**bool**> | Whether or not this group is a developer group. | [optional] diff --git a/sdks/full/rust-cli/docs/GroupSummary.md b/sdks/full/rust-cli/docs/GroupSummary.md index dc7a00eda4..9905aaf838 100644 --- a/sdks/full/rust-cli/docs/GroupSummary.md +++ b/sdks/full/rust-cli/docs/GroupSummary.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **avatar_url** | Option<**String**> | The URL of this group's avatar image. | [optional] **bio** | **String** | Follows regex ^(?:[^\\n\\r]+\\n?|\\n){1,5}$ | -**display_name** | **String** | | +**display_name** | **String** | Represent a resource's readable display name. | **external** | [**crate::models::GroupExternalLinks**](GroupExternalLinks.md) | | **group_id** | [**uuid::Uuid**](uuid::Uuid.md) | | **is_current_identity_member** | **bool** | Whether or not the current identity is a member of this group. | diff --git a/sdks/full/rust-cli/docs/GroupValidateProfileRequest.md b/sdks/full/rust-cli/docs/GroupValidateProfileRequest.md index c45411d36f..ee83335004 100644 --- a/sdks/full/rust-cli/docs/GroupValidateProfileRequest.md +++ b/sdks/full/rust-cli/docs/GroupValidateProfileRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**bio** | Option<**String**> | Detailed information about a profile. | [optional] +**bio** | Option<**String**> | Represent a resource's readable display name. | [optional] **display_name** | Option<**String**> | Represent a resource's readable display name. | [optional] **publicity** | Option<[**crate::models::GroupPublicity**](GroupPublicity.md)> | | [optional] diff --git a/sdks/full/rust-cli/docs/IdentityGetGameLinkNewIdentity.md b/sdks/full/rust-cli/docs/IdentityGetGameLinkNewIdentity.md index 0bfc47ce30..ca35a6612d 100644 --- a/sdks/full/rust-cli/docs/IdentityGetGameLinkNewIdentity.md +++ b/sdks/full/rust-cli/docs/IdentityGetGameLinkNewIdentity.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **identity** | [**crate::models::IdentityProfile**](IdentityProfile.md) | | **identity_token** | **String** | Documentation at https://jwt.io/ | -**identity_token_expire_ts** | **String** | | +**identity_token_expire_ts** | **String** | RFC3339 timestamp | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/full/rust-cli/docs/IdentityHandle.md b/sdks/full/rust-cli/docs/IdentityHandle.md index 5200931129..629764404f 100644 --- a/sdks/full/rust-cli/docs/IdentityHandle.md +++ b/sdks/full/rust-cli/docs/IdentityHandle.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **account_number** | **i32** | | **avatar_url** | **String** | The URL of this identity's avatar image. | -**display_name** | **String** | | +**display_name** | **String** | Represent a resource's readable display name. | **external** | [**crate::models::IdentityExternalLinks**](IdentityExternalLinks.md) | | **identity_id** | [**uuid::Uuid**](uuid::Uuid.md) | | **is_registered** | **bool** | Whether or not this identity is registered with a linked account. | diff --git a/sdks/full/rust-cli/docs/IdentityPrepareGameLinkResponse.md b/sdks/full/rust-cli/docs/IdentityPrepareGameLinkResponse.md index 630dbca241..dc6cd813f4 100644 --- a/sdks/full/rust-cli/docs/IdentityPrepareGameLinkResponse.md +++ b/sdks/full/rust-cli/docs/IdentityPrepareGameLinkResponse.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**expire_ts** | **String** | | +**expire_ts** | **String** | RFC3339 timestamp | **identity_link_token** | **String** | Pass this to `GetGameLink` to get the linking status. Valid for 15 minutes. | **identity_link_url** | **String** | | diff --git a/sdks/full/rust-cli/docs/IdentityPresence.md b/sdks/full/rust-cli/docs/IdentityPresence.md index 08b85cb00a..66a71fd89e 100644 --- a/sdks/full/rust-cli/docs/IdentityPresence.md +++ b/sdks/full/rust-cli/docs/IdentityPresence.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **game_activity** | Option<[**crate::models::IdentityGameActivity**](IdentityGameActivity.md)> | | [optional] **status** | [**crate::models::IdentityStatus**](IdentityStatus.md) | | -**update_ts** | **String** | | +**update_ts** | **String** | RFC3339 timestamp | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/full/rust-cli/docs/IdentityProfile.md b/sdks/full/rust-cli/docs/IdentityProfile.md index 37ccb7c5bd..9c79c1ee4d 100644 --- a/sdks/full/rust-cli/docs/IdentityProfile.md +++ b/sdks/full/rust-cli/docs/IdentityProfile.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **awaiting_deletion** | Option<**bool**> | Whether or not this identity is awaiting account deletion. Only visible to when the requestee is this identity. | [optional] **bio** | **String** | Follows regex ^(?:[^\\n\\r]+\\n?|\\n){1,5}$ | **dev_state** | Option<[**crate::models::IdentityDevState**](IdentityDevState.md)> | | [optional] -**display_name** | **String** | | +**display_name** | **String** | Represent a resource's readable display name. | **external** | [**crate::models::IdentityExternalLinks**](IdentityExternalLinks.md) | | **follower_count** | **i64** | | **following** | **bool** | Whether or not the requestee's identity is following this identity. | @@ -22,7 +22,7 @@ Name | Type | Description | Notes **is_game_linked** | Option<**bool**> | Whether or not this game user has been linked through the Rivet dashboard. | [optional] **is_mutual_following** | **bool** | | **is_registered** | **bool** | Whether or not this identity is registered with a linked account. | -**join_ts** | **String** | | +**join_ts** | **String** | RFC3339 timestamp | **linked_accounts** | [**Vec**](IdentityLinkedAccount.md) | | **presence** | Option<[**crate::models::IdentityPresence**](IdentityPresence.md)> | | [optional] diff --git a/sdks/full/rust-cli/docs/IdentitySetupResponse.md b/sdks/full/rust-cli/docs/IdentitySetupResponse.md index 793a872c38..18f209b27b 100644 --- a/sdks/full/rust-cli/docs/IdentitySetupResponse.md +++ b/sdks/full/rust-cli/docs/IdentitySetupResponse.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **game_id** | [**uuid::Uuid**](uuid::Uuid.md) | | **identity** | [**crate::models::IdentityProfile**](IdentityProfile.md) | | **identity_token** | **String** | Documentation at https://jwt.io/ | -**identity_token_expire_ts** | **String** | If this token is compromised, anyone with access to this token has control of the identity. | +**identity_token_expire_ts** | **String** | RFC3339 timestamp | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/full/rust-cli/docs/IdentitySummary.md b/sdks/full/rust-cli/docs/IdentitySummary.md index c87975d5a6..8b956b7a4e 100644 --- a/sdks/full/rust-cli/docs/IdentitySummary.md +++ b/sdks/full/rust-cli/docs/IdentitySummary.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **account_number** | **i32** | | **avatar_url** | **String** | The URL of this identity's avatar image. | -**display_name** | **String** | | +**display_name** | **String** | Represent a resource's readable display name. | **external** | [**crate::models::IdentityExternalLinks**](IdentityExternalLinks.md) | | **following** | **bool** | Whether or not the requestee's identity is following this identity. | **identity_id** | [**uuid::Uuid**](uuid::Uuid.md) | | diff --git a/sdks/full/rust-cli/docs/IdentityUpdateProfileRequest.md b/sdks/full/rust-cli/docs/IdentityUpdateProfileRequest.md index 94d026ecc5..bf63d3e257 100644 --- a/sdks/full/rust-cli/docs/IdentityUpdateProfileRequest.md +++ b/sdks/full/rust-cli/docs/IdentityUpdateProfileRequest.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **account_number** | Option<**i32**> | | [optional] **bio** | Option<**String**> | Follows regex ^(?:[^\\n\\r]+\\n?|\\n){1,5}$ | [optional] -**display_name** | Option<**String**> | | [optional] +**display_name** | Option<**String**> | Represent a resource's readable display name. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/full/rust-cli/docs/MatchmakerJoinRegion.md b/sdks/full/rust-cli/docs/MatchmakerJoinRegion.md index 8efd1bfa09..0ba22c74ff 100644 --- a/sdks/full/rust-cli/docs/MatchmakerJoinRegion.md +++ b/sdks/full/rust-cli/docs/MatchmakerJoinRegion.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**display_name** | **String** | | +**display_name** | **String** | Represent a resource's readable display name. | **region_id** | **String** | A human readable short identifier used to references resources. Different than a `uuid` because this is intended to be human readable. Different than `DisplayName` because this should not include special characters and be short. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/full/rust-cli/docs/MatchmakerRegionInfo.md b/sdks/full/rust-cli/docs/MatchmakerRegionInfo.md index 8aab80146b..10a2ff6747 100644 --- a/sdks/full/rust-cli/docs/MatchmakerRegionInfo.md +++ b/sdks/full/rust-cli/docs/MatchmakerRegionInfo.md @@ -6,8 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **datacenter_coord** | [**crate::models::GeoCoord**](GeoCoord.md) | | **datacenter_distance_from_client** | [**crate::models::GeoDistance**](GeoDistance.md) | | -**provider_display_name** | **String** | | -**region_display_name** | **String** | | +**provider_display_name** | **String** | Represent a resource's readable display name. | +**region_display_name** | **String** | Represent a resource's readable display name. | **region_id** | **String** | A human readable short identifier used to references resources. Different than a `uuid` because this is intended to be human readable. Different than `DisplayName` because this should not include special characters and be short. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/full/rust-cli/docs/ModuleApi.md b/sdks/full/rust-cli/docs/ModuleApi.md deleted file mode 100644 index 000f72f0b7..0000000000 --- a/sdks/full/rust-cli/docs/ModuleApi.md +++ /dev/null @@ -1,42 +0,0 @@ -# \ModuleApi - -All URIs are relative to *https://api.rivet.gg* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**module_call**](ModuleApi.md#module_call) | **POST** /module/modules/{module}/scripts/{script}/call | - - - -## module_call - -> crate::models::ModuleCallResponse module_call(module, script, module_call_request, origin) - - -Makes a request to a module's script. - -### Parameters - - -Name | Type | Description | Required | Notes -------------- | ------------- | ------------- | ------------- | ------------- -**module** | **String** | | [required] | -**script** | **String** | | [required] | -**module_call_request** | [**ModuleCallRequest**](ModuleCallRequest.md) | | [required] | -**origin** | Option<**String**> | | | - -### Return type - -[**crate::models::ModuleCallResponse**](ModuleCallResponse.md) - -### Authorization - -[BearerAuth](../README.md#BearerAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/sdks/full/rust-cli/docs/ModuleCallRequest.md b/sdks/full/rust-cli/docs/ModuleCallRequest.md deleted file mode 100644 index 1dd7c8c4f9..0000000000 --- a/sdks/full/rust-cli/docs/ModuleCallRequest.md +++ /dev/null @@ -1,12 +0,0 @@ -# ModuleCallRequest - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | Option<[**serde_json::Value**](.md)> | | -**namespace_id** | Option<[**uuid::Uuid**](uuid::Uuid.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/full/rust-cli/docs/ModuleCallResponse.md b/sdks/full/rust-cli/docs/ModuleCallResponse.md deleted file mode 100644 index 5a8c9f9834..0000000000 --- a/sdks/full/rust-cli/docs/ModuleCallResponse.md +++ /dev/null @@ -1,11 +0,0 @@ -# ModuleCallResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | Option<[**serde_json::Value**](.md)> | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/full/rust-cli/src/apis/cloud_games_namespaces_logs_api.rs b/sdks/full/rust-cli/src/apis/cloud_games_namespaces_logs_api.rs index 43e8b17d20..ad0516e80f 100644 --- a/sdks/full/rust-cli/src/apis/cloud_games_namespaces_logs_api.rs +++ b/sdks/full/rust-cli/src/apis/cloud_games_namespaces_logs_api.rs @@ -74,7 +74,7 @@ pub async fn cloud_games_namespaces_logs_get_namespace_lobby(configuration: &con } /// Returns a list of lobbies for the given game namespace. -pub async fn cloud_games_namespaces_logs_list_namespace_lobbies(configuration: &configuration::Configuration, game_id: &str, namespace_id: &str, before_create_ts: Option) -> Result> { +pub async fn cloud_games_namespaces_logs_list_namespace_lobbies(configuration: &configuration::Configuration, game_id: &str, namespace_id: &str, before_create_ts: Option<&str>) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; diff --git a/sdks/full/rust-cli/src/apis/mod.rs b/sdks/full/rust-cli/src/apis/mod.rs index 0571431e19..f51157351a 100644 --- a/sdks/full/rust-cli/src/apis/mod.rs +++ b/sdks/full/rust-cli/src/apis/mod.rs @@ -125,7 +125,6 @@ pub mod kv_api; pub mod matchmaker_lobbies_api; pub mod matchmaker_players_api; pub mod matchmaker_regions_api; -pub mod module_api; pub mod portal_games_api; pub mod provision_datacenters_api; pub mod provision_servers_api; diff --git a/sdks/full/rust-cli/src/apis/module_api.rs b/sdks/full/rust-cli/src/apis/module_api.rs deleted file mode 100644 index 3b52315806..0000000000 --- a/sdks/full/rust-cli/src/apis/module_api.rs +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Rivet API - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.1 - * - * Generated by: https://openapi-generator.tech - */ - - -use reqwest; - -use crate::apis::ResponseContent; -use super::{Error, configuration}; - - -/// struct for typed errors of method [`module_call`] -#[derive(Debug, Clone, Serialize, Deserialize)] -#[serde(untagged)] -pub enum ModuleCallError { - Status400(crate::models::ErrorBody), - Status403(crate::models::ErrorBody), - Status404(crate::models::ErrorBody), - Status408(crate::models::ErrorBody), - Status429(crate::models::ErrorBody), - Status500(crate::models::ErrorBody), - UnknownValue(serde_json::Value), -} - - -/// Makes a request to a module's script. -pub async fn module_call(configuration: &configuration::Configuration, module: &str, script: &str, module_call_request: crate::models::ModuleCallRequest, origin: Option<&str>) -> Result> { - let local_var_configuration = configuration; - - let local_var_client = &local_var_configuration.client; - - let local_var_uri_str = format!("{}/module/modules/{module}/scripts/{script}/call", local_var_configuration.base_path, module=crate::apis::urlencode(module), script=crate::apis::urlencode(script)); - let mut local_var_req_builder = local_var_client.request(reqwest::Method::POST, local_var_uri_str.as_str()); - - if let Some(ref local_var_user_agent) = local_var_configuration.user_agent { - local_var_req_builder = local_var_req_builder.header(reqwest::header::USER_AGENT, local_var_user_agent.clone()); - } - if let Some(local_var_param_value) = origin { - local_var_req_builder = local_var_req_builder.header("origin", local_var_param_value.to_string()); - } - if let Some(ref local_var_token) = local_var_configuration.bearer_access_token { - local_var_req_builder = local_var_req_builder.bearer_auth(local_var_token.to_owned()); - }; - local_var_req_builder = local_var_req_builder.json(&module_call_request); - - let local_var_req = local_var_req_builder.build()?; - let local_var_resp = local_var_client.execute(local_var_req).await?; - - let local_var_status = local_var_resp.status(); - let local_var_content = local_var_resp.text().await?; - - if !local_var_status.is_client_error() && !local_var_status.is_server_error() { - serde_json::from_str(&local_var_content).map_err(Error::from) - } else { - let local_var_entity: Option = serde_json::from_str(&local_var_content).ok(); - let local_var_error = ResponseContent { status: local_var_status, content: local_var_content, entity: local_var_entity }; - Err(Error::ResponseError(local_var_error)) - } -} - diff --git a/sdks/full/rust-cli/src/models/cloud_build_summary.rs b/sdks/full/rust-cli/src/models/cloud_build_summary.rs index bf7b018438..e11928b5f4 100644 --- a/sdks/full/rust-cli/src/models/cloud_build_summary.rs +++ b/sdks/full/rust-cli/src/models/cloud_build_summary.rs @@ -22,7 +22,7 @@ pub struct CloudBuildSummary { /// Unsigned 64 bit integer. #[serde(rename = "content_length")] pub content_length: i64, - /// RFC3339 timestamp. + /// RFC3339 timestamp #[serde(rename = "create_ts")] pub create_ts: String, /// Represent a resource's readable display name. diff --git a/sdks/full/rust-cli/src/models/cloud_cdn_namespace_domain.rs b/sdks/full/rust-cli/src/models/cloud_cdn_namespace_domain.rs index e8a4456283..db81a282e7 100644 --- a/sdks/full/rust-cli/src/models/cloud_cdn_namespace_domain.rs +++ b/sdks/full/rust-cli/src/models/cloud_cdn_namespace_domain.rs @@ -14,7 +14,7 @@ #[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)] pub struct CloudCdnNamespaceDomain { - /// RFC3339 timestamp. + /// RFC3339 timestamp #[serde(rename = "create_ts")] pub create_ts: String, /// A valid domain name (no protocol). diff --git a/sdks/full/rust-cli/src/models/cloud_cdn_site_summary.rs b/sdks/full/rust-cli/src/models/cloud_cdn_site_summary.rs index 4a845816a9..15f0418c57 100644 --- a/sdks/full/rust-cli/src/models/cloud_cdn_site_summary.rs +++ b/sdks/full/rust-cli/src/models/cloud_cdn_site_summary.rs @@ -20,7 +20,7 @@ pub struct CloudCdnSiteSummary { /// Unsigned 64 bit integer. #[serde(rename = "content_length")] pub content_length: i64, - /// RFC3339 timestamp. + /// RFC3339 timestamp #[serde(rename = "create_ts")] pub create_ts: String, /// Represent a resource's readable display name. diff --git a/sdks/full/rust-cli/src/models/cloud_custom_avatar_summary.rs b/sdks/full/rust-cli/src/models/cloud_custom_avatar_summary.rs index 934a8e1ab2..e3716280da 100644 --- a/sdks/full/rust-cli/src/models/cloud_custom_avatar_summary.rs +++ b/sdks/full/rust-cli/src/models/cloud_custom_avatar_summary.rs @@ -20,7 +20,7 @@ pub struct CloudCustomAvatarSummary { /// Unsigned 64 bit integer. #[serde(rename = "content_length")] pub content_length: i64, - /// RFC3339 timestamp. + /// RFC3339 timestamp #[serde(rename = "create_ts")] pub create_ts: String, /// Represent a resource's readable display name. diff --git a/sdks/full/rust-cli/src/models/cloud_game_full.rs b/sdks/full/rust-cli/src/models/cloud_game_full.rs index 58b5c9fecc..a4ffd17835 100644 --- a/sdks/full/rust-cli/src/models/cloud_game_full.rs +++ b/sdks/full/rust-cli/src/models/cloud_game_full.rs @@ -20,7 +20,7 @@ pub struct CloudGameFull { /// The URL of this game's banner image. #[serde(rename = "banner_url", skip_serializing_if = "Option::is_none")] pub banner_url: Option, - /// RFC3339 timestamp. + /// RFC3339 timestamp #[serde(rename = "create_ts")] pub create_ts: String, #[serde(rename = "developer_group_id")] diff --git a/sdks/full/rust-cli/src/models/cloud_games_create_game_request.rs b/sdks/full/rust-cli/src/models/cloud_games_create_game_request.rs index bcbd19cc2f..e5fd44a582 100644 --- a/sdks/full/rust-cli/src/models/cloud_games_create_game_request.rs +++ b/sdks/full/rust-cli/src/models/cloud_games_create_game_request.rs @@ -18,7 +18,7 @@ pub struct CloudGamesCreateGameRequest { /// Represent a resource's readable display name. #[serde(rename = "display_name")] pub display_name: String, - /// **Deprecated** A human readable short identifier used to references resources. Different than a `rivet.common#Uuid` because this is intended to be human readable. Different than `rivet.common#DisplayName` because this should not include special characters and be short. + /// A human readable short identifier used to references resources. Different than a `uuid` because this is intended to be human readable. Different than `DisplayName` because this should not include special characters and be short. #[serde(rename = "name_id", skip_serializing_if = "Option::is_none")] pub name_id: Option, } diff --git a/sdks/full/rust-cli/src/models/cloud_games_reserve_version_name_response.rs b/sdks/full/rust-cli/src/models/cloud_games_reserve_version_name_response.rs index 326f45c0ff..1ca6b9fd43 100644 --- a/sdks/full/rust-cli/src/models/cloud_games_reserve_version_name_response.rs +++ b/sdks/full/rust-cli/src/models/cloud_games_reserve_version_name_response.rs @@ -13,6 +13,7 @@ #[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)] pub struct CloudGamesReserveVersionNameResponse { + /// Represent a resource's readable display name. #[serde(rename = "version_display_name")] pub version_display_name: String, } diff --git a/sdks/full/rust-cli/src/models/cloud_lobby_summary_analytics.rs b/sdks/full/rust-cli/src/models/cloud_lobby_summary_analytics.rs index 5124ba7155..e99c372fb3 100644 --- a/sdks/full/rust-cli/src/models/cloud_lobby_summary_analytics.rs +++ b/sdks/full/rust-cli/src/models/cloud_lobby_summary_analytics.rs @@ -14,7 +14,7 @@ #[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)] pub struct CloudLobbySummaryAnalytics { - /// RFC3339 timestamp. + /// RFC3339 timestamp #[serde(rename = "create_ts")] pub create_ts: String, /// Whether or not this lobby is in a closed state. diff --git a/sdks/full/rust-cli/src/models/cloud_logs_lobby_status_stopped.rs b/sdks/full/rust-cli/src/models/cloud_logs_lobby_status_stopped.rs index 041bd4d56f..c74fa79844 100644 --- a/sdks/full/rust-cli/src/models/cloud_logs_lobby_status_stopped.rs +++ b/sdks/full/rust-cli/src/models/cloud_logs_lobby_status_stopped.rs @@ -20,6 +20,7 @@ pub struct CloudLogsLobbyStatusStopped { /// Whether or not the lobby failed or stopped successfully. #[serde(rename = "failed")] pub failed: bool, + /// RFC3339 timestamp #[serde(rename = "stop_ts")] pub stop_ts: String, } diff --git a/sdks/full/rust-cli/src/models/cloud_logs_lobby_summary.rs b/sdks/full/rust-cli/src/models/cloud_logs_lobby_summary.rs index c5beb1be53..7f24f714de 100644 --- a/sdks/full/rust-cli/src/models/cloud_logs_lobby_summary.rs +++ b/sdks/full/rust-cli/src/models/cloud_logs_lobby_summary.rs @@ -14,7 +14,7 @@ #[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)] pub struct CloudLogsLobbySummary { - /// RFC3339 timestamp. + /// RFC3339 timestamp #[serde(rename = "create_ts")] pub create_ts: String, /// A human readable short identifier used to references resources. Different than a `rivet.common#Uuid` because this is intended to be human readable. Different than `rivet.common#DisplayName` because this should not include special characters and be short. @@ -24,12 +24,12 @@ pub struct CloudLogsLobbySummary { pub lobby_id: uuid::Uuid, #[serde(rename = "namespace_id")] pub namespace_id: uuid::Uuid, - /// RFC3339 timestamp. + /// RFC3339 timestamp #[serde(rename = "ready_ts", skip_serializing_if = "Option::is_none")] pub ready_ts: Option, #[serde(rename = "region_id")] pub region_id: uuid::Uuid, - /// RFC3339 timestamp. + /// RFC3339 timestamp #[serde(rename = "start_ts", skip_serializing_if = "Option::is_none")] pub start_ts: Option, #[serde(rename = "status")] diff --git a/sdks/full/rust-cli/src/models/cloud_logs_perf_mark.rs b/sdks/full/rust-cli/src/models/cloud_logs_perf_mark.rs index 9c910d5adf..7df6a121f9 100644 --- a/sdks/full/rust-cli/src/models/cloud_logs_perf_mark.rs +++ b/sdks/full/rust-cli/src/models/cloud_logs_perf_mark.rs @@ -21,7 +21,7 @@ pub struct CloudLogsPerfMark { pub ray_id: Option, #[serde(rename = "req_id", skip_serializing_if = "Option::is_none")] pub req_id: Option, - /// RFC3339 timestamp. + /// RFC3339 timestamp #[serde(rename = "ts")] pub ts: String, } diff --git a/sdks/full/rust-cli/src/models/cloud_logs_perf_span.rs b/sdks/full/rust-cli/src/models/cloud_logs_perf_span.rs index 3cb9623882..43429ba2c8 100644 --- a/sdks/full/rust-cli/src/models/cloud_logs_perf_span.rs +++ b/sdks/full/rust-cli/src/models/cloud_logs_perf_span.rs @@ -14,7 +14,7 @@ #[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)] pub struct CloudLogsPerfSpan { - /// RFC3339 timestamp. + /// RFC3339 timestamp #[serde(rename = "finish_ts", skip_serializing_if = "Option::is_none")] pub finish_ts: Option, /// The label given to this performance span. @@ -22,7 +22,7 @@ pub struct CloudLogsPerfSpan { pub label: String, #[serde(rename = "req_id", skip_serializing_if = "Option::is_none")] pub req_id: Option, - /// RFC3339 timestamp. + /// RFC3339 timestamp #[serde(rename = "start_ts")] pub start_ts: String, } diff --git a/sdks/full/rust-cli/src/models/cloud_namespace_full.rs b/sdks/full/rust-cli/src/models/cloud_namespace_full.rs index a87a934ef1..581f7008ae 100644 --- a/sdks/full/rust-cli/src/models/cloud_namespace_full.rs +++ b/sdks/full/rust-cli/src/models/cloud_namespace_full.rs @@ -16,7 +16,7 @@ pub struct CloudNamespaceFull { #[serde(rename = "config")] pub config: Box, - /// RFC3339 timestamp. + /// RFC3339 timestamp #[serde(rename = "create_ts")] pub create_ts: String, /// Represent a resource's readable display name. diff --git a/sdks/full/rust-cli/src/models/cloud_namespace_summary.rs b/sdks/full/rust-cli/src/models/cloud_namespace_summary.rs index 661d02ba13..d7e3215a51 100644 --- a/sdks/full/rust-cli/src/models/cloud_namespace_summary.rs +++ b/sdks/full/rust-cli/src/models/cloud_namespace_summary.rs @@ -14,7 +14,7 @@ #[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)] pub struct CloudNamespaceSummary { - /// RFC3339 timestamp. + /// RFC3339 timestamp #[serde(rename = "create_ts")] pub create_ts: String, /// Represent a resource's readable display name. diff --git a/sdks/full/rust-cli/src/models/cloud_namespace_version.rs b/sdks/full/rust-cli/src/models/cloud_namespace_version.rs index 474607d433..fcab3769a1 100644 --- a/sdks/full/rust-cli/src/models/cloud_namespace_version.rs +++ b/sdks/full/rust-cli/src/models/cloud_namespace_version.rs @@ -14,7 +14,7 @@ #[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)] pub struct CloudNamespaceVersion { - /// RFC3339 timestamp. + /// RFC3339 timestamp #[serde(rename = "deploy_ts")] pub deploy_ts: String, /// A universally unique identifier. diff --git a/sdks/full/rust-cli/src/models/cloud_version_full.rs b/sdks/full/rust-cli/src/models/cloud_version_full.rs index 1f65a6f863..ac4942fb27 100644 --- a/sdks/full/rust-cli/src/models/cloud_version_full.rs +++ b/sdks/full/rust-cli/src/models/cloud_version_full.rs @@ -17,7 +17,7 @@ pub struct CloudVersionFull { #[serde(rename = "config")] pub config: Box, - /// RFC3339 timestamp. + /// RFC3339 timestamp #[serde(rename = "create_ts")] pub create_ts: String, /// Represent a resource's readable display name. diff --git a/sdks/full/rust-cli/src/models/cloud_version_identity_custom_display_name.rs b/sdks/full/rust-cli/src/models/cloud_version_identity_custom_display_name.rs index 81305efd5f..41fcfc2245 100644 --- a/sdks/full/rust-cli/src/models/cloud_version_identity_custom_display_name.rs +++ b/sdks/full/rust-cli/src/models/cloud_version_identity_custom_display_name.rs @@ -14,6 +14,7 @@ #[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)] #[serde(deny_unknown_fields)] pub struct CloudVersionIdentityCustomDisplayName { + /// Represent a resource's readable display name. #[serde(rename = "display_name")] pub display_name: String, } diff --git a/sdks/full/rust-cli/src/models/cloud_version_summary.rs b/sdks/full/rust-cli/src/models/cloud_version_summary.rs index 9fbfa15640..da670510c2 100644 --- a/sdks/full/rust-cli/src/models/cloud_version_summary.rs +++ b/sdks/full/rust-cli/src/models/cloud_version_summary.rs @@ -15,7 +15,7 @@ #[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)] #[serde(deny_unknown_fields)] pub struct CloudVersionSummary { - /// RFC3339 timestamp. + /// RFC3339 timestamp #[serde(rename = "create_ts")] pub create_ts: String, /// Represent a resource's readable display name. diff --git a/sdks/full/rust-cli/src/models/game_handle.rs b/sdks/full/rust-cli/src/models/game_handle.rs index 92dfdc921b..346a1b6a6e 100644 --- a/sdks/full/rust-cli/src/models/game_handle.rs +++ b/sdks/full/rust-cli/src/models/game_handle.rs @@ -16,6 +16,7 @@ pub struct GameHandle { /// The URL of this game's banner image. #[serde(rename = "banner_url", skip_serializing_if = "Option::is_none")] pub banner_url: Option, + /// Represent a resource's readable display name. #[serde(rename = "display_name")] pub display_name: String, #[serde(rename = "game_id")] diff --git a/sdks/full/rust-cli/src/models/game_stat_config.rs b/sdks/full/rust-cli/src/models/game_stat_config.rs index fa4aea73c6..f9c47ec3b2 100644 --- a/sdks/full/rust-cli/src/models/game_stat_config.rs +++ b/sdks/full/rust-cli/src/models/game_stat_config.rs @@ -16,6 +16,7 @@ pub struct GameStatConfig { #[serde(rename = "aggregation")] pub aggregation: crate::models::GameStatAggregationMethod, + /// Represent a resource's readable display name. #[serde(rename = "display_name")] pub display_name: String, #[serde(rename = "format")] diff --git a/sdks/full/rust-cli/src/models/game_summary.rs b/sdks/full/rust-cli/src/models/game_summary.rs index 73a107ff4f..88d337f3db 100644 --- a/sdks/full/rust-cli/src/models/game_summary.rs +++ b/sdks/full/rust-cli/src/models/game_summary.rs @@ -18,6 +18,7 @@ pub struct GameSummary { pub banner_url: Option, #[serde(rename = "developer")] pub developer: Box, + /// Represent a resource's readable display name. #[serde(rename = "display_name")] pub display_name: String, #[serde(rename = "game_id")] diff --git a/sdks/full/rust-cli/src/models/group_banned_identity.rs b/sdks/full/rust-cli/src/models/group_banned_identity.rs index e443d75959..2e552da163 100644 --- a/sdks/full/rust-cli/src/models/group_banned_identity.rs +++ b/sdks/full/rust-cli/src/models/group_banned_identity.rs @@ -14,7 +14,7 @@ #[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)] pub struct GroupBannedIdentity { - /// RFC3339 timestamp. + /// RFC3339 timestamp #[serde(rename = "ban_ts")] pub ban_ts: String, #[serde(rename = "identity")] diff --git a/sdks/full/rust-cli/src/models/group_handle.rs b/sdks/full/rust-cli/src/models/group_handle.rs index 3d67b32c10..6aed5a1bfa 100644 --- a/sdks/full/rust-cli/src/models/group_handle.rs +++ b/sdks/full/rust-cli/src/models/group_handle.rs @@ -17,6 +17,7 @@ pub struct GroupHandle { /// The URL of this group's avatar image #[serde(rename = "avatar_url", skip_serializing_if = "Option::is_none")] pub avatar_url: Option, + /// Represent a resource's readable display name. #[serde(rename = "display_name")] pub display_name: String, #[serde(rename = "external")] diff --git a/sdks/full/rust-cli/src/models/group_summary.rs b/sdks/full/rust-cli/src/models/group_summary.rs index 767f5ed6a8..85ae0cfede 100644 --- a/sdks/full/rust-cli/src/models/group_summary.rs +++ b/sdks/full/rust-cli/src/models/group_summary.rs @@ -19,6 +19,7 @@ pub struct GroupSummary { /// Follows regex ^(?:[^\\n\\r]+\\n?|\\n){1,5}$ #[serde(rename = "bio")] pub bio: String, + /// Represent a resource's readable display name. #[serde(rename = "display_name")] pub display_name: String, #[serde(rename = "external")] diff --git a/sdks/full/rust-cli/src/models/group_validate_profile_request.rs b/sdks/full/rust-cli/src/models/group_validate_profile_request.rs index 935150f9ac..501acb5beb 100644 --- a/sdks/full/rust-cli/src/models/group_validate_profile_request.rs +++ b/sdks/full/rust-cli/src/models/group_validate_profile_request.rs @@ -13,7 +13,7 @@ #[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)] pub struct GroupValidateProfileRequest { - /// Detailed information about a profile. + /// Represent a resource's readable display name. #[serde(rename = "bio", skip_serializing_if = "Option::is_none")] pub bio: Option, /// Represent a resource's readable display name. diff --git a/sdks/full/rust-cli/src/models/identity_get_game_link_new_identity.rs b/sdks/full/rust-cli/src/models/identity_get_game_link_new_identity.rs index 419665f20d..7b61ef57b3 100644 --- a/sdks/full/rust-cli/src/models/identity_get_game_link_new_identity.rs +++ b/sdks/full/rust-cli/src/models/identity_get_game_link_new_identity.rs @@ -18,6 +18,7 @@ pub struct IdentityGetGameLinkNewIdentity { /// Documentation at https://jwt.io/ #[serde(rename = "identity_token")] pub identity_token: String, + /// RFC3339 timestamp #[serde(rename = "identity_token_expire_ts")] pub identity_token_expire_ts: String, } diff --git a/sdks/full/rust-cli/src/models/identity_handle.rs b/sdks/full/rust-cli/src/models/identity_handle.rs index df9c459276..3fa21c3a42 100644 --- a/sdks/full/rust-cli/src/models/identity_handle.rs +++ b/sdks/full/rust-cli/src/models/identity_handle.rs @@ -19,6 +19,7 @@ pub struct IdentityHandle { /// The URL of this identity's avatar image. #[serde(rename = "avatar_url")] pub avatar_url: String, + /// Represent a resource's readable display name. #[serde(rename = "display_name")] pub display_name: String, #[serde(rename = "external")] diff --git a/sdks/full/rust-cli/src/models/identity_prepare_game_link_response.rs b/sdks/full/rust-cli/src/models/identity_prepare_game_link_response.rs index 676ce4145a..cd0b41ea9d 100644 --- a/sdks/full/rust-cli/src/models/identity_prepare_game_link_response.rs +++ b/sdks/full/rust-cli/src/models/identity_prepare_game_link_response.rs @@ -13,6 +13,7 @@ #[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)] pub struct IdentityPrepareGameLinkResponse { + /// RFC3339 timestamp #[serde(rename = "expire_ts")] pub expire_ts: String, /// Pass this to `GetGameLink` to get the linking status. Valid for 15 minutes. diff --git a/sdks/full/rust-cli/src/models/identity_presence.rs b/sdks/full/rust-cli/src/models/identity_presence.rs index 01cf3f5f2c..2e4df976d6 100644 --- a/sdks/full/rust-cli/src/models/identity_presence.rs +++ b/sdks/full/rust-cli/src/models/identity_presence.rs @@ -18,6 +18,7 @@ pub struct IdentityPresence { pub game_activity: Option>, #[serde(rename = "status")] pub status: crate::models::IdentityStatus, + /// RFC3339 timestamp #[serde(rename = "update_ts")] pub update_ts: String, } diff --git a/sdks/full/rust-cli/src/models/identity_profile.rs b/sdks/full/rust-cli/src/models/identity_profile.rs index fda0d0dac7..920c1b42ac 100644 --- a/sdks/full/rust-cli/src/models/identity_profile.rs +++ b/sdks/full/rust-cli/src/models/identity_profile.rs @@ -27,6 +27,7 @@ pub struct IdentityProfile { pub bio: String, #[serde(rename = "dev_state", skip_serializing_if = "Option::is_none")] pub dev_state: Option, + /// Represent a resource's readable display name. #[serde(rename = "display_name")] pub display_name: String, #[serde(rename = "external")] @@ -58,6 +59,7 @@ pub struct IdentityProfile { /// Whether or not this identity is registered with a linked account. #[serde(rename = "is_registered")] pub is_registered: bool, + /// RFC3339 timestamp #[serde(rename = "join_ts")] pub join_ts: String, #[serde(rename = "linked_accounts")] diff --git a/sdks/full/rust-cli/src/models/identity_setup_response.rs b/sdks/full/rust-cli/src/models/identity_setup_response.rs index 25601285b9..d72d496270 100644 --- a/sdks/full/rust-cli/src/models/identity_setup_response.rs +++ b/sdks/full/rust-cli/src/models/identity_setup_response.rs @@ -20,7 +20,7 @@ pub struct IdentitySetupResponse { /// Documentation at https://jwt.io/ #[serde(rename = "identity_token")] pub identity_token: String, - /// If this token is compromised, anyone with access to this token has control of the identity. + /// RFC3339 timestamp #[serde(rename = "identity_token_expire_ts")] pub identity_token_expire_ts: String, } diff --git a/sdks/full/rust-cli/src/models/identity_summary.rs b/sdks/full/rust-cli/src/models/identity_summary.rs index cdfdf6ef47..585b399d60 100644 --- a/sdks/full/rust-cli/src/models/identity_summary.rs +++ b/sdks/full/rust-cli/src/models/identity_summary.rs @@ -19,6 +19,7 @@ pub struct IdentitySummary { /// The URL of this identity's avatar image. #[serde(rename = "avatar_url")] pub avatar_url: String, + /// Represent a resource's readable display name. #[serde(rename = "display_name")] pub display_name: String, #[serde(rename = "external")] diff --git a/sdks/full/rust-cli/src/models/identity_update_profile_request.rs b/sdks/full/rust-cli/src/models/identity_update_profile_request.rs index 11ed8a3b31..24d90a91c4 100644 --- a/sdks/full/rust-cli/src/models/identity_update_profile_request.rs +++ b/sdks/full/rust-cli/src/models/identity_update_profile_request.rs @@ -18,6 +18,7 @@ pub struct IdentityUpdateProfileRequest { /// Follows regex ^(?:[^\\n\\r]+\\n?|\\n){1,5}$ #[serde(rename = "bio", skip_serializing_if = "Option::is_none")] pub bio: Option, + /// Represent a resource's readable display name. #[serde(rename = "display_name", skip_serializing_if = "Option::is_none")] pub display_name: Option, } diff --git a/sdks/full/rust-cli/src/models/matchmaker_join_region.rs b/sdks/full/rust-cli/src/models/matchmaker_join_region.rs index a95fb7ad9d..7f38d680cf 100644 --- a/sdks/full/rust-cli/src/models/matchmaker_join_region.rs +++ b/sdks/full/rust-cli/src/models/matchmaker_join_region.rs @@ -14,6 +14,7 @@ #[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)] pub struct MatchmakerJoinRegion { + /// Represent a resource's readable display name. #[serde(rename = "display_name")] pub display_name: String, /// A human readable short identifier used to references resources. Different than a `uuid` because this is intended to be human readable. Different than `DisplayName` because this should not include special characters and be short. diff --git a/sdks/full/rust-cli/src/models/matchmaker_region_info.rs b/sdks/full/rust-cli/src/models/matchmaker_region_info.rs index cf10ffc55d..ed5df899d6 100644 --- a/sdks/full/rust-cli/src/models/matchmaker_region_info.rs +++ b/sdks/full/rust-cli/src/models/matchmaker_region_info.rs @@ -18,8 +18,10 @@ pub struct MatchmakerRegionInfo { pub datacenter_coord: Box, #[serde(rename = "datacenter_distance_from_client")] pub datacenter_distance_from_client: Box, + /// Represent a resource's readable display name. #[serde(rename = "provider_display_name")] pub provider_display_name: String, + /// Represent a resource's readable display name. #[serde(rename = "region_display_name")] pub region_display_name: String, /// A human readable short identifier used to references resources. Different than a `uuid` because this is intended to be human readable. Different than `DisplayName` because this should not include special characters and be short. diff --git a/sdks/full/rust-cli/src/models/mod.rs b/sdks/full/rust-cli/src/models/mod.rs index 97de6a9ba1..3ba94935e9 100644 --- a/sdks/full/rust-cli/src/models/mod.rs +++ b/sdks/full/rust-cli/src/models/mod.rs @@ -586,10 +586,6 @@ pub mod matchmaker_region_info; pub use self::matchmaker_region_info::MatchmakerRegionInfo; pub mod matchmaker_region_statistics; pub use self::matchmaker_region_statistics::MatchmakerRegionStatistics; -pub mod module_call_request; -pub use self::module_call_request::ModuleCallRequest; -pub mod module_call_response; -pub use self::module_call_response::ModuleCallResponse; pub mod portal_get_game_profile_response; pub use self::portal_get_game_profile_response::PortalGetGameProfileResponse; pub mod portal_get_suggested_games_response; diff --git a/sdks/full/rust-cli/src/models/module_call_request.rs b/sdks/full/rust-cli/src/models/module_call_request.rs deleted file mode 100644 index a6eff2f17b..0000000000 --- a/sdks/full/rust-cli/src/models/module_call_request.rs +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Rivet API - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.1 - * - * Generated by: https://openapi-generator.tech - */ - - - - -#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)] -pub struct ModuleCallRequest { - #[serde(rename = "data", deserialize_with = "Option::deserialize")] - pub data: Option, - #[serde(rename = "namespace_id", skip_serializing_if = "Option::is_none")] - pub namespace_id: Option, -} - -impl ModuleCallRequest { - pub fn new(data: Option) -> ModuleCallRequest { - ModuleCallRequest { - data, - namespace_id: None, - } - } -} - - diff --git a/sdks/full/rust-cli/src/models/module_call_response.rs b/sdks/full/rust-cli/src/models/module_call_response.rs deleted file mode 100644 index 33ee5c2e1b..0000000000 --- a/sdks/full/rust-cli/src/models/module_call_response.rs +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Rivet API - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.1 - * - * Generated by: https://openapi-generator.tech - */ - - - - -#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)] -pub struct ModuleCallResponse { - #[serde(rename = "data", deserialize_with = "Option::deserialize")] - pub data: Option, -} - -impl ModuleCallResponse { - pub fn new(data: Option) -> ModuleCallResponse { - ModuleCallResponse { - data, - } - } -} - - diff --git a/sdks/full/rust/.openapi-generator/FILES b/sdks/full/rust/.openapi-generator/FILES index 0f27fd894c..bd80d4e913 100644 --- a/sdks/full/rust/.openapi-generator/FILES +++ b/sdks/full/rust/.openapi-generator/FILES @@ -332,9 +332,6 @@ docs/MatchmakerPlayersConnectedRequest.md docs/MatchmakerRegionInfo.md docs/MatchmakerRegionStatistics.md docs/MatchmakerRegionsApi.md -docs/ModuleApi.md -docs/ModuleCallRequest.md -docs/ModuleCallResponse.md docs/PortalGamesApi.md docs/PortalGetGameProfileResponse.md docs/PortalGetSuggestedGamesResponse.md @@ -387,7 +384,6 @@ src/apis/matchmaker_lobbies_api.rs src/apis/matchmaker_players_api.rs src/apis/matchmaker_regions_api.rs src/apis/mod.rs -src/apis/module_api.rs src/apis/portal_games_api.rs src/apis/provision_datacenters_api.rs src/apis/provision_servers_api.rs @@ -687,8 +683,6 @@ src/models/matchmaker_players_connected_request.rs src/models/matchmaker_region_info.rs src/models/matchmaker_region_statistics.rs src/models/mod.rs -src/models/module_call_request.rs -src/models/module_call_response.rs src/models/portal_get_game_profile_response.rs src/models/portal_get_suggested_games_response.rs src/models/portal_notification_register_firebase_service.rs diff --git a/sdks/full/rust/README.md b/sdks/full/rust/README.md index 9da43dcc47..669d03b88d 100644 --- a/sdks/full/rust/README.md +++ b/sdks/full/rust/README.md @@ -162,7 +162,6 @@ Class | Method | HTTP request | Description *MatchmakerPlayersApi* | [**matchmaker_players_disconnected**](docs/MatchmakerPlayersApi.md#matchmaker_players_disconnected) | **POST** /matchmaker/players/disconnected | *MatchmakerPlayersApi* | [**matchmaker_players_get_statistics**](docs/MatchmakerPlayersApi.md#matchmaker_players_get_statistics) | **GET** /matchmaker/players/statistics | *MatchmakerRegionsApi* | [**matchmaker_regions_list**](docs/MatchmakerRegionsApi.md#matchmaker_regions_list) | **GET** /matchmaker/regions | -*ModuleApi* | [**module_call**](docs/ModuleApi.md#module_call) | **POST** /module/modules/{module}/scripts/{script}/call | *PortalGamesApi* | [**portal_games_get_game_profile**](docs/PortalGamesApi.md#portal_games_get_game_profile) | **GET** /portal/games/{game_name_id}/profile | *ProvisionDatacentersApi* | [**provision_datacenters_get_tls**](docs/ProvisionDatacentersApi.md#provision_datacenters_get_tls) | **GET** /datacenters/{datacenter_id}/tls | *ProvisionServersApi* | [**provision_servers_get_info**](docs/ProvisionServersApi.md#provision_servers_get_info) | **GET** /servers/{ip} | @@ -464,8 +463,6 @@ Class | Method | HTTP request | Description - [MatchmakerPlayersConnectedRequest](docs/MatchmakerPlayersConnectedRequest.md) - [MatchmakerRegionInfo](docs/MatchmakerRegionInfo.md) - [MatchmakerRegionStatistics](docs/MatchmakerRegionStatistics.md) - - [ModuleCallRequest](docs/ModuleCallRequest.md) - - [ModuleCallResponse](docs/ModuleCallResponse.md) - [PortalGetGameProfileResponse](docs/PortalGetGameProfileResponse.md) - [PortalGetSuggestedGamesResponse](docs/PortalGetSuggestedGamesResponse.md) - [PortalNotificationRegisterFirebaseService](docs/PortalNotificationRegisterFirebaseService.md) diff --git a/sdks/full/rust/docs/CloudBuildSummary.md b/sdks/full/rust/docs/CloudBuildSummary.md index 9764da74fb..6d91dd4ead 100644 --- a/sdks/full/rust/docs/CloudBuildSummary.md +++ b/sdks/full/rust/docs/CloudBuildSummary.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **build_id** | [**uuid::Uuid**](uuid::Uuid.md) | | **complete** | **bool** | Whether or not this build has completely been uploaded. | **content_length** | **i64** | Unsigned 64 bit integer. | -**create_ts** | **String** | RFC3339 timestamp. | +**create_ts** | **String** | RFC3339 timestamp | **display_name** | **String** | Represent a resource's readable display name. | **upload_id** | [**uuid::Uuid**](uuid::Uuid.md) | | diff --git a/sdks/full/rust/docs/CloudCdnNamespaceDomain.md b/sdks/full/rust/docs/CloudCdnNamespaceDomain.md index 633b26290d..af93fcc7d6 100644 --- a/sdks/full/rust/docs/CloudCdnNamespaceDomain.md +++ b/sdks/full/rust/docs/CloudCdnNamespaceDomain.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**create_ts** | **String** | RFC3339 timestamp. | +**create_ts** | **String** | RFC3339 timestamp | **domain** | **String** | A valid domain name (no protocol). | **verification_errors** | **Vec** | | **verification_method** | [**crate::models::CloudCdnNamespaceDomainVerificationMethod**](CloudCdnNamespaceDomainVerificationMethod.md) | | diff --git a/sdks/full/rust/docs/CloudCdnSiteSummary.md b/sdks/full/rust/docs/CloudCdnSiteSummary.md index f2e5d6ae5b..8292f21f3f 100644 --- a/sdks/full/rust/docs/CloudCdnSiteSummary.md +++ b/sdks/full/rust/docs/CloudCdnSiteSummary.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **complete** | **bool** | Whether or not this site has completely been uploaded. | **content_length** | **i64** | Unsigned 64 bit integer. | -**create_ts** | **String** | RFC3339 timestamp. | +**create_ts** | **String** | RFC3339 timestamp | **display_name** | **String** | Represent a resource's readable display name. | **site_id** | [**uuid::Uuid**](uuid::Uuid.md) | | **upload_id** | [**uuid::Uuid**](uuid::Uuid.md) | | diff --git a/sdks/full/rust/docs/CloudCustomAvatarSummary.md b/sdks/full/rust/docs/CloudCustomAvatarSummary.md index 15b33715a2..ce06bd3020 100644 --- a/sdks/full/rust/docs/CloudCustomAvatarSummary.md +++ b/sdks/full/rust/docs/CloudCustomAvatarSummary.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **complete** | **bool** | Whether or not this custom avatar has completely been uploaded. | **content_length** | **i64** | Unsigned 64 bit integer. | -**create_ts** | **String** | RFC3339 timestamp. | +**create_ts** | **String** | RFC3339 timestamp | **display_name** | **String** | Represent a resource's readable display name. | **upload_id** | [**uuid::Uuid**](uuid::Uuid.md) | | **url** | Option<**String**> | The URL of this custom avatar image. Only present if upload is complete. | [optional] diff --git a/sdks/full/rust/docs/CloudGameFull.md b/sdks/full/rust/docs/CloudGameFull.md index 738e534e33..dd4d876bc8 100644 --- a/sdks/full/rust/docs/CloudGameFull.md +++ b/sdks/full/rust/docs/CloudGameFull.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **available_regions** | [**Vec**](CloudRegionSummary.md) | A list of region summaries. | **banner_url** | Option<**String**> | The URL of this game's banner image. | [optional] -**create_ts** | **String** | RFC3339 timestamp. | +**create_ts** | **String** | RFC3339 timestamp | **developer_group_id** | [**uuid::Uuid**](uuid::Uuid.md) | | **display_name** | **String** | Represent a resource's readable display name. | **game_id** | [**uuid::Uuid**](uuid::Uuid.md) | | diff --git a/sdks/full/rust/docs/CloudGamesCreateGameRequest.md b/sdks/full/rust/docs/CloudGamesCreateGameRequest.md index 3e20f9dc67..7fda60818d 100644 --- a/sdks/full/rust/docs/CloudGamesCreateGameRequest.md +++ b/sdks/full/rust/docs/CloudGamesCreateGameRequest.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **developer_group_id** | [**uuid::Uuid**](uuid::Uuid.md) | | **display_name** | **String** | Represent a resource's readable display name. | -**name_id** | Option<**String**> | **Deprecated** A human readable short identifier used to references resources. Different than a `rivet.common#Uuid` because this is intended to be human readable. Different than `rivet.common#DisplayName` because this should not include special characters and be short. | [optional] +**name_id** | Option<**String**> | A human readable short identifier used to references resources. Different than a `uuid` because this is intended to be human readable. Different than `DisplayName` because this should not include special characters and be short. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/full/rust/docs/CloudGamesReserveVersionNameResponse.md b/sdks/full/rust/docs/CloudGamesReserveVersionNameResponse.md index 6a7a09da19..616b45e50f 100644 --- a/sdks/full/rust/docs/CloudGamesReserveVersionNameResponse.md +++ b/sdks/full/rust/docs/CloudGamesReserveVersionNameResponse.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**version_display_name** | **String** | | +**version_display_name** | **String** | Represent a resource's readable display name. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/full/rust/docs/CloudLobbySummaryAnalytics.md b/sdks/full/rust/docs/CloudLobbySummaryAnalytics.md index 6b642a72e4..168dfed374 100644 --- a/sdks/full/rust/docs/CloudLobbySummaryAnalytics.md +++ b/sdks/full/rust/docs/CloudLobbySummaryAnalytics.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**create_ts** | **String** | RFC3339 timestamp. | +**create_ts** | **String** | RFC3339 timestamp | **is_closed** | **bool** | Whether or not this lobby is in a closed state. | **is_idle** | **bool** | Whether or not this lobby is idle. | **is_outdated** | **bool** | Whether or not this lobby is outdated. | diff --git a/sdks/full/rust/docs/CloudLogsLobbyStatusStopped.md b/sdks/full/rust/docs/CloudLogsLobbyStatusStopped.md index 88cfecbec9..7a39226e29 100644 --- a/sdks/full/rust/docs/CloudLogsLobbyStatusStopped.md +++ b/sdks/full/rust/docs/CloudLogsLobbyStatusStopped.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **exit_code** | **i32** | The exit code returned by the lobby's main process when stopped. | **failed** | **bool** | Whether or not the lobby failed or stopped successfully. | -**stop_ts** | **String** | | +**stop_ts** | **String** | RFC3339 timestamp | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/full/rust/docs/CloudLogsLobbySummary.md b/sdks/full/rust/docs/CloudLogsLobbySummary.md index f28c30172a..b228893602 100644 --- a/sdks/full/rust/docs/CloudLogsLobbySummary.md +++ b/sdks/full/rust/docs/CloudLogsLobbySummary.md @@ -4,13 +4,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**create_ts** | **String** | RFC3339 timestamp. | +**create_ts** | **String** | RFC3339 timestamp | **lobby_group_name_id** | **String** | A human readable short identifier used to references resources. Different than a `rivet.common#Uuid` because this is intended to be human readable. Different than `rivet.common#DisplayName` because this should not include special characters and be short. | **lobby_id** | [**uuid::Uuid**](uuid::Uuid.md) | | **namespace_id** | [**uuid::Uuid**](uuid::Uuid.md) | | -**ready_ts** | Option<**String**> | RFC3339 timestamp. | [optional] +**ready_ts** | Option<**String**> | RFC3339 timestamp | [optional] **region_id** | [**uuid::Uuid**](uuid::Uuid.md) | | -**start_ts** | Option<**String**> | RFC3339 timestamp. | [optional] +**start_ts** | Option<**String**> | RFC3339 timestamp | [optional] **status** | [**crate::models::CloudLogsLobbyStatus**](CloudLogsLobbyStatus.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/full/rust/docs/CloudLogsPerfMark.md b/sdks/full/rust/docs/CloudLogsPerfMark.md index 5ea917b70a..d2f018666d 100644 --- a/sdks/full/rust/docs/CloudLogsPerfMark.md +++ b/sdks/full/rust/docs/CloudLogsPerfMark.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **label** | **String** | The label given to this performance mark. | **ray_id** | Option<[**uuid::Uuid**](uuid::Uuid.md)> | | [optional] **req_id** | Option<[**uuid::Uuid**](uuid::Uuid.md)> | | [optional] -**ts** | **String** | RFC3339 timestamp. | +**ts** | **String** | RFC3339 timestamp | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/full/rust/docs/CloudLogsPerfSpan.md b/sdks/full/rust/docs/CloudLogsPerfSpan.md index 53ee880473..2772228a19 100644 --- a/sdks/full/rust/docs/CloudLogsPerfSpan.md +++ b/sdks/full/rust/docs/CloudLogsPerfSpan.md @@ -4,10 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**finish_ts** | Option<**String**> | RFC3339 timestamp. | [optional] +**finish_ts** | Option<**String**> | RFC3339 timestamp | [optional] **label** | **String** | The label given to this performance span. | **req_id** | Option<[**uuid::Uuid**](uuid::Uuid.md)> | | [optional] -**start_ts** | **String** | RFC3339 timestamp. | +**start_ts** | **String** | RFC3339 timestamp | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/full/rust/docs/CloudNamespaceFull.md b/sdks/full/rust/docs/CloudNamespaceFull.md index 8bd13301c9..8a62def44a 100644 --- a/sdks/full/rust/docs/CloudNamespaceFull.md +++ b/sdks/full/rust/docs/CloudNamespaceFull.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **config** | [**crate::models::CloudNamespaceConfig**](CloudNamespaceConfig.md) | | -**create_ts** | **String** | RFC3339 timestamp. | +**create_ts** | **String** | RFC3339 timestamp | **display_name** | **String** | Represent a resource's readable display name. | **name_id** | **String** | A human readable short identifier used to references resources. Different than a `rivet.common#Uuid` because this is intended to be human readable. Different than `rivet.common#DisplayName` because this should not include special characters and be short. | **namespace_id** | [**uuid::Uuid**](uuid::Uuid.md) | | diff --git a/sdks/full/rust/docs/CloudNamespaceSummary.md b/sdks/full/rust/docs/CloudNamespaceSummary.md index 1dee4bf3f4..58bf40d498 100644 --- a/sdks/full/rust/docs/CloudNamespaceSummary.md +++ b/sdks/full/rust/docs/CloudNamespaceSummary.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**create_ts** | **String** | RFC3339 timestamp. | +**create_ts** | **String** | RFC3339 timestamp | **display_name** | **String** | Represent a resource's readable display name. | **name_id** | **String** | A human readable short identifier used to references resources. Different than a `rivet.common#Uuid` because this is intended to be human readable. Different than `rivet.common#DisplayName` because this should not include special characters and be short. | **namespace_id** | [**uuid::Uuid**](uuid::Uuid.md) | | diff --git a/sdks/full/rust/docs/CloudNamespaceVersion.md b/sdks/full/rust/docs/CloudNamespaceVersion.md index 55eb6829d5..2b9e1bfa00 100644 --- a/sdks/full/rust/docs/CloudNamespaceVersion.md +++ b/sdks/full/rust/docs/CloudNamespaceVersion.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**deploy_ts** | **String** | RFC3339 timestamp. | +**deploy_ts** | **String** | RFC3339 timestamp | **namespace_id** | **String** | A universally unique identifier. | **version_id** | **String** | A universally unique identifier. | diff --git a/sdks/full/rust/docs/CloudVersionFull.md b/sdks/full/rust/docs/CloudVersionFull.md index 03eb62bc06..2368ab6f29 100644 --- a/sdks/full/rust/docs/CloudVersionFull.md +++ b/sdks/full/rust/docs/CloudVersionFull.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **config** | [**crate::models::CloudVersionConfig**](CloudVersionConfig.md) | | -**create_ts** | **String** | RFC3339 timestamp. | +**create_ts** | **String** | RFC3339 timestamp | **display_name** | **String** | Represent a resource's readable display name. | **version_id** | [**uuid::Uuid**](uuid::Uuid.md) | | diff --git a/sdks/full/rust/docs/CloudVersionIdentityCustomDisplayName.md b/sdks/full/rust/docs/CloudVersionIdentityCustomDisplayName.md index 7eb7947a19..e31747bb8f 100644 --- a/sdks/full/rust/docs/CloudVersionIdentityCustomDisplayName.md +++ b/sdks/full/rust/docs/CloudVersionIdentityCustomDisplayName.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**display_name** | **String** | | +**display_name** | **String** | Represent a resource's readable display name. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/full/rust/docs/CloudVersionSummary.md b/sdks/full/rust/docs/CloudVersionSummary.md index 1d9cb4f256..820cd4b7cb 100644 --- a/sdks/full/rust/docs/CloudVersionSummary.md +++ b/sdks/full/rust/docs/CloudVersionSummary.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**create_ts** | **String** | RFC3339 timestamp. | +**create_ts** | **String** | RFC3339 timestamp | **display_name** | **String** | Represent a resource's readable display name. | **version_id** | [**uuid::Uuid**](uuid::Uuid.md) | | diff --git a/sdks/full/rust/docs/GameHandle.md b/sdks/full/rust/docs/GameHandle.md index f24739c715..21d5ab9809 100644 --- a/sdks/full/rust/docs/GameHandle.md +++ b/sdks/full/rust/docs/GameHandle.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **banner_url** | Option<**String**> | The URL of this game's banner image. | [optional] -**display_name** | **String** | | +**display_name** | **String** | Represent a resource's readable display name. | **game_id** | [**uuid::Uuid**](uuid::Uuid.md) | | **logo_url** | Option<**String**> | The URL of this game's logo image. | [optional] **name_id** | **String** | A human readable short identifier used to references resources. Different than a `uuid` because this is intended to be human readable. Different than `DisplayName` because this should not include special characters and be short. | diff --git a/sdks/full/rust/docs/GameStatConfig.md b/sdks/full/rust/docs/GameStatConfig.md index d43256a342..f11e6ea9ee 100644 --- a/sdks/full/rust/docs/GameStatConfig.md +++ b/sdks/full/rust/docs/GameStatConfig.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **aggregation** | [**crate::models::GameStatAggregationMethod**](GameStatAggregationMethod.md) | | -**display_name** | **String** | | +**display_name** | **String** | Represent a resource's readable display name. | **format** | [**crate::models::GameStatFormatMethod**](GameStatFormatMethod.md) | | **icon_id** | [**uuid::Uuid**](uuid::Uuid.md) | | **postfix_plural** | Option<**String**> | A string appended to the end of a game statistic's value that is not exactly 1. Example: 45 **dollars**. | [optional] diff --git a/sdks/full/rust/docs/GameSummary.md b/sdks/full/rust/docs/GameSummary.md index f8c6e314f0..5d421cb8f5 100644 --- a/sdks/full/rust/docs/GameSummary.md +++ b/sdks/full/rust/docs/GameSummary.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **banner_url** | Option<**String**> | The URL of this game's banner image. | [optional] **developer** | [**crate::models::GroupHandle**](GroupHandle.md) | | -**display_name** | **String** | | +**display_name** | **String** | Represent a resource's readable display name. | **game_id** | [**uuid::Uuid**](uuid::Uuid.md) | | **logo_url** | Option<**String**> | The URL of this game's logo image. | [optional] **name_id** | **String** | A human readable short identifier used to references resources. Different than a `uuid` because this is intended to be human readable. Different than `DisplayName` because this should not include special characters and be short. | diff --git a/sdks/full/rust/docs/GroupBannedIdentity.md b/sdks/full/rust/docs/GroupBannedIdentity.md index 04e5aa227d..cd6aadff02 100644 --- a/sdks/full/rust/docs/GroupBannedIdentity.md +++ b/sdks/full/rust/docs/GroupBannedIdentity.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ban_ts** | **String** | RFC3339 timestamp. | +**ban_ts** | **String** | RFC3339 timestamp | **identity** | [**crate::models::IdentityHandle**](IdentityHandle.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/full/rust/docs/GroupHandle.md b/sdks/full/rust/docs/GroupHandle.md index 707ce84214..9eb1e35c46 100644 --- a/sdks/full/rust/docs/GroupHandle.md +++ b/sdks/full/rust/docs/GroupHandle.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **avatar_url** | Option<**String**> | The URL of this group's avatar image | [optional] -**display_name** | **String** | | +**display_name** | **String** | Represent a resource's readable display name. | **external** | [**crate::models::GroupExternalLinks**](GroupExternalLinks.md) | | **group_id** | [**uuid::Uuid**](uuid::Uuid.md) | | **is_developer** | Option<**bool**> | Whether or not this group is a developer group. | [optional] diff --git a/sdks/full/rust/docs/GroupSummary.md b/sdks/full/rust/docs/GroupSummary.md index dc7a00eda4..9905aaf838 100644 --- a/sdks/full/rust/docs/GroupSummary.md +++ b/sdks/full/rust/docs/GroupSummary.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **avatar_url** | Option<**String**> | The URL of this group's avatar image. | [optional] **bio** | **String** | Follows regex ^(?:[^\\n\\r]+\\n?|\\n){1,5}$ | -**display_name** | **String** | | +**display_name** | **String** | Represent a resource's readable display name. | **external** | [**crate::models::GroupExternalLinks**](GroupExternalLinks.md) | | **group_id** | [**uuid::Uuid**](uuid::Uuid.md) | | **is_current_identity_member** | **bool** | Whether or not the current identity is a member of this group. | diff --git a/sdks/full/rust/docs/GroupValidateProfileRequest.md b/sdks/full/rust/docs/GroupValidateProfileRequest.md index c45411d36f..ee83335004 100644 --- a/sdks/full/rust/docs/GroupValidateProfileRequest.md +++ b/sdks/full/rust/docs/GroupValidateProfileRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**bio** | Option<**String**> | Detailed information about a profile. | [optional] +**bio** | Option<**String**> | Represent a resource's readable display name. | [optional] **display_name** | Option<**String**> | Represent a resource's readable display name. | [optional] **publicity** | Option<[**crate::models::GroupPublicity**](GroupPublicity.md)> | | [optional] diff --git a/sdks/full/rust/docs/IdentityGetGameLinkNewIdentity.md b/sdks/full/rust/docs/IdentityGetGameLinkNewIdentity.md index 0bfc47ce30..ca35a6612d 100644 --- a/sdks/full/rust/docs/IdentityGetGameLinkNewIdentity.md +++ b/sdks/full/rust/docs/IdentityGetGameLinkNewIdentity.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **identity** | [**crate::models::IdentityProfile**](IdentityProfile.md) | | **identity_token** | **String** | Documentation at https://jwt.io/ | -**identity_token_expire_ts** | **String** | | +**identity_token_expire_ts** | **String** | RFC3339 timestamp | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/full/rust/docs/IdentityHandle.md b/sdks/full/rust/docs/IdentityHandle.md index 5200931129..629764404f 100644 --- a/sdks/full/rust/docs/IdentityHandle.md +++ b/sdks/full/rust/docs/IdentityHandle.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **account_number** | **i32** | | **avatar_url** | **String** | The URL of this identity's avatar image. | -**display_name** | **String** | | +**display_name** | **String** | Represent a resource's readable display name. | **external** | [**crate::models::IdentityExternalLinks**](IdentityExternalLinks.md) | | **identity_id** | [**uuid::Uuid**](uuid::Uuid.md) | | **is_registered** | **bool** | Whether or not this identity is registered with a linked account. | diff --git a/sdks/full/rust/docs/IdentityPrepareGameLinkResponse.md b/sdks/full/rust/docs/IdentityPrepareGameLinkResponse.md index 630dbca241..dc6cd813f4 100644 --- a/sdks/full/rust/docs/IdentityPrepareGameLinkResponse.md +++ b/sdks/full/rust/docs/IdentityPrepareGameLinkResponse.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**expire_ts** | **String** | | +**expire_ts** | **String** | RFC3339 timestamp | **identity_link_token** | **String** | Pass this to `GetGameLink` to get the linking status. Valid for 15 minutes. | **identity_link_url** | **String** | | diff --git a/sdks/full/rust/docs/IdentityPresence.md b/sdks/full/rust/docs/IdentityPresence.md index 08b85cb00a..66a71fd89e 100644 --- a/sdks/full/rust/docs/IdentityPresence.md +++ b/sdks/full/rust/docs/IdentityPresence.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **game_activity** | Option<[**crate::models::IdentityGameActivity**](IdentityGameActivity.md)> | | [optional] **status** | [**crate::models::IdentityStatus**](IdentityStatus.md) | | -**update_ts** | **String** | | +**update_ts** | **String** | RFC3339 timestamp | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/full/rust/docs/IdentityProfile.md b/sdks/full/rust/docs/IdentityProfile.md index 37ccb7c5bd..9c79c1ee4d 100644 --- a/sdks/full/rust/docs/IdentityProfile.md +++ b/sdks/full/rust/docs/IdentityProfile.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **awaiting_deletion** | Option<**bool**> | Whether or not this identity is awaiting account deletion. Only visible to when the requestee is this identity. | [optional] **bio** | **String** | Follows regex ^(?:[^\\n\\r]+\\n?|\\n){1,5}$ | **dev_state** | Option<[**crate::models::IdentityDevState**](IdentityDevState.md)> | | [optional] -**display_name** | **String** | | +**display_name** | **String** | Represent a resource's readable display name. | **external** | [**crate::models::IdentityExternalLinks**](IdentityExternalLinks.md) | | **follower_count** | **i64** | | **following** | **bool** | Whether or not the requestee's identity is following this identity. | @@ -22,7 +22,7 @@ Name | Type | Description | Notes **is_game_linked** | Option<**bool**> | Whether or not this game user has been linked through the Rivet dashboard. | [optional] **is_mutual_following** | **bool** | | **is_registered** | **bool** | Whether or not this identity is registered with a linked account. | -**join_ts** | **String** | | +**join_ts** | **String** | RFC3339 timestamp | **linked_accounts** | [**Vec**](IdentityLinkedAccount.md) | | **presence** | Option<[**crate::models::IdentityPresence**](IdentityPresence.md)> | | [optional] diff --git a/sdks/full/rust/docs/IdentitySetupResponse.md b/sdks/full/rust/docs/IdentitySetupResponse.md index 793a872c38..18f209b27b 100644 --- a/sdks/full/rust/docs/IdentitySetupResponse.md +++ b/sdks/full/rust/docs/IdentitySetupResponse.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **game_id** | [**uuid::Uuid**](uuid::Uuid.md) | | **identity** | [**crate::models::IdentityProfile**](IdentityProfile.md) | | **identity_token** | **String** | Documentation at https://jwt.io/ | -**identity_token_expire_ts** | **String** | If this token is compromised, anyone with access to this token has control of the identity. | +**identity_token_expire_ts** | **String** | RFC3339 timestamp | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/full/rust/docs/IdentitySummary.md b/sdks/full/rust/docs/IdentitySummary.md index c87975d5a6..8b956b7a4e 100644 --- a/sdks/full/rust/docs/IdentitySummary.md +++ b/sdks/full/rust/docs/IdentitySummary.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **account_number** | **i32** | | **avatar_url** | **String** | The URL of this identity's avatar image. | -**display_name** | **String** | | +**display_name** | **String** | Represent a resource's readable display name. | **external** | [**crate::models::IdentityExternalLinks**](IdentityExternalLinks.md) | | **following** | **bool** | Whether or not the requestee's identity is following this identity. | **identity_id** | [**uuid::Uuid**](uuid::Uuid.md) | | diff --git a/sdks/full/rust/docs/IdentityUpdateProfileRequest.md b/sdks/full/rust/docs/IdentityUpdateProfileRequest.md index 94d026ecc5..bf63d3e257 100644 --- a/sdks/full/rust/docs/IdentityUpdateProfileRequest.md +++ b/sdks/full/rust/docs/IdentityUpdateProfileRequest.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **account_number** | Option<**i32**> | | [optional] **bio** | Option<**String**> | Follows regex ^(?:[^\\n\\r]+\\n?|\\n){1,5}$ | [optional] -**display_name** | Option<**String**> | | [optional] +**display_name** | Option<**String**> | Represent a resource's readable display name. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/full/rust/docs/MatchmakerJoinRegion.md b/sdks/full/rust/docs/MatchmakerJoinRegion.md index 8efd1bfa09..0ba22c74ff 100644 --- a/sdks/full/rust/docs/MatchmakerJoinRegion.md +++ b/sdks/full/rust/docs/MatchmakerJoinRegion.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**display_name** | **String** | | +**display_name** | **String** | Represent a resource's readable display name. | **region_id** | **String** | A human readable short identifier used to references resources. Different than a `uuid` because this is intended to be human readable. Different than `DisplayName` because this should not include special characters and be short. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/full/rust/docs/MatchmakerRegionInfo.md b/sdks/full/rust/docs/MatchmakerRegionInfo.md index 8aab80146b..10a2ff6747 100644 --- a/sdks/full/rust/docs/MatchmakerRegionInfo.md +++ b/sdks/full/rust/docs/MatchmakerRegionInfo.md @@ -6,8 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **datacenter_coord** | [**crate::models::GeoCoord**](GeoCoord.md) | | **datacenter_distance_from_client** | [**crate::models::GeoDistance**](GeoDistance.md) | | -**provider_display_name** | **String** | | -**region_display_name** | **String** | | +**provider_display_name** | **String** | Represent a resource's readable display name. | +**region_display_name** | **String** | Represent a resource's readable display name. | **region_id** | **String** | A human readable short identifier used to references resources. Different than a `uuid` because this is intended to be human readable. Different than `DisplayName` because this should not include special characters and be short. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/full/rust/docs/ModuleApi.md b/sdks/full/rust/docs/ModuleApi.md deleted file mode 100644 index 000f72f0b7..0000000000 --- a/sdks/full/rust/docs/ModuleApi.md +++ /dev/null @@ -1,42 +0,0 @@ -# \ModuleApi - -All URIs are relative to *https://api.rivet.gg* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**module_call**](ModuleApi.md#module_call) | **POST** /module/modules/{module}/scripts/{script}/call | - - - -## module_call - -> crate::models::ModuleCallResponse module_call(module, script, module_call_request, origin) - - -Makes a request to a module's script. - -### Parameters - - -Name | Type | Description | Required | Notes -------------- | ------------- | ------------- | ------------- | ------------- -**module** | **String** | | [required] | -**script** | **String** | | [required] | -**module_call_request** | [**ModuleCallRequest**](ModuleCallRequest.md) | | [required] | -**origin** | Option<**String**> | | | - -### Return type - -[**crate::models::ModuleCallResponse**](ModuleCallResponse.md) - -### Authorization - -[BearerAuth](../README.md#BearerAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/sdks/full/rust/docs/ModuleCallRequest.md b/sdks/full/rust/docs/ModuleCallRequest.md deleted file mode 100644 index 1dd7c8c4f9..0000000000 --- a/sdks/full/rust/docs/ModuleCallRequest.md +++ /dev/null @@ -1,12 +0,0 @@ -# ModuleCallRequest - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | Option<[**serde_json::Value**](.md)> | | -**namespace_id** | Option<[**uuid::Uuid**](uuid::Uuid.md)> | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/full/rust/docs/ModuleCallResponse.md b/sdks/full/rust/docs/ModuleCallResponse.md deleted file mode 100644 index 5a8c9f9834..0000000000 --- a/sdks/full/rust/docs/ModuleCallResponse.md +++ /dev/null @@ -1,11 +0,0 @@ -# ModuleCallResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | Option<[**serde_json::Value**](.md)> | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/full/rust/src/apis/cloud_games_namespaces_logs_api.rs b/sdks/full/rust/src/apis/cloud_games_namespaces_logs_api.rs index 43e8b17d20..ad0516e80f 100644 --- a/sdks/full/rust/src/apis/cloud_games_namespaces_logs_api.rs +++ b/sdks/full/rust/src/apis/cloud_games_namespaces_logs_api.rs @@ -74,7 +74,7 @@ pub async fn cloud_games_namespaces_logs_get_namespace_lobby(configuration: &con } /// Returns a list of lobbies for the given game namespace. -pub async fn cloud_games_namespaces_logs_list_namespace_lobbies(configuration: &configuration::Configuration, game_id: &str, namespace_id: &str, before_create_ts: Option) -> Result> { +pub async fn cloud_games_namespaces_logs_list_namespace_lobbies(configuration: &configuration::Configuration, game_id: &str, namespace_id: &str, before_create_ts: Option<&str>) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; diff --git a/sdks/full/rust/src/apis/mod.rs b/sdks/full/rust/src/apis/mod.rs index 0571431e19..f51157351a 100644 --- a/sdks/full/rust/src/apis/mod.rs +++ b/sdks/full/rust/src/apis/mod.rs @@ -125,7 +125,6 @@ pub mod kv_api; pub mod matchmaker_lobbies_api; pub mod matchmaker_players_api; pub mod matchmaker_regions_api; -pub mod module_api; pub mod portal_games_api; pub mod provision_datacenters_api; pub mod provision_servers_api; diff --git a/sdks/full/rust/src/apis/module_api.rs b/sdks/full/rust/src/apis/module_api.rs deleted file mode 100644 index 3b52315806..0000000000 --- a/sdks/full/rust/src/apis/module_api.rs +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Rivet API - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.1 - * - * Generated by: https://openapi-generator.tech - */ - - -use reqwest; - -use crate::apis::ResponseContent; -use super::{Error, configuration}; - - -/// struct for typed errors of method [`module_call`] -#[derive(Debug, Clone, Serialize, Deserialize)] -#[serde(untagged)] -pub enum ModuleCallError { - Status400(crate::models::ErrorBody), - Status403(crate::models::ErrorBody), - Status404(crate::models::ErrorBody), - Status408(crate::models::ErrorBody), - Status429(crate::models::ErrorBody), - Status500(crate::models::ErrorBody), - UnknownValue(serde_json::Value), -} - - -/// Makes a request to a module's script. -pub async fn module_call(configuration: &configuration::Configuration, module: &str, script: &str, module_call_request: crate::models::ModuleCallRequest, origin: Option<&str>) -> Result> { - let local_var_configuration = configuration; - - let local_var_client = &local_var_configuration.client; - - let local_var_uri_str = format!("{}/module/modules/{module}/scripts/{script}/call", local_var_configuration.base_path, module=crate::apis::urlencode(module), script=crate::apis::urlencode(script)); - let mut local_var_req_builder = local_var_client.request(reqwest::Method::POST, local_var_uri_str.as_str()); - - if let Some(ref local_var_user_agent) = local_var_configuration.user_agent { - local_var_req_builder = local_var_req_builder.header(reqwest::header::USER_AGENT, local_var_user_agent.clone()); - } - if let Some(local_var_param_value) = origin { - local_var_req_builder = local_var_req_builder.header("origin", local_var_param_value.to_string()); - } - if let Some(ref local_var_token) = local_var_configuration.bearer_access_token { - local_var_req_builder = local_var_req_builder.bearer_auth(local_var_token.to_owned()); - }; - local_var_req_builder = local_var_req_builder.json(&module_call_request); - - let local_var_req = local_var_req_builder.build()?; - let local_var_resp = local_var_client.execute(local_var_req).await?; - - let local_var_status = local_var_resp.status(); - let local_var_content = local_var_resp.text().await?; - - if !local_var_status.is_client_error() && !local_var_status.is_server_error() { - serde_json::from_str(&local_var_content).map_err(Error::from) - } else { - let local_var_entity: Option = serde_json::from_str(&local_var_content).ok(); - let local_var_error = ResponseContent { status: local_var_status, content: local_var_content, entity: local_var_entity }; - Err(Error::ResponseError(local_var_error)) - } -} - diff --git a/sdks/full/rust/src/models/cloud_build_summary.rs b/sdks/full/rust/src/models/cloud_build_summary.rs index bf7b018438..e11928b5f4 100644 --- a/sdks/full/rust/src/models/cloud_build_summary.rs +++ b/sdks/full/rust/src/models/cloud_build_summary.rs @@ -22,7 +22,7 @@ pub struct CloudBuildSummary { /// Unsigned 64 bit integer. #[serde(rename = "content_length")] pub content_length: i64, - /// RFC3339 timestamp. + /// RFC3339 timestamp #[serde(rename = "create_ts")] pub create_ts: String, /// Represent a resource's readable display name. diff --git a/sdks/full/rust/src/models/cloud_cdn_namespace_domain.rs b/sdks/full/rust/src/models/cloud_cdn_namespace_domain.rs index e8a4456283..db81a282e7 100644 --- a/sdks/full/rust/src/models/cloud_cdn_namespace_domain.rs +++ b/sdks/full/rust/src/models/cloud_cdn_namespace_domain.rs @@ -14,7 +14,7 @@ #[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)] pub struct CloudCdnNamespaceDomain { - /// RFC3339 timestamp. + /// RFC3339 timestamp #[serde(rename = "create_ts")] pub create_ts: String, /// A valid domain name (no protocol). diff --git a/sdks/full/rust/src/models/cloud_cdn_site_summary.rs b/sdks/full/rust/src/models/cloud_cdn_site_summary.rs index 4a845816a9..15f0418c57 100644 --- a/sdks/full/rust/src/models/cloud_cdn_site_summary.rs +++ b/sdks/full/rust/src/models/cloud_cdn_site_summary.rs @@ -20,7 +20,7 @@ pub struct CloudCdnSiteSummary { /// Unsigned 64 bit integer. #[serde(rename = "content_length")] pub content_length: i64, - /// RFC3339 timestamp. + /// RFC3339 timestamp #[serde(rename = "create_ts")] pub create_ts: String, /// Represent a resource's readable display name. diff --git a/sdks/full/rust/src/models/cloud_custom_avatar_summary.rs b/sdks/full/rust/src/models/cloud_custom_avatar_summary.rs index 934a8e1ab2..e3716280da 100644 --- a/sdks/full/rust/src/models/cloud_custom_avatar_summary.rs +++ b/sdks/full/rust/src/models/cloud_custom_avatar_summary.rs @@ -20,7 +20,7 @@ pub struct CloudCustomAvatarSummary { /// Unsigned 64 bit integer. #[serde(rename = "content_length")] pub content_length: i64, - /// RFC3339 timestamp. + /// RFC3339 timestamp #[serde(rename = "create_ts")] pub create_ts: String, /// Represent a resource's readable display name. diff --git a/sdks/full/rust/src/models/cloud_game_full.rs b/sdks/full/rust/src/models/cloud_game_full.rs index 58b5c9fecc..a4ffd17835 100644 --- a/sdks/full/rust/src/models/cloud_game_full.rs +++ b/sdks/full/rust/src/models/cloud_game_full.rs @@ -20,7 +20,7 @@ pub struct CloudGameFull { /// The URL of this game's banner image. #[serde(rename = "banner_url", skip_serializing_if = "Option::is_none")] pub banner_url: Option, - /// RFC3339 timestamp. + /// RFC3339 timestamp #[serde(rename = "create_ts")] pub create_ts: String, #[serde(rename = "developer_group_id")] diff --git a/sdks/full/rust/src/models/cloud_games_create_game_request.rs b/sdks/full/rust/src/models/cloud_games_create_game_request.rs index bcbd19cc2f..e5fd44a582 100644 --- a/sdks/full/rust/src/models/cloud_games_create_game_request.rs +++ b/sdks/full/rust/src/models/cloud_games_create_game_request.rs @@ -18,7 +18,7 @@ pub struct CloudGamesCreateGameRequest { /// Represent a resource's readable display name. #[serde(rename = "display_name")] pub display_name: String, - /// **Deprecated** A human readable short identifier used to references resources. Different than a `rivet.common#Uuid` because this is intended to be human readable. Different than `rivet.common#DisplayName` because this should not include special characters and be short. + /// A human readable short identifier used to references resources. Different than a `uuid` because this is intended to be human readable. Different than `DisplayName` because this should not include special characters and be short. #[serde(rename = "name_id", skip_serializing_if = "Option::is_none")] pub name_id: Option, } diff --git a/sdks/full/rust/src/models/cloud_games_reserve_version_name_response.rs b/sdks/full/rust/src/models/cloud_games_reserve_version_name_response.rs index 326f45c0ff..1ca6b9fd43 100644 --- a/sdks/full/rust/src/models/cloud_games_reserve_version_name_response.rs +++ b/sdks/full/rust/src/models/cloud_games_reserve_version_name_response.rs @@ -13,6 +13,7 @@ #[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)] pub struct CloudGamesReserveVersionNameResponse { + /// Represent a resource's readable display name. #[serde(rename = "version_display_name")] pub version_display_name: String, } diff --git a/sdks/full/rust/src/models/cloud_lobby_summary_analytics.rs b/sdks/full/rust/src/models/cloud_lobby_summary_analytics.rs index 5124ba7155..e99c372fb3 100644 --- a/sdks/full/rust/src/models/cloud_lobby_summary_analytics.rs +++ b/sdks/full/rust/src/models/cloud_lobby_summary_analytics.rs @@ -14,7 +14,7 @@ #[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)] pub struct CloudLobbySummaryAnalytics { - /// RFC3339 timestamp. + /// RFC3339 timestamp #[serde(rename = "create_ts")] pub create_ts: String, /// Whether or not this lobby is in a closed state. diff --git a/sdks/full/rust/src/models/cloud_logs_lobby_status_stopped.rs b/sdks/full/rust/src/models/cloud_logs_lobby_status_stopped.rs index 041bd4d56f..c74fa79844 100644 --- a/sdks/full/rust/src/models/cloud_logs_lobby_status_stopped.rs +++ b/sdks/full/rust/src/models/cloud_logs_lobby_status_stopped.rs @@ -20,6 +20,7 @@ pub struct CloudLogsLobbyStatusStopped { /// Whether or not the lobby failed or stopped successfully. #[serde(rename = "failed")] pub failed: bool, + /// RFC3339 timestamp #[serde(rename = "stop_ts")] pub stop_ts: String, } diff --git a/sdks/full/rust/src/models/cloud_logs_lobby_summary.rs b/sdks/full/rust/src/models/cloud_logs_lobby_summary.rs index c5beb1be53..7f24f714de 100644 --- a/sdks/full/rust/src/models/cloud_logs_lobby_summary.rs +++ b/sdks/full/rust/src/models/cloud_logs_lobby_summary.rs @@ -14,7 +14,7 @@ #[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)] pub struct CloudLogsLobbySummary { - /// RFC3339 timestamp. + /// RFC3339 timestamp #[serde(rename = "create_ts")] pub create_ts: String, /// A human readable short identifier used to references resources. Different than a `rivet.common#Uuid` because this is intended to be human readable. Different than `rivet.common#DisplayName` because this should not include special characters and be short. @@ -24,12 +24,12 @@ pub struct CloudLogsLobbySummary { pub lobby_id: uuid::Uuid, #[serde(rename = "namespace_id")] pub namespace_id: uuid::Uuid, - /// RFC3339 timestamp. + /// RFC3339 timestamp #[serde(rename = "ready_ts", skip_serializing_if = "Option::is_none")] pub ready_ts: Option, #[serde(rename = "region_id")] pub region_id: uuid::Uuid, - /// RFC3339 timestamp. + /// RFC3339 timestamp #[serde(rename = "start_ts", skip_serializing_if = "Option::is_none")] pub start_ts: Option, #[serde(rename = "status")] diff --git a/sdks/full/rust/src/models/cloud_logs_perf_mark.rs b/sdks/full/rust/src/models/cloud_logs_perf_mark.rs index 9c910d5adf..7df6a121f9 100644 --- a/sdks/full/rust/src/models/cloud_logs_perf_mark.rs +++ b/sdks/full/rust/src/models/cloud_logs_perf_mark.rs @@ -21,7 +21,7 @@ pub struct CloudLogsPerfMark { pub ray_id: Option, #[serde(rename = "req_id", skip_serializing_if = "Option::is_none")] pub req_id: Option, - /// RFC3339 timestamp. + /// RFC3339 timestamp #[serde(rename = "ts")] pub ts: String, } diff --git a/sdks/full/rust/src/models/cloud_logs_perf_span.rs b/sdks/full/rust/src/models/cloud_logs_perf_span.rs index 3cb9623882..43429ba2c8 100644 --- a/sdks/full/rust/src/models/cloud_logs_perf_span.rs +++ b/sdks/full/rust/src/models/cloud_logs_perf_span.rs @@ -14,7 +14,7 @@ #[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)] pub struct CloudLogsPerfSpan { - /// RFC3339 timestamp. + /// RFC3339 timestamp #[serde(rename = "finish_ts", skip_serializing_if = "Option::is_none")] pub finish_ts: Option, /// The label given to this performance span. @@ -22,7 +22,7 @@ pub struct CloudLogsPerfSpan { pub label: String, #[serde(rename = "req_id", skip_serializing_if = "Option::is_none")] pub req_id: Option, - /// RFC3339 timestamp. + /// RFC3339 timestamp #[serde(rename = "start_ts")] pub start_ts: String, } diff --git a/sdks/full/rust/src/models/cloud_namespace_full.rs b/sdks/full/rust/src/models/cloud_namespace_full.rs index a87a934ef1..581f7008ae 100644 --- a/sdks/full/rust/src/models/cloud_namespace_full.rs +++ b/sdks/full/rust/src/models/cloud_namespace_full.rs @@ -16,7 +16,7 @@ pub struct CloudNamespaceFull { #[serde(rename = "config")] pub config: Box, - /// RFC3339 timestamp. + /// RFC3339 timestamp #[serde(rename = "create_ts")] pub create_ts: String, /// Represent a resource's readable display name. diff --git a/sdks/full/rust/src/models/cloud_namespace_summary.rs b/sdks/full/rust/src/models/cloud_namespace_summary.rs index 661d02ba13..d7e3215a51 100644 --- a/sdks/full/rust/src/models/cloud_namespace_summary.rs +++ b/sdks/full/rust/src/models/cloud_namespace_summary.rs @@ -14,7 +14,7 @@ #[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)] pub struct CloudNamespaceSummary { - /// RFC3339 timestamp. + /// RFC3339 timestamp #[serde(rename = "create_ts")] pub create_ts: String, /// Represent a resource's readable display name. diff --git a/sdks/full/rust/src/models/cloud_namespace_version.rs b/sdks/full/rust/src/models/cloud_namespace_version.rs index 474607d433..fcab3769a1 100644 --- a/sdks/full/rust/src/models/cloud_namespace_version.rs +++ b/sdks/full/rust/src/models/cloud_namespace_version.rs @@ -14,7 +14,7 @@ #[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)] pub struct CloudNamespaceVersion { - /// RFC3339 timestamp. + /// RFC3339 timestamp #[serde(rename = "deploy_ts")] pub deploy_ts: String, /// A universally unique identifier. diff --git a/sdks/full/rust/src/models/cloud_version_full.rs b/sdks/full/rust/src/models/cloud_version_full.rs index b37b01344a..05edda9dd6 100644 --- a/sdks/full/rust/src/models/cloud_version_full.rs +++ b/sdks/full/rust/src/models/cloud_version_full.rs @@ -16,7 +16,7 @@ pub struct CloudVersionFull { #[serde(rename = "config")] pub config: Box, - /// RFC3339 timestamp. + /// RFC3339 timestamp #[serde(rename = "create_ts")] pub create_ts: String, /// Represent a resource's readable display name. diff --git a/sdks/full/rust/src/models/cloud_version_identity_custom_display_name.rs b/sdks/full/rust/src/models/cloud_version_identity_custom_display_name.rs index 52e23457ad..8c4087fc33 100644 --- a/sdks/full/rust/src/models/cloud_version_identity_custom_display_name.rs +++ b/sdks/full/rust/src/models/cloud_version_identity_custom_display_name.rs @@ -13,6 +13,7 @@ #[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)] pub struct CloudVersionIdentityCustomDisplayName { + /// Represent a resource's readable display name. #[serde(rename = "display_name")] pub display_name: String, } diff --git a/sdks/full/rust/src/models/cloud_version_summary.rs b/sdks/full/rust/src/models/cloud_version_summary.rs index 227b16489a..52f47690d2 100644 --- a/sdks/full/rust/src/models/cloud_version_summary.rs +++ b/sdks/full/rust/src/models/cloud_version_summary.rs @@ -14,7 +14,7 @@ #[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)] pub struct CloudVersionSummary { - /// RFC3339 timestamp. + /// RFC3339 timestamp #[serde(rename = "create_ts")] pub create_ts: String, /// Represent a resource's readable display name. diff --git a/sdks/full/rust/src/models/game_handle.rs b/sdks/full/rust/src/models/game_handle.rs index 92dfdc921b..346a1b6a6e 100644 --- a/sdks/full/rust/src/models/game_handle.rs +++ b/sdks/full/rust/src/models/game_handle.rs @@ -16,6 +16,7 @@ pub struct GameHandle { /// The URL of this game's banner image. #[serde(rename = "banner_url", skip_serializing_if = "Option::is_none")] pub banner_url: Option, + /// Represent a resource's readable display name. #[serde(rename = "display_name")] pub display_name: String, #[serde(rename = "game_id")] diff --git a/sdks/full/rust/src/models/game_stat_config.rs b/sdks/full/rust/src/models/game_stat_config.rs index fa4aea73c6..f9c47ec3b2 100644 --- a/sdks/full/rust/src/models/game_stat_config.rs +++ b/sdks/full/rust/src/models/game_stat_config.rs @@ -16,6 +16,7 @@ pub struct GameStatConfig { #[serde(rename = "aggregation")] pub aggregation: crate::models::GameStatAggregationMethod, + /// Represent a resource's readable display name. #[serde(rename = "display_name")] pub display_name: String, #[serde(rename = "format")] diff --git a/sdks/full/rust/src/models/game_summary.rs b/sdks/full/rust/src/models/game_summary.rs index 73a107ff4f..88d337f3db 100644 --- a/sdks/full/rust/src/models/game_summary.rs +++ b/sdks/full/rust/src/models/game_summary.rs @@ -18,6 +18,7 @@ pub struct GameSummary { pub banner_url: Option, #[serde(rename = "developer")] pub developer: Box, + /// Represent a resource's readable display name. #[serde(rename = "display_name")] pub display_name: String, #[serde(rename = "game_id")] diff --git a/sdks/full/rust/src/models/group_banned_identity.rs b/sdks/full/rust/src/models/group_banned_identity.rs index e443d75959..2e552da163 100644 --- a/sdks/full/rust/src/models/group_banned_identity.rs +++ b/sdks/full/rust/src/models/group_banned_identity.rs @@ -14,7 +14,7 @@ #[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)] pub struct GroupBannedIdentity { - /// RFC3339 timestamp. + /// RFC3339 timestamp #[serde(rename = "ban_ts")] pub ban_ts: String, #[serde(rename = "identity")] diff --git a/sdks/full/rust/src/models/group_handle.rs b/sdks/full/rust/src/models/group_handle.rs index 3d67b32c10..6aed5a1bfa 100644 --- a/sdks/full/rust/src/models/group_handle.rs +++ b/sdks/full/rust/src/models/group_handle.rs @@ -17,6 +17,7 @@ pub struct GroupHandle { /// The URL of this group's avatar image #[serde(rename = "avatar_url", skip_serializing_if = "Option::is_none")] pub avatar_url: Option, + /// Represent a resource's readable display name. #[serde(rename = "display_name")] pub display_name: String, #[serde(rename = "external")] diff --git a/sdks/full/rust/src/models/group_summary.rs b/sdks/full/rust/src/models/group_summary.rs index 767f5ed6a8..85ae0cfede 100644 --- a/sdks/full/rust/src/models/group_summary.rs +++ b/sdks/full/rust/src/models/group_summary.rs @@ -19,6 +19,7 @@ pub struct GroupSummary { /// Follows regex ^(?:[^\\n\\r]+\\n?|\\n){1,5}$ #[serde(rename = "bio")] pub bio: String, + /// Represent a resource's readable display name. #[serde(rename = "display_name")] pub display_name: String, #[serde(rename = "external")] diff --git a/sdks/full/rust/src/models/group_validate_profile_request.rs b/sdks/full/rust/src/models/group_validate_profile_request.rs index 935150f9ac..501acb5beb 100644 --- a/sdks/full/rust/src/models/group_validate_profile_request.rs +++ b/sdks/full/rust/src/models/group_validate_profile_request.rs @@ -13,7 +13,7 @@ #[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)] pub struct GroupValidateProfileRequest { - /// Detailed information about a profile. + /// Represent a resource's readable display name. #[serde(rename = "bio", skip_serializing_if = "Option::is_none")] pub bio: Option, /// Represent a resource's readable display name. diff --git a/sdks/full/rust/src/models/identity_get_game_link_new_identity.rs b/sdks/full/rust/src/models/identity_get_game_link_new_identity.rs index 419665f20d..7b61ef57b3 100644 --- a/sdks/full/rust/src/models/identity_get_game_link_new_identity.rs +++ b/sdks/full/rust/src/models/identity_get_game_link_new_identity.rs @@ -18,6 +18,7 @@ pub struct IdentityGetGameLinkNewIdentity { /// Documentation at https://jwt.io/ #[serde(rename = "identity_token")] pub identity_token: String, + /// RFC3339 timestamp #[serde(rename = "identity_token_expire_ts")] pub identity_token_expire_ts: String, } diff --git a/sdks/full/rust/src/models/identity_handle.rs b/sdks/full/rust/src/models/identity_handle.rs index df9c459276..3fa21c3a42 100644 --- a/sdks/full/rust/src/models/identity_handle.rs +++ b/sdks/full/rust/src/models/identity_handle.rs @@ -19,6 +19,7 @@ pub struct IdentityHandle { /// The URL of this identity's avatar image. #[serde(rename = "avatar_url")] pub avatar_url: String, + /// Represent a resource's readable display name. #[serde(rename = "display_name")] pub display_name: String, #[serde(rename = "external")] diff --git a/sdks/full/rust/src/models/identity_prepare_game_link_response.rs b/sdks/full/rust/src/models/identity_prepare_game_link_response.rs index 676ce4145a..cd0b41ea9d 100644 --- a/sdks/full/rust/src/models/identity_prepare_game_link_response.rs +++ b/sdks/full/rust/src/models/identity_prepare_game_link_response.rs @@ -13,6 +13,7 @@ #[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)] pub struct IdentityPrepareGameLinkResponse { + /// RFC3339 timestamp #[serde(rename = "expire_ts")] pub expire_ts: String, /// Pass this to `GetGameLink` to get the linking status. Valid for 15 minutes. diff --git a/sdks/full/rust/src/models/identity_presence.rs b/sdks/full/rust/src/models/identity_presence.rs index 01cf3f5f2c..2e4df976d6 100644 --- a/sdks/full/rust/src/models/identity_presence.rs +++ b/sdks/full/rust/src/models/identity_presence.rs @@ -18,6 +18,7 @@ pub struct IdentityPresence { pub game_activity: Option>, #[serde(rename = "status")] pub status: crate::models::IdentityStatus, + /// RFC3339 timestamp #[serde(rename = "update_ts")] pub update_ts: String, } diff --git a/sdks/full/rust/src/models/identity_profile.rs b/sdks/full/rust/src/models/identity_profile.rs index fda0d0dac7..920c1b42ac 100644 --- a/sdks/full/rust/src/models/identity_profile.rs +++ b/sdks/full/rust/src/models/identity_profile.rs @@ -27,6 +27,7 @@ pub struct IdentityProfile { pub bio: String, #[serde(rename = "dev_state", skip_serializing_if = "Option::is_none")] pub dev_state: Option, + /// Represent a resource's readable display name. #[serde(rename = "display_name")] pub display_name: String, #[serde(rename = "external")] @@ -58,6 +59,7 @@ pub struct IdentityProfile { /// Whether or not this identity is registered with a linked account. #[serde(rename = "is_registered")] pub is_registered: bool, + /// RFC3339 timestamp #[serde(rename = "join_ts")] pub join_ts: String, #[serde(rename = "linked_accounts")] diff --git a/sdks/full/rust/src/models/identity_setup_response.rs b/sdks/full/rust/src/models/identity_setup_response.rs index 25601285b9..d72d496270 100644 --- a/sdks/full/rust/src/models/identity_setup_response.rs +++ b/sdks/full/rust/src/models/identity_setup_response.rs @@ -20,7 +20,7 @@ pub struct IdentitySetupResponse { /// Documentation at https://jwt.io/ #[serde(rename = "identity_token")] pub identity_token: String, - /// If this token is compromised, anyone with access to this token has control of the identity. + /// RFC3339 timestamp #[serde(rename = "identity_token_expire_ts")] pub identity_token_expire_ts: String, } diff --git a/sdks/full/rust/src/models/identity_summary.rs b/sdks/full/rust/src/models/identity_summary.rs index cdfdf6ef47..585b399d60 100644 --- a/sdks/full/rust/src/models/identity_summary.rs +++ b/sdks/full/rust/src/models/identity_summary.rs @@ -19,6 +19,7 @@ pub struct IdentitySummary { /// The URL of this identity's avatar image. #[serde(rename = "avatar_url")] pub avatar_url: String, + /// Represent a resource's readable display name. #[serde(rename = "display_name")] pub display_name: String, #[serde(rename = "external")] diff --git a/sdks/full/rust/src/models/identity_update_profile_request.rs b/sdks/full/rust/src/models/identity_update_profile_request.rs index 11ed8a3b31..24d90a91c4 100644 --- a/sdks/full/rust/src/models/identity_update_profile_request.rs +++ b/sdks/full/rust/src/models/identity_update_profile_request.rs @@ -18,6 +18,7 @@ pub struct IdentityUpdateProfileRequest { /// Follows regex ^(?:[^\\n\\r]+\\n?|\\n){1,5}$ #[serde(rename = "bio", skip_serializing_if = "Option::is_none")] pub bio: Option, + /// Represent a resource's readable display name. #[serde(rename = "display_name", skip_serializing_if = "Option::is_none")] pub display_name: Option, } diff --git a/sdks/full/rust/src/models/matchmaker_join_region.rs b/sdks/full/rust/src/models/matchmaker_join_region.rs index a95fb7ad9d..7f38d680cf 100644 --- a/sdks/full/rust/src/models/matchmaker_join_region.rs +++ b/sdks/full/rust/src/models/matchmaker_join_region.rs @@ -14,6 +14,7 @@ #[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)] pub struct MatchmakerJoinRegion { + /// Represent a resource's readable display name. #[serde(rename = "display_name")] pub display_name: String, /// A human readable short identifier used to references resources. Different than a `uuid` because this is intended to be human readable. Different than `DisplayName` because this should not include special characters and be short. diff --git a/sdks/full/rust/src/models/matchmaker_region_info.rs b/sdks/full/rust/src/models/matchmaker_region_info.rs index cf10ffc55d..ed5df899d6 100644 --- a/sdks/full/rust/src/models/matchmaker_region_info.rs +++ b/sdks/full/rust/src/models/matchmaker_region_info.rs @@ -18,8 +18,10 @@ pub struct MatchmakerRegionInfo { pub datacenter_coord: Box, #[serde(rename = "datacenter_distance_from_client")] pub datacenter_distance_from_client: Box, + /// Represent a resource's readable display name. #[serde(rename = "provider_display_name")] pub provider_display_name: String, + /// Represent a resource's readable display name. #[serde(rename = "region_display_name")] pub region_display_name: String, /// A human readable short identifier used to references resources. Different than a `uuid` because this is intended to be human readable. Different than `DisplayName` because this should not include special characters and be short. diff --git a/sdks/full/rust/src/models/mod.rs b/sdks/full/rust/src/models/mod.rs index 97de6a9ba1..3ba94935e9 100644 --- a/sdks/full/rust/src/models/mod.rs +++ b/sdks/full/rust/src/models/mod.rs @@ -586,10 +586,6 @@ pub mod matchmaker_region_info; pub use self::matchmaker_region_info::MatchmakerRegionInfo; pub mod matchmaker_region_statistics; pub use self::matchmaker_region_statistics::MatchmakerRegionStatistics; -pub mod module_call_request; -pub use self::module_call_request::ModuleCallRequest; -pub mod module_call_response; -pub use self::module_call_response::ModuleCallResponse; pub mod portal_get_game_profile_response; pub use self::portal_get_game_profile_response::PortalGetGameProfileResponse; pub mod portal_get_suggested_games_response; diff --git a/sdks/full/rust/src/models/module_call_request.rs b/sdks/full/rust/src/models/module_call_request.rs deleted file mode 100644 index a6eff2f17b..0000000000 --- a/sdks/full/rust/src/models/module_call_request.rs +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Rivet API - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.1 - * - * Generated by: https://openapi-generator.tech - */ - - - - -#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)] -pub struct ModuleCallRequest { - #[serde(rename = "data", deserialize_with = "Option::deserialize")] - pub data: Option, - #[serde(rename = "namespace_id", skip_serializing_if = "Option::is_none")] - pub namespace_id: Option, -} - -impl ModuleCallRequest { - pub fn new(data: Option) -> ModuleCallRequest { - ModuleCallRequest { - data, - namespace_id: None, - } - } -} - - diff --git a/sdks/full/rust/src/models/module_call_response.rs b/sdks/full/rust/src/models/module_call_response.rs deleted file mode 100644 index 33ee5c2e1b..0000000000 --- a/sdks/full/rust/src/models/module_call_response.rs +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Rivet API - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.1 - * - * Generated by: https://openapi-generator.tech - */ - - - - -#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)] -pub struct ModuleCallResponse { - #[serde(rename = "data", deserialize_with = "Option::deserialize")] - pub data: Option, -} - -impl ModuleCallResponse { - pub fn new(data: Option) -> ModuleCallResponse { - ModuleCallResponse { - data, - } - } -} - - diff --git a/sdks/full/typescript/src/Client.ts b/sdks/full/typescript/src/Client.ts index 25e0f83e73..985e3e0e4c 100644 --- a/sdks/full/typescript/src/Client.ts +++ b/sdks/full/typescript/src/Client.ts @@ -9,7 +9,6 @@ import { Cloud } from "./api/resources/cloud/client/Client"; import { Group } from "./api/resources/group/client/Client"; import { Identity } from "./api/resources/identity/client/Client"; import { Kv } from "./api/resources/kv/client/Client"; -import { Module } from "./api/resources/module/client/Client"; import { Provision } from "./api/resources/provision/client/Client"; import { Auth } from "./api/resources/auth/client/Client"; import { Job } from "./api/resources/job/client/Client"; @@ -62,12 +61,6 @@ export class RivetClient { return (this._kv ??= new Kv(this._options)); } - protected _module: Module | undefined; - - public get module(): Module { - return (this._module ??= new Module(this._options)); - } - protected _provision: Provision | undefined; public get provision(): Provision { diff --git a/sdks/full/typescript/src/api/resources/cloud/resources/games/resources/namespaces/resources/logs/client/Client.ts b/sdks/full/typescript/src/api/resources/cloud/resources/games/resources/namespaces/resources/logs/client/Client.ts index c59613c483..02b92f341e 100644 --- a/sdks/full/typescript/src/api/resources/cloud/resources/games/resources/namespaces/resources/logs/client/Client.ts +++ b/sdks/full/typescript/src/api/resources/cloud/resources/games/resources/namespaces/resources/logs/client/Client.ts @@ -43,7 +43,7 @@ export class Logs { const { beforeCreateTs } = request; const _queryParams: Record = {}; if (beforeCreateTs != null) { - _queryParams["before_create_ts"] = beforeCreateTs.toISOString(); + _queryParams["before_create_ts"] = beforeCreateTs; } const _response = await (this._options.fetcher ?? core.fetcher)({ diff --git a/sdks/full/typescript/src/api/resources/cloud/resources/games/resources/namespaces/resources/logs/client/requests/ListNamespaceLobbiesRequest.ts b/sdks/full/typescript/src/api/resources/cloud/resources/games/resources/namespaces/resources/logs/client/requests/ListNamespaceLobbiesRequest.ts index 8fcbac5d2a..dd9c830ba3 100644 --- a/sdks/full/typescript/src/api/resources/cloud/resources/games/resources/namespaces/resources/logs/client/requests/ListNamespaceLobbiesRequest.ts +++ b/sdks/full/typescript/src/api/resources/cloud/resources/games/resources/namespaces/resources/logs/client/requests/ListNamespaceLobbiesRequest.ts @@ -2,9 +2,11 @@ * This file was auto-generated by Fern from our API Definition. */ +import * as Rivet from "../../../../../../../../../.."; + export interface ListNamespaceLobbiesRequest { /** * Returns lobbies created before this timestamp. */ - beforeCreateTs?: Date; + beforeCreateTs?: Rivet.Timestamp; } diff --git a/sdks/full/typescript/src/api/resources/index.ts b/sdks/full/typescript/src/api/resources/index.ts index fa48c0f4ac..13718a2302 100644 --- a/sdks/full/typescript/src/api/resources/index.ts +++ b/sdks/full/typescript/src/api/resources/index.ts @@ -3,7 +3,6 @@ export * as cloud from "./cloud"; export * as group from "./group"; export * as identity from "./identity"; export * as kv from "./kv"; -export * as module_ from "./module"; export * as provision from "./provision"; export * as auth from "./auth"; export * as captcha from "./captcha"; diff --git a/sdks/full/typescript/src/api/resources/module/client/Client.ts b/sdks/full/typescript/src/api/resources/module/client/Client.ts deleted file mode 100644 index fc3733a828..0000000000 --- a/sdks/full/typescript/src/api/resources/module/client/Client.ts +++ /dev/null @@ -1,162 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as environments from "../../../../environments"; -import * as core from "../../../../core"; -import * as Rivet from "../../.."; -import * as serializers from "../../../../serialization"; -import urlJoin from "url-join"; -import * as errors from "../../../../errors"; - -export declare namespace Module { - interface Options { - environment?: core.Supplier; - token?: core.Supplier; - fetcher?: core.FetchFunction; - } - - interface RequestOptions { - timeoutInSeconds?: number; - maxRetries?: number; - } -} - -export class Module { - constructor(protected readonly _options: Module.Options = {}) {} - - /** - * Makes a request to a module's script. - * @throws {@link Rivet.InternalError} - * @throws {@link Rivet.RateLimitError} - * @throws {@link Rivet.ForbiddenError} - * @throws {@link Rivet.UnauthorizedError} - * @throws {@link Rivet.NotFoundError} - * @throws {@link Rivet.BadRequestError} - */ - public async call( - module: string, - script: string, - request: Rivet.module_.FindLobbyRequest, - requestOptions?: Module.RequestOptions - ): Promise { - const { origin, ..._body } = request; - const _response = await (this._options.fetcher ?? core.fetcher)({ - url: urlJoin( - (await core.Supplier.get(this._options.environment)) ?? environments.RivetEnvironment.Production, - `/module/modules/${module}/scripts/${script}/call` - ), - method: "POST", - headers: { - Authorization: await this._getAuthorizationHeader(), - origin: origin != null ? origin : undefined, - }, - contentType: "application/json", - body: await serializers.module_.FindLobbyRequest.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }), - timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 180000, - maxRetries: requestOptions?.maxRetries, - }); - if (_response.ok) { - return await serializers.module_.CallResponse.parseOrThrow(_response.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }); - } - - if (_response.error.reason === "status-code") { - switch (_response.error.statusCode) { - case 500: - throw new Rivet.InternalError( - await serializers.ErrorBody.parseOrThrow(_response.error.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }) - ); - case 429: - throw new Rivet.RateLimitError( - await serializers.ErrorBody.parseOrThrow(_response.error.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }) - ); - case 403: - throw new Rivet.ForbiddenError( - await serializers.ErrorBody.parseOrThrow(_response.error.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }) - ); - case 408: - throw new Rivet.UnauthorizedError( - await serializers.ErrorBody.parseOrThrow(_response.error.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }) - ); - case 404: - throw new Rivet.NotFoundError( - await serializers.ErrorBody.parseOrThrow(_response.error.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }) - ); - case 400: - throw new Rivet.BadRequestError( - await serializers.ErrorBody.parseOrThrow(_response.error.body, { - unrecognizedObjectKeys: "passthrough", - allowUnrecognizedUnionMembers: true, - allowUnrecognizedEnumValues: true, - skipValidation: true, - breadcrumbsPrefix: ["response"], - }) - ); - default: - throw new errors.RivetError({ - statusCode: _response.error.statusCode, - body: _response.error.body, - }); - } - } - - switch (_response.error.reason) { - case "non-json": - throw new errors.RivetError({ - statusCode: _response.error.statusCode, - body: _response.error.rawBody, - }); - case "timeout": - throw new errors.RivetTimeoutError(); - case "unknown": - throw new errors.RivetError({ - message: _response.error.errorMessage, - }); - } - } - - protected async _getAuthorizationHeader() { - const bearer = await core.Supplier.get(this._options.token); - if (bearer != null) { - return `Bearer ${bearer}`; - } - - return undefined; - } -} diff --git a/sdks/full/typescript/src/api/resources/module/client/index.ts b/sdks/full/typescript/src/api/resources/module/client/index.ts deleted file mode 100644 index 415726b7fe..0000000000 --- a/sdks/full/typescript/src/api/resources/module/client/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from "./requests"; diff --git a/sdks/full/typescript/src/api/resources/module/client/requests/FindLobbyRequest.ts b/sdks/full/typescript/src/api/resources/module/client/requests/FindLobbyRequest.ts deleted file mode 100644 index 323b1b3d3e..0000000000 --- a/sdks/full/typescript/src/api/resources/module/client/requests/FindLobbyRequest.ts +++ /dev/null @@ -1,9 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export interface FindLobbyRequest { - origin?: string; - namespaceId?: string; - data?: unknown; -} diff --git a/sdks/full/typescript/src/api/resources/module/client/requests/index.ts b/sdks/full/typescript/src/api/resources/module/client/requests/index.ts deleted file mode 100644 index 4b5febbca6..0000000000 --- a/sdks/full/typescript/src/api/resources/module/client/requests/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { FindLobbyRequest } from "./FindLobbyRequest"; diff --git a/sdks/full/typescript/src/api/resources/module/index.ts b/sdks/full/typescript/src/api/resources/module/index.ts deleted file mode 100644 index c9240f83b4..0000000000 --- a/sdks/full/typescript/src/api/resources/module/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from "./types"; -export * from "./client"; diff --git a/sdks/full/typescript/src/serialization/resources/index.ts b/sdks/full/typescript/src/serialization/resources/index.ts index 8b81230cbb..5cd7449f02 100644 --- a/sdks/full/typescript/src/serialization/resources/index.ts +++ b/sdks/full/typescript/src/serialization/resources/index.ts @@ -3,7 +3,6 @@ export * as cloud from "./cloud"; export * as group from "./group"; export * as identity from "./identity"; export * as kv from "./kv"; -export * as module_ from "./module"; export * as provision from "./provision"; export * as auth from "./auth"; export * as captcha from "./captcha"; diff --git a/sdks/full/typescript/src/serialization/resources/module/client/index.ts b/sdks/full/typescript/src/serialization/resources/module/client/index.ts deleted file mode 100644 index 415726b7fe..0000000000 --- a/sdks/full/typescript/src/serialization/resources/module/client/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from "./requests"; diff --git a/sdks/full/typescript/src/serialization/resources/module/client/requests/FindLobbyRequest.ts b/sdks/full/typescript/src/serialization/resources/module/client/requests/FindLobbyRequest.ts deleted file mode 100644 index dc5273b0bc..0000000000 --- a/sdks/full/typescript/src/serialization/resources/module/client/requests/FindLobbyRequest.ts +++ /dev/null @@ -1,22 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../../../.."; -import * as Rivet from "../../../../../api"; -import * as core from "../../../../../core"; - -export const FindLobbyRequest: core.serialization.Schema< - serializers.module_.FindLobbyRequest.Raw, - Omit -> = core.serialization.object({ - namespaceId: core.serialization.property("namespace_id", core.serialization.string().optional()), - data: core.serialization.unknown(), -}); - -export declare namespace FindLobbyRequest { - interface Raw { - namespace_id?: string | null; - data?: unknown; - } -} diff --git a/sdks/full/typescript/src/serialization/resources/module/client/requests/index.ts b/sdks/full/typescript/src/serialization/resources/module/client/requests/index.ts deleted file mode 100644 index 4b5febbca6..0000000000 --- a/sdks/full/typescript/src/serialization/resources/module/client/requests/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { FindLobbyRequest } from "./FindLobbyRequest"; diff --git a/sdks/full/typescript/src/serialization/resources/module/index.ts b/sdks/full/typescript/src/serialization/resources/module/index.ts deleted file mode 100644 index c9240f83b4..0000000000 --- a/sdks/full/typescript/src/serialization/resources/module/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from "./types"; -export * from "./client"; diff --git a/sdks/runtime/go/matchmaker/types.go b/sdks/runtime/go/matchmaker/types.go index b172126aeb..bcaed2d7df 100644 --- a/sdks/runtime/go/matchmaker/types.go +++ b/sdks/runtime/go/matchmaker/types.go @@ -246,11 +246,11 @@ func (l *LobbyInfo) String() string { // A region that the player can connect to. type RegionInfo struct { - RegionId sdk.Identifier `json:"region_id"` - ProviderDisplayName string `json:"provider_display_name"` - RegionDisplayName string `json:"region_display_name"` - DatacenterCoord *geo.Coord `json:"datacenter_coord,omitempty"` - DatacenterDistanceFromClient *geo.Distance `json:"datacenter_distance_from_client,omitempty"` + RegionId sdk.Identifier `json:"region_id"` + ProviderDisplayName sdk.DisplayName `json:"provider_display_name"` + RegionDisplayName sdk.DisplayName `json:"region_display_name"` + DatacenterCoord *geo.Coord `json:"datacenter_coord,omitempty"` + DatacenterDistanceFromClient *geo.Distance `json:"datacenter_distance_from_client,omitempty"` _rawJSON json.RawMessage } diff --git a/sdks/runtime/go/types.go b/sdks/runtime/go/types.go index ef41e56498..83f85d8780 100644 --- a/sdks/runtime/go/types.go +++ b/sdks/runtime/go/types.go @@ -8,6 +8,7 @@ import ( core "sdk/core" ) +// Represent a resource's readable display name. type DisplayName = string type ErrorBody struct { diff --git a/sdks/runtime/openapi/openapi.yml b/sdks/runtime/openapi/openapi.yml index b81c9b33c5..371d3df1a6 100644 --- a/sdks/runtime/openapi/openapi.yml +++ b/sdks/runtime/openapi/openapi.yml @@ -1464,6 +1464,7 @@ components: - index DisplayName: type: string + description: Represent a resource's readable display name. ErrorMetadata: description: Unstructured metadata relating to an error. Must be manually parsed. ErrorBody: @@ -1595,9 +1596,9 @@ components: region_id: $ref: '#/components/schemas/Identifier' provider_display_name: - type: string + $ref: '#/components/schemas/DisplayName' region_display_name: - type: string + $ref: '#/components/schemas/DisplayName' datacenter_coord: $ref: '#/components/schemas/GeoCoord' datacenter_distance_from_client: diff --git a/sdks/runtime/openapi_compat/openapi.yml b/sdks/runtime/openapi_compat/openapi.yml index b3c953aa49..bf0383bc20 100644 --- a/sdks/runtime/openapi_compat/openapi.yml +++ b/sdks/runtime/openapi_compat/openapi.yml @@ -25,6 +25,7 @@ components: - client_response type: object DisplayName: + description: Represent a resource's readable display name. type: string ErrorBody: properties: @@ -408,9 +409,9 @@ components: datacenter_distance_from_client: $ref: '#/components/schemas/GeoDistance' provider_display_name: - type: string + $ref: '#/components/schemas/DisplayName' region_display_name: - type: string + $ref: '#/components/schemas/DisplayName' region_id: $ref: '#/components/schemas/Identifier' required: diff --git a/sdks/runtime/rust/docs/MatchmakerJoinRegion.md b/sdks/runtime/rust/docs/MatchmakerJoinRegion.md index 8efd1bfa09..0ba22c74ff 100644 --- a/sdks/runtime/rust/docs/MatchmakerJoinRegion.md +++ b/sdks/runtime/rust/docs/MatchmakerJoinRegion.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**display_name** | **String** | | +**display_name** | **String** | Represent a resource's readable display name. | **region_id** | **String** | A human readable short identifier used to references resources. Different than a `uuid` because this is intended to be human readable. Different than `DisplayName` because this should not include special characters and be short. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/runtime/rust/docs/MatchmakerRegionInfo.md b/sdks/runtime/rust/docs/MatchmakerRegionInfo.md index 8aab80146b..10a2ff6747 100644 --- a/sdks/runtime/rust/docs/MatchmakerRegionInfo.md +++ b/sdks/runtime/rust/docs/MatchmakerRegionInfo.md @@ -6,8 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **datacenter_coord** | [**crate::models::GeoCoord**](GeoCoord.md) | | **datacenter_distance_from_client** | [**crate::models::GeoDistance**](GeoDistance.md) | | -**provider_display_name** | **String** | | -**region_display_name** | **String** | | +**provider_display_name** | **String** | Represent a resource's readable display name. | +**region_display_name** | **String** | Represent a resource's readable display name. | **region_id** | **String** | A human readable short identifier used to references resources. Different than a `uuid` because this is intended to be human readable. Different than `DisplayName` because this should not include special characters and be short. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/runtime/rust/src/models/matchmaker_join_region.rs b/sdks/runtime/rust/src/models/matchmaker_join_region.rs index a95fb7ad9d..7f38d680cf 100644 --- a/sdks/runtime/rust/src/models/matchmaker_join_region.rs +++ b/sdks/runtime/rust/src/models/matchmaker_join_region.rs @@ -14,6 +14,7 @@ #[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)] pub struct MatchmakerJoinRegion { + /// Represent a resource's readable display name. #[serde(rename = "display_name")] pub display_name: String, /// A human readable short identifier used to references resources. Different than a `uuid` because this is intended to be human readable. Different than `DisplayName` because this should not include special characters and be short. diff --git a/sdks/runtime/rust/src/models/matchmaker_region_info.rs b/sdks/runtime/rust/src/models/matchmaker_region_info.rs index cf10ffc55d..ed5df899d6 100644 --- a/sdks/runtime/rust/src/models/matchmaker_region_info.rs +++ b/sdks/runtime/rust/src/models/matchmaker_region_info.rs @@ -18,8 +18,10 @@ pub struct MatchmakerRegionInfo { pub datacenter_coord: Box, #[serde(rename = "datacenter_distance_from_client")] pub datacenter_distance_from_client: Box, + /// Represent a resource's readable display name. #[serde(rename = "provider_display_name")] pub provider_display_name: String, + /// Represent a resource's readable display name. #[serde(rename = "region_display_name")] pub region_display_name: String, /// A human readable short identifier used to references resources. Different than a `uuid` because this is intended to be human readable. Different than `DisplayName` because this should not include special characters and be short. diff --git a/sdks/runtime/typescript/src/api/resources/common/types/DisplayName.ts b/sdks/runtime/typescript/src/api/resources/common/types/DisplayName.ts index 213d3d6dee..1baa23f256 100644 --- a/sdks/runtime/typescript/src/api/resources/common/types/DisplayName.ts +++ b/sdks/runtime/typescript/src/api/resources/common/types/DisplayName.ts @@ -2,4 +2,7 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * Represent a resource's readable display name. + */ export type DisplayName = string; diff --git a/sdks/runtime/typescript/src/api/resources/matchmaker/resources/common/types/RegionInfo.ts b/sdks/runtime/typescript/src/api/resources/matchmaker/resources/common/types/RegionInfo.ts index 17451ad3ab..666d7892d4 100644 --- a/sdks/runtime/typescript/src/api/resources/matchmaker/resources/common/types/RegionInfo.ts +++ b/sdks/runtime/typescript/src/api/resources/matchmaker/resources/common/types/RegionInfo.ts @@ -9,8 +9,8 @@ import * as Rivet from "../../../../.."; */ export interface RegionInfo { regionId: Rivet.Identifier; - providerDisplayName: string; - regionDisplayName: string; + providerDisplayName: Rivet.DisplayName; + regionDisplayName: Rivet.DisplayName; datacenterCoord: Rivet.geo.Coord; datacenterDistanceFromClient: Rivet.geo.Distance; } diff --git a/sdks/runtime/typescript/src/serialization/resources/matchmaker/resources/common/types/RegionInfo.ts b/sdks/runtime/typescript/src/serialization/resources/matchmaker/resources/common/types/RegionInfo.ts index 6f320c36ca..6268b0e956 100644 --- a/sdks/runtime/typescript/src/serialization/resources/matchmaker/resources/common/types/RegionInfo.ts +++ b/sdks/runtime/typescript/src/serialization/resources/matchmaker/resources/common/types/RegionInfo.ts @@ -14,8 +14,14 @@ export const RegionInfo: core.serialization.ObjectSchema< "region_id", core.serialization.lazy(async () => (await import("../../../../..")).Identifier) ), - providerDisplayName: core.serialization.property("provider_display_name", core.serialization.string()), - regionDisplayName: core.serialization.property("region_display_name", core.serialization.string()), + providerDisplayName: core.serialization.property( + "provider_display_name", + core.serialization.lazy(async () => (await import("../../../../..")).DisplayName) + ), + regionDisplayName: core.serialization.property( + "region_display_name", + core.serialization.lazy(async () => (await import("../../../../..")).DisplayName) + ), datacenterCoord: core.serialization.property( "datacenter_coord", core.serialization.lazyObject(async () => (await import("../../../../..")).geo.Coord) @@ -29,8 +35,8 @@ export const RegionInfo: core.serialization.ObjectSchema< export declare namespace RegionInfo { interface Raw { region_id: serializers.Identifier.Raw; - provider_display_name: string; - region_display_name: string; + provider_display_name: serializers.DisplayName.Raw; + region_display_name: serializers.DisplayName.Raw; datacenter_coord: serializers.geo.Coord.Raw; datacenter_distance_from_client: serializers.geo.Distance.Raw; } diff --git a/svc/Cargo.lock b/svc/Cargo.lock index 61d809f42b..ee6f2690b9 100644 --- a/svc/Cargo.lock +++ b/svc/Cargo.lock @@ -9518,9 +9518,6 @@ dependencies = [ "chirp-client", "chirp-worker", "game-get", - "rivet-health-checks", - "rivet-metrics", - "rivet-runtime", "team-member-list", ] diff --git a/svc/api/cloud/src/auth.rs b/svc/api/cloud/src/auth.rs index f809b0b55e..6b6306ce36 100644 --- a/svc/api/cloud/src/auth.rs +++ b/svc/api/cloud/src/auth.rs @@ -281,14 +281,12 @@ impl Auth { }) .await?; - // Aggregate game IDs in to a single list - let mut game_ids = Vec::new(); - for team in &games_res.teams { - for game_id in &team.game_ids { - let game_id = game_id.as_uuid(); - game_ids.push(game_id); - } - } + let game_ids = games_res + .teams + .iter() + .flat_map(|team| &team.game_ids) + .map(|id| id.as_uuid()) + .collect::>(); (Some(user_ent.user_id), team_ids, game_ids) } else if let Ok(cloud_ent) = claims.as_game_cloud() { diff --git a/svc/api/cloud/src/route/games/mod.rs b/svc/api/cloud/src/route/games/mod.rs index 7dffac4361..92aa993784 100644 --- a/svc/api/cloud/src/route/games/mod.rs +++ b/svc/api/cloud/src/route/games/mod.rs @@ -45,10 +45,7 @@ pub async fn list( } }) } else { - bail_with!( - API_UNAUTHORIZED, - reason = "Cloud token cannot watch `/games`" - ); + bail_with!(API_FORBIDDEN, reason = "Cloud token cannot watch `/games`"); } } else { Default::default() diff --git a/svc/api/matchmaker/src/route/lobbies.rs b/svc/api/matchmaker/src/route/lobbies.rs index ff1778abef..922a2745aa 100644 --- a/svc/api/matchmaker/src/route/lobbies.rs +++ b/svc/api/matchmaker/src/route/lobbies.rs @@ -1048,12 +1048,15 @@ async fn find_inner( debug: None, }) .await?; - let lobby_id = match find_res - .map_err(|msg| backend::matchmaker::lobby_find::ErrorCode::from_i32(msg.error_code)) - { + let lobby_id = match find_res { Ok(res) => unwrap_ref!(res.lobby_id).as_uuid(), - Err(Some(code)) => { - use backend::matchmaker::lobby_find::ErrorCode::*; + Err(err) => { + use backend::matchmaker::lobby_find::ErrorCode::{self, *}; + + let code = unwrap!( + ErrorCode::from_i32(err.error_code), + "failed to parse find error code" + ); match code { Unknown => bail!("unknown find error code"), @@ -1078,7 +1081,6 @@ async fn find_inner( RegistrationRequired => bail_with!(MATCHMAKER_REGISTRATION_REQUIRED), }; } - Err(None) => bail!("failed to parse find error code"), }; // Fetch lobby data diff --git a/svc/pkg/cf-custom-hostname/worker/src/lib.rs b/svc/pkg/cf-custom-hostname/worker/src/lib.rs index 3719b10aa8..9d6b5ad841 100644 --- a/svc/pkg/cf-custom-hostname/worker/src/lib.rs +++ b/svc/pkg/cf-custom-hostname/worker/src/lib.rs @@ -1 +1,14 @@ +use serde::Deserialize; + pub mod workers; + +#[derive(Debug, Deserialize)] +struct CloudflareError { + errors: Vec, +} + +#[derive(Debug, Deserialize)] +struct CloudflareErrorEntry { + code: usize, + message: String, +} diff --git a/svc/pkg/cf-custom-hostname/worker/src/workers/create.rs b/svc/pkg/cf-custom-hostname/worker/src/workers/create.rs index 7d76b9b142..c074300027 100644 --- a/svc/pkg/cf-custom-hostname/worker/src/workers/create.rs +++ b/svc/pkg/cf-custom-hostname/worker/src/workers/create.rs @@ -3,6 +3,8 @@ use proto::backend::{self, pkg::*}; use serde::Deserialize; use serde_json::json; +use crate::CloudflareError; + #[derive(Debug, Deserialize)] struct CloudflareResponse { result: CloudflareResult, @@ -20,17 +22,6 @@ struct CloudflareOwnershipVerificationHttp { http_body: Uuid, } -#[derive(Debug, Deserialize)] -struct CloudflareError { - errors: Vec, -} - -#[derive(Debug, Deserialize)] -struct CloudflareErrorEntry { - code: usize, - // message: String, -} - /// Send a lobby create fail message and cleanup the lobby if needed. #[tracing::instrument] async fn fail( diff --git a/svc/pkg/cf-custom-hostname/worker/src/workers/delete.rs b/svc/pkg/cf-custom-hostname/worker/src/workers/delete.rs index d98809a0af..9f737972c1 100644 --- a/svc/pkg/cf-custom-hostname/worker/src/workers/delete.rs +++ b/svc/pkg/cf-custom-hostname/worker/src/workers/delete.rs @@ -2,16 +2,7 @@ use chirp_worker::prelude::*; use proto::backend::pkg::*; use serde::Deserialize; -#[derive(Debug, Deserialize)] -struct CloudflareError { - errors: Vec, -} - -#[derive(Debug, Deserialize)] -struct CloudflareErrorEntry { - code: usize, - // message: String, -} +use crate::CloudflareError; #[worker(name = "cf-custom-hostname-delete")] async fn worker( diff --git a/svc/pkg/cluster/worker/src/workers/datacenter_tls_issue.rs b/svc/pkg/cluster/worker/src/workers/datacenter_tls_issue.rs index a5a89106d9..c6963cf3a4 100644 --- a/svc/pkg/cluster/worker/src/workers/datacenter_tls_issue.rs +++ b/svc/pkg/cluster/worker/src/workers/datacenter_tls_issue.rs @@ -37,7 +37,7 @@ async fn worker( let account = acme_account().await?; let base_zone_id = unwrap!( - util::env::cloudflare::zone::base::id(), + util::env::cloudflare::zone::main::id(), "dns not configured" ); let job_zone_id = unwrap!(util::env::cloudflare::zone::job::id(), "dns not configured"); diff --git a/svc/pkg/external/ops/request-validate/src/lib.rs b/svc/pkg/external/ops/request-validate/src/lib.rs index b0c5cb1e2c..da30def89c 100644 --- a/svc/pkg/external/ops/request-validate/src/lib.rs +++ b/svc/pkg/external/ops/request-validate/src/lib.rs @@ -1,7 +1,7 @@ use std::{net::IpAddr, str::FromStr}; use http::{uri::Scheme, HeaderName, HeaderValue, Uri}; -use proto::backend::pkg::*; +use proto::{backend::pkg::*, common}; use rivet_operation::prelude::*; #[operation(name = "external-request-validate")] @@ -78,7 +78,7 @@ async fn handle( Ok(external::request_validate::Response { errors: errors .into_iter() - .map(|path| external::request_validate::response::Error { path }) + .map(|path| common::ValidationError { path }) .collect::>(), }) } diff --git a/svc/pkg/external/types/request-validate.proto b/svc/pkg/external/types/request-validate.proto index 893cc38125..5cba29bc64 100644 --- a/svc/pkg/external/types/request-validate.proto +++ b/svc/pkg/external/types/request-validate.proto @@ -10,9 +10,5 @@ message Request { } message Response { - message Error { - repeated string path = 1; - } - - repeated Error errors = 1; + repeated rivet.common.ValidationError errors = 1; } diff --git a/svc/pkg/game/ops/create/src/lib.rs b/svc/pkg/game/ops/create/src/lib.rs index e64c0aff82..21cee15b51 100644 --- a/svc/pkg/game/ops/create/src/lib.rs +++ b/svc/pkg/game/ops/create/src/lib.rs @@ -16,8 +16,6 @@ async fn handle( }) .await?; if !validation_res.errors.is_empty() { - tracing::warn!(errors = ?validation_res.errors, "validation errors"); - let readable_errors = validation_res .errors .iter() diff --git a/svc/pkg/game/ops/namespace-validate/src/lib.rs b/svc/pkg/game/ops/namespace-validate/src/lib.rs index fb9d588be7..993df87913 100644 --- a/svc/pkg/game/ops/namespace-validate/src/lib.rs +++ b/svc/pkg/game/ops/namespace-validate/src/lib.rs @@ -1,4 +1,4 @@ -use proto::backend::pkg::*; +use proto::{backend::pkg::*, common}; use rivet_operation::prelude::*; #[operation(name = "game-namespace-validate")] @@ -43,7 +43,7 @@ async fn handle( Ok(game::namespace_validate::Response { errors: errors .into_iter() - .map(|path| game::namespace_validate::response::Error { path }) + .map(|path| common::ValidationError { path }) .collect::>(), }) } diff --git a/svc/pkg/game/ops/token-development-validate/src/lib.rs b/svc/pkg/game/ops/token-development-validate/src/lib.rs index 1385af2476..5f3136dd16 100644 --- a/svc/pkg/game/ops/token-development-validate/src/lib.rs +++ b/svc/pkg/game/ops/token-development-validate/src/lib.rs @@ -1,7 +1,8 @@ use std::collections::HashSet; -use proto::backend::{ - matchmaker::lobby_runtime::ProxyProtocol as LobbyRuntimeProxyProtocol, pkg::*, +use proto::{ + backend::{matchmaker::lobby_runtime::ProxyProtocol as LobbyRuntimeProxyProtocol, pkg::*}, + common, }; use rivet_operation::prelude::*; @@ -115,7 +116,7 @@ async fn handle( Ok(game::token_development_validate::Response { errors: errors .into_iter() - .map(|path| game::token_development_validate::response::Error { path }) + .map(|path| common::ValidationError { path }) .collect::>(), }) } diff --git a/svc/pkg/game/ops/validate/src/lib.rs b/svc/pkg/game/ops/validate/src/lib.rs index afac219976..f669dbeb4d 100644 --- a/svc/pkg/game/ops/validate/src/lib.rs +++ b/svc/pkg/game/ops/validate/src/lib.rs @@ -1,4 +1,4 @@ -use proto::backend::pkg::*; +use proto::{backend::pkg::*, common}; use rivet_operation::prelude::*; #[operation(name = "game-validate")] @@ -40,7 +40,7 @@ async fn handle( Ok(game::validate::Response { errors: errors .into_iter() - .map(|path| game::validate::response::Error { path }) + .map(|path| common::ValidationError { path }) .collect::>(), }) } diff --git a/svc/pkg/game/ops/version-validate/src/lib.rs b/svc/pkg/game/ops/version-validate/src/lib.rs index c910091527..8f803a8248 100644 --- a/svc/pkg/game/ops/version-validate/src/lib.rs +++ b/svc/pkg/game/ops/version-validate/src/lib.rs @@ -1,15 +1,18 @@ use std::{collections::HashSet, convert::TryInto}; -use proto::backend::{ - self, - matchmaker::{ +use proto::{ + backend::{ self, - lobby_runtime::{ - NetworkMode as LobbyRuntimeNetworkMode, ProxyKind as LobbyRuntimeProxyKind, - ProxyProtocol as LobbyRuntimeProxyProtocol, + matchmaker::{ + self, + lobby_runtime::{ + NetworkMode as LobbyRuntimeNetworkMode, ProxyKind as LobbyRuntimeProxyKind, + ProxyProtocol as LobbyRuntimeProxyProtocol, + }, }, + pkg::*, }, - pkg::*, + common, }; use rivet_operation::prelude::*; @@ -1256,7 +1259,7 @@ async fn handle( Ok(game::version_validate::Response { errors: errors .into_iter() - .map(|path| game::version_validate::response::Error { path }) + .map(|path| common::ValidationError { path }) .collect::>(), }) } diff --git a/svc/pkg/game/types/namespace-validate.proto b/svc/pkg/game/types/namespace-validate.proto index b4d3670adf..6c32135b92 100644 --- a/svc/pkg/game/types/namespace-validate.proto +++ b/svc/pkg/game/types/namespace-validate.proto @@ -11,9 +11,5 @@ message Request { } message Response { - message Error { - repeated string path = 1; - } - - repeated Error errors = 1; + repeated rivet.common.ValidationError errors = 1; } diff --git a/svc/pkg/game/types/token-development-validate.proto b/svc/pkg/game/types/token-development-validate.proto index 22e209fb73..49f691e798 100644 --- a/svc/pkg/game/types/token-development-validate.proto +++ b/svc/pkg/game/types/token-development-validate.proto @@ -11,9 +11,5 @@ message Request { } message Response { - message Error { - repeated string path = 1; - } - - repeated Error errors = 1; + repeated rivet.common.ValidationError errors = 1; } diff --git a/svc/pkg/game/types/validate.proto b/svc/pkg/game/types/validate.proto index bfb464efe4..3de36733b9 100644 --- a/svc/pkg/game/types/validate.proto +++ b/svc/pkg/game/types/validate.proto @@ -10,9 +10,5 @@ message Request { } message Response { - message Error { - repeated string path = 1; - } - - repeated Error errors = 1; + repeated rivet.common.ValidationError errors = 1; } diff --git a/svc/pkg/game/types/version-validate.proto b/svc/pkg/game/types/version-validate.proto index 54a76d1b1b..781690335c 100644 --- a/svc/pkg/game/types/version-validate.proto +++ b/svc/pkg/game/types/version-validate.proto @@ -12,9 +12,5 @@ message Request { } message Response { - message Error { - repeated string path = 1; - } - - repeated Error errors = 1; + repeated rivet.common.ValidationError errors = 1; } diff --git a/svc/pkg/mm-config/ops/namespace-config-validate/src/lib.rs b/svc/pkg/mm-config/ops/namespace-config-validate/src/lib.rs index bb88c33cf4..9f4a120f68 100644 --- a/svc/pkg/mm-config/ops/namespace-config-validate/src/lib.rs +++ b/svc/pkg/mm-config/ops/namespace-config-validate/src/lib.rs @@ -1,4 +1,4 @@ -use proto::backend::pkg::*; +use proto::{backend::pkg::*, common}; use rivet_operation::prelude::*; #[operation(name = "mm-config-namespace-config-validate")] @@ -37,7 +37,7 @@ async fn handle( Ok(mm_config::namespace_config_validate::Response { errors: errors .into_iter() - .map(|path| mm_config::namespace_config_validate::response::Error { path }) + .map(|path| common::ValidationError { path }) .collect::>(), }) } diff --git a/svc/pkg/mm-config/types/namespace-config-validate.proto b/svc/pkg/mm-config/types/namespace-config-validate.proto index 01ebe4a860..d37e24a7ba 100644 --- a/svc/pkg/mm-config/types/namespace-config-validate.proto +++ b/svc/pkg/mm-config/types/namespace-config-validate.proto @@ -15,9 +15,5 @@ message Request { } message Response { - message Error { - repeated string path = 1; - } - - repeated Error errors = 1; + repeated rivet.common.ValidationError errors = 1; } diff --git a/svc/pkg/mm/util/src/verification.rs b/svc/pkg/mm/util/src/verification.rs index be26437c89..ae51d87f55 100644 --- a/svc/pkg/mm/util/src/verification.rs +++ b/svc/pkg/mm/util/src/verification.rs @@ -164,12 +164,6 @@ pub async fn verify_config( r#""private" publicity not allowed with this custom game mode"# ); } - _ => { - bail_with!( - MATCHMAKER_CUSTOM_LOBBY_CONFIG_INVALID, - reason = "given publicity not allowed" - ); - } } // Verify lobby count diff --git a/svc/pkg/team/ops/profile-validate/src/lib.rs b/svc/pkg/team/ops/profile-validate/src/lib.rs index 3867ee10e7..415d2459a6 100644 --- a/svc/pkg/team/ops/profile-validate/src/lib.rs +++ b/svc/pkg/team/ops/profile-validate/src/lib.rs @@ -1,4 +1,4 @@ -use proto::backend::pkg::*; +use proto::{backend::pkg::*, common}; use rivet_operation::prelude::*; #[operation(name = "team-profile-validate")] @@ -52,7 +52,7 @@ async fn handle( Ok(team::profile_validate::Response { errors: errors .into_iter() - .map(|path| team::profile_validate::response::Error { path }) + .map(|path| common::ValidationError { path }) .collect::>(), }) } diff --git a/svc/pkg/team/ops/validate/src/lib.rs b/svc/pkg/team/ops/validate/src/lib.rs index 6b612ad891..43654a6be2 100644 --- a/svc/pkg/team/ops/validate/src/lib.rs +++ b/svc/pkg/team/ops/validate/src/lib.rs @@ -1,4 +1,4 @@ -use proto::backend::pkg::*; +use proto::{backend::pkg::*, common}; use rivet_operation::prelude::*; #[operation(name = "team-validate")] @@ -40,7 +40,7 @@ async fn handle( Ok(team::validate::Response { errors: errors .into_iter() - .map(|path| team::validate::response::Error { path }) + .map(|path| common::ValidationError { path }) .collect::>(), }) } diff --git a/svc/pkg/team/types/profile-validate.proto b/svc/pkg/team/types/profile-validate.proto index 2a16aa23d2..c7998c0afb 100644 --- a/svc/pkg/team/types/profile-validate.proto +++ b/svc/pkg/team/types/profile-validate.proto @@ -10,9 +10,5 @@ message Request { } message Response { - message Error { - repeated string path = 1; - } - - repeated Error errors = 1; + repeated rivet.common.ValidationError errors = 1; } diff --git a/svc/pkg/team/types/validate.proto b/svc/pkg/team/types/validate.proto index eca7b06472..eca005b030 100644 --- a/svc/pkg/team/types/validate.proto +++ b/svc/pkg/team/types/validate.proto @@ -9,9 +9,5 @@ message Request { } message Response { - message Error { - repeated string path = 1; - } - - repeated Error errors = 1; + repeated rivet.common.ValidationError errors = 1; } diff --git a/svc/pkg/user-dev/worker/Cargo.toml b/svc/pkg/user-dev/worker/Cargo.toml index be0f656165..4710b38ecf 100644 --- a/svc/pkg/user-dev/worker/Cargo.toml +++ b/svc/pkg/user-dev/worker/Cargo.toml @@ -8,12 +8,6 @@ license = "Apache-2.0" [dependencies] chirp-client = { path = "../../../../lib/chirp/client" } chirp-worker = { path = "../../../../lib/chirp/worker" } -rivet-health-checks = { path = "../../../../lib/health-checks" } -rivet-metrics = { path = "../../../../lib/metrics" } -rivet-runtime = { path = "../../../../lib/runtime" } game-get = { path = "../../game/ops/get" } team-member-list = { path = "../../team/ops/member-list" } - -[dev-dependencies] -chirp-worker = { path = "../../../../lib/chirp/worker" } diff --git a/svc/pkg/user-presence/ops/get/src/lib.rs b/svc/pkg/user-presence/ops/get/src/lib.rs index e8ddd6bbe2..2d6d84c049 100644 --- a/svc/pkg/user-presence/ops/get/src/lib.rs +++ b/svc/pkg/user-presence/ops/get/src/lib.rs @@ -38,18 +38,15 @@ async fn handle( ); } - pipe.query_async::<_, Vec< - Vec<( - Option, - Option, - Option, - Option, - Option, - )>, - >>(&mut redis) + pipe.query_async::<_, Vec<( + Option, + Option, + Option, + Option, + Option, + )>>(&mut redis) .await? .into_iter() - .flatten() .map( |(user_id, game_id, message, public_metadata, friend_metadata)| { if user_id.is_none() { @@ -90,10 +87,9 @@ async fn handle( ); } - pipe.query_async::<_, Vec, Option, Option)>>>(&mut redis) + pipe.query_async::<_, Vec<(Option, Option, Option)>>(&mut redis) .await? .into_iter() - .flatten() .map(|(user_id, update_ts, status)| { if user_id.is_none() { return GlobalResult::Ok(None); diff --git a/svc/pkg/user/ops/profile-validate/src/lib.rs b/svc/pkg/user/ops/profile-validate/src/lib.rs index 14a96b7827..bc8be9b0ff 100644 --- a/svc/pkg/user/ops/profile-validate/src/lib.rs +++ b/svc/pkg/user/ops/profile-validate/src/lib.rs @@ -1,4 +1,4 @@ -use proto::backend::pkg::*; +use proto::{backend::pkg::*, common}; use rivet_operation::prelude::*; #[operation(name = "user-profile-validate")] @@ -100,7 +100,7 @@ async fn handle( Ok(user::profile_validate::Response { errors: errors .into_iter() - .map(|path| user::profile_validate::response::Error { path }) + .map(|path| common::ValidationError { path }) .collect::>(), }) } diff --git a/svc/pkg/user/types/profile-validate.proto b/svc/pkg/user/types/profile-validate.proto index 8369b92495..e2f5ecba95 100644 --- a/svc/pkg/user/types/profile-validate.proto +++ b/svc/pkg/user/types/profile-validate.proto @@ -12,9 +12,5 @@ message Request { } message Response { - message Error { - repeated string path = 1; - } - - repeated Error errors = 1; + repeated rivet.common.ValidationError errors = 1; } diff --git a/svc/pkg/user/worker/src/workers/delete.rs b/svc/pkg/user/worker/src/workers/delete.rs index 3227872bc2..cac285c196 100644 --- a/svc/pkg/user/worker/src/workers/delete.rs +++ b/svc/pkg/user/worker/src/workers/delete.rs @@ -72,8 +72,8 @@ async fn worker(ctx: &OperationContext) -> GlobalRes // Filter out teams where the user is the owner let non_owner_teams = teams_res .teams - .iter() - .cloned() + .clone() + .into_iter() .filter(|team| team.owner_user_id != ctx.user_id); futures_util::stream::iter(non_owner_teams) .map(|team| {