From 46a74c6fb1c455a51b0433c0becad80923f73a23 Mon Sep 17 00:00:00 2001 From: jellejurre Date: Sat, 8 Mar 2025 01:35:41 +0100 Subject: [PATCH] Add content settings --- openapi/components/schemas/FavoritedWorld.yaml | 3 +++ openapi/components/schemas/Instance.yaml | 2 ++ openapi/components/schemas/LimitedWorld.yaml | 5 +++++ openapi/components/schemas/World.yaml | 3 +++ 4 files changed, 13 insertions(+) diff --git a/openapi/components/schemas/FavoritedWorld.yaml b/openapi/components/schemas/FavoritedWorld.yaml index 29e833b5..c60051df 100644 --- a/openapi/components/schemas/FavoritedWorld.yaml +++ b/openapi/components/schemas/FavoritedWorld.yaml @@ -11,6 +11,8 @@ properties: description: minLength: 1 type: string + defaultContentSettings: + type: object recommendedCapacity: example: 16 type: integer @@ -106,6 +108,7 @@ properties: required: - id - description + - defaultContentSettings - name - authorId - authorName diff --git a/openapi/components/schemas/Instance.yaml b/openapi/components/schemas/Instance.yaml index cd03e1eb..1061dd48 100644 --- a/openapi/components/schemas/Instance.yaml +++ b/openapi/components/schemas/Instance.yaml @@ -25,6 +25,8 @@ properties: minLength: 1 deprecated: true description: Always returns "unknown". + contentSettings: + type: object displayName: type: string nullable: true diff --git a/openapi/components/schemas/LimitedWorld.yaml b/openapi/components/schemas/LimitedWorld.yaml index e888df1e..e96fe02e 100644 --- a/openapi/components/schemas/LimitedWorld.yaml +++ b/openapi/components/schemas/LimitedWorld.yaml @@ -8,6 +8,8 @@ properties: capacity: example: 8 type: integer + defaultContentSettings: + type: object recommendedCapacity: example: 16 type: integer @@ -72,6 +74,8 @@ properties: thumbnailImageUrl: minLength: 1 type: string + storeId: + type: string unityPackages: description: ' ' items: @@ -91,6 +95,7 @@ required: - authorId - authorName - capacity + - defaultContentSettings - imageUrl - thumbnailImageUrl - releaseStatus diff --git a/openapi/components/schemas/World.yaml b/openapi/components/schemas/World.yaml index ee6f1d14..87320be9 100644 --- a/openapi/components/schemas/World.yaml +++ b/openapi/components/schemas/World.yaml @@ -19,6 +19,8 @@ properties: description: minLength: 0 type: string + defaultContentSettings: + type: object favorites: default: 0 example: 12024 @@ -131,6 +133,7 @@ required: - recommendedCapacity - created_at - description + - defaultContentSettings - featured - heat - id