*このコンテンツは、ベータ版のAI(人工知能)を使用して翻訳されており、エラーが含まれている可能性があります。このページを英語で表示するには、 こちら をクリックしてください。

Place

Roblox の場プレースを表現します。

属性

pathstring

場プレースのリソースパス。

形式: universes/{universe_id}/places/{place_id}.

createTimestring
出力のみ

場所が作成された時刻のタイムスタンプ。. この文字列は Timestamp としてフォーマットされています。

updateTimestring
出力のみ

場所が更新されたタイムスタンプ。. この文字列は Timestamp としてフォーマットされています。

displayNamestring

場プレースの名前。.

descriptionstring

場プレースの説明。.

serverSizenumber

単一のサーバーで許可されるユーザーの最大数。.

ベース URL

https://apis.roblox.com
Place リソース

{
"path": "universes/123/places/123",
"createTime": "2023-07-05T12:34:56Z",
"updateTime": "2023-07-05T12:34:56Z",
"displayName": "ROBLOX Battle [OPEN]",
"description": "OPEN SOURCE! \n Feel free to check out how we made this game and ask us about it!",
"serverSize": "integer"
}

Place

Get Place

GET /cloud/v2/universes/{universe_id}/places/{place_id}

指定された場プレースを取得します。

リクエストパスのパラメータ
universe_idstring
必須

ユニバースID。.

place_idstring
必須

プレースID。.

レスポンスPlace
GET /cloud/v2/universes/{universe_id}/places/{place_id}

curl -L -X GET 'https://apis.roblox.com/cloud/v2/universes/{universe_id}/places/{place_id}' \
-H 'x-api-key: {your-api-key}'
レスポンス

{
"path": "universes/123/places/123",
"createTime": "2023-07-05T12:34:56Z",
"updateTime": "2023-07-05T12:34:56Z",
"displayName": "ROBLOX Battle [OPEN]",
"description": "OPEN SOURCE! \n Feel free to check out how we made this game and ask us about it!",
"serverSize": "integer"
}

Place

Update Place

PATCH /cloud/v2/universes/{universe_id}/places/{place_id}

指定された場プレースを更新します。

範囲
universe.place:write
リクエストパスのパラメータ
universe_idstring
必須

ユニバースID。.

place_idstring
必須

プレースID。.

クエリのパラメータ
updateMaskstring

更アップデートするフィールドのリスト。. この文字列は Timestamp としてフォーマットされています。

リクエスト本文Place
レスポンスPlace
PATCH /cloud/v2/universes/{universe_id}/places/{place_id}

curl -L -X PATCH 'https://apis.roblox.com/cloud/v2/universes/{universe_id}/places/{place_id}?updateMask={string}' \
-H 'x-api-key: {your-api-key}' \
-H 'Content-Type: application/json' \
--data '{
"displayName": "ROBLOX Battle [OPEN]",
"description": "OPEN SOURCE! \n Feel free to check out how we made this game and ask us about it!",
"serverSize": "integer"
}'
レスポンス

{
"path": "universes/123/places/123",
"createTime": "2023-07-05T12:34:56Z",
"updateTime": "2023-07-05T12:34:56Z",
"displayName": "ROBLOX Battle [OPEN]",
"description": "OPEN SOURCE! \n Feel free to check out how we made this game and ask us about it!",
"serverSize": "integer"
}