宇宙のリソースパス。
形式: universes/{universe_id}.
*このコンテンツは、ベータ版のAI(人工知能)を使用して翻訳されており、エラーが含まれている可能性があります。このページを英語で表示するには、 こちら をクリックしてください。
Roblox の経験を表現します。
宇宙のリソースパス。
形式: universes/{universe_id}.
宇宙が作成された時刻。. この文字列は Timestamp としてフォーマットされています。
宇宙が最後に更新されたタイムスタンプ。. この文字列は Timestamp としてフォーマットされています。
宇宙の名前。
このフィールドは、ルートの場所の名前を更新することで更新できます。.
宇宙の説明。
このフィールドは、根の場所の説明を更新することで更新できます。.
宇宙はユーザー所有です。.
宇宙はグループ所有です。.
宇宙が公開アクセス可能かどうか。
可能な値:
| 値 | 説明 | | --- | --- | | VISIBILITY_UNSPECIFIED | この値を使用して更新すると、バックエンドでエラーが発生します。| | 公開 | 宇宙は公開です。| | PRIVATE | 宇宙はプライベートです。 宇宙の可視性がプライベトに設定されている場合、すべてのアクティブなプレイヤーがすべての実行中のサーバーからすぐに削除されます。|. 可能な値:
Facebook のソーシャルリンク。.
Twitter のソーシャルリンク。.
Youtube のソーシャルリンク。.
Twitch のソーシャルリンク。.
Discord のソーシャルリンク。.
Roblox グループのソーシャルリンク。.
ギルデッドのソーシャルリンク。.
エクスペリエンス内のユーザーに対して、ボイスチャットが有効かどうか。
この値を更新すると、アクティブなサーバーには影響しません。.
この宇宙の年齢評価。
可能な値:
| 値 | 説明 | | --- | --- | | AGE_RATING_UNSPECIFIED | 年齢評価は設定されていません。| | AGE_RATING_ALL | すべてのユーザーに対応。| | AGE_RATING_9_PLUS | 9歳以上のユーザーに対応。| | AGE_RATING_13_PLUS | 13歳以上のユーザーに対応。| | AGE_RATING_17_PLUS | 17歳以上のユーザーに対応。 |. 可能な値:
プライベートサーバーの Robux 価格を表示します。
未設定の場合、この宇宙にはプライベートサーバーはサポートされません。
フィールドマスクを使用するときにのみ無効にできます。
ゼロに設定すると、すべての有効なプライベートサーバーが無効になります。
価格を変更すると、すべてのプライベートサーバーのサブスクリプションがキャンセルされます。.
プレイヤーがデスクトップでエクスペリエンスに参加できるかどうか。.
プレイヤーがモバイルでエクスペリエンスに参加できるかどうか。.
プレイヤーがタブレットを介してエクスペリエンスに参加できるかどうか。.
プレイヤーがコンソールを介してエクスペリエンスに参加できるかどうか。.
プレイヤーが VR を介してエクスペリエンスに参加できるかどうか。.
https://apis.roblox.com
{
"path": "universes/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!",
"user": "string",
"visibility": "VISIBILITY_UNSPECIFIED",
"facebookSocialLink": {
"title": "string",
"uri": "string"
},
"twitterSocialLink": {
"title": "string",
"uri": "string"
},
"youtubeSocialLink": {
"title": "string",
"uri": "string"
},
"twitchSocialLink": {
"title": "string",
"uri": "string"
},
"discordSocialLink": {
"title": "string",
"uri": "string"
},
"robloxGroupSocialLink": {
"title": "string",
"uri": "string"
},
"guildedSocialLink": {
"title": "string",
"uri": "string"
},
"voiceChatEnabled": true,
"ageRating": "AGE_RATING_UNSPECIFIED",
"privateServerPriceRobux": "integer",
"desktopEnabled": true,
"mobileEnabled": true,
"tabletEnabled": true,
"consoleEnabled": true,
"vrEnabled": true
}
指定された宇宙を取得します。
ユニバースID。.
curl -L -X GET 'https://apis.roblox.com/cloud/v2/universes/{universe_id}' \
-H 'x-api-key: {your-api-key}'
{
"path": "universes/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!",
"user": "string",
"visibility": "VISIBILITY_UNSPECIFIED",
"facebookSocialLink": {
"title": "string",
"uri": "string"
},
"twitterSocialLink": {
"title": "string",
"uri": "string"
},
"youtubeSocialLink": {
"title": "string",
"uri": "string"
},
"twitchSocialLink": {
"title": "string",
"uri": "string"
},
"discordSocialLink": {
"title": "string",
"uri": "string"
},
"robloxGroupSocialLink": {
"title": "string",
"uri": "string"
},
"guildedSocialLink": {
"title": "string",
"uri": "string"
},
"voiceChatEnabled": true,
"ageRating": "AGE_RATING_UNSPECIFIED",
"privateServerPriceRobux": "integer",
"desktopEnabled": true,
"mobileEnabled": true,
"tabletEnabled": true,
"consoleEnabled": true,
"vrEnabled": true
}
指定された宇宙を更新します。
このメソッドは、更新されたすべてのフィールドを返すことを保証します。このメソッドはまた、全体のリソースを返すこともあります。
ユニバースID。.
更新するフィールドのリスト。. この文字列は Timestamp としてフォーマットされています。
curl -L -X PATCH 'https://apis.roblox.com/cloud/v2/universes/{universe_id}?updateMask={string}' \
-H 'x-api-key: {your-api-key}' \
-H 'Content-Type: application/json' \
--data '{
"facebookSocialLink": {
"title": "string",
"uri": "string"
},
"twitterSocialLink": {
"title": "string",
"uri": "string"
},
"youtubeSocialLink": {
"title": "string",
"uri": "string"
},
"twitchSocialLink": {
"title": "string",
"uri": "string"
},
"discordSocialLink": {
"title": "string",
"uri": "string"
},
"robloxGroupSocialLink": {
"title": "string",
"uri": "string"
},
"guildedSocialLink": {
"title": "string",
"uri": "string"
},
"voiceChatEnabled": true,
"privateServerPriceRobux": "integer",
"desktopEnabled": true,
"mobileEnabled": true,
"tabletEnabled": true,
"consoleEnabled": true,
"vrEnabled": true
}'
{
"path": "universes/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!",
"user": "string",
"visibility": "VISIBILITY_UNSPECIFIED",
"facebookSocialLink": {
"title": "string",
"uri": "string"
},
"twitterSocialLink": {
"title": "string",
"uri": "string"
},
"youtubeSocialLink": {
"title": "string",
"uri": "string"
},
"twitchSocialLink": {
"title": "string",
"uri": "string"
},
"discordSocialLink": {
"title": "string",
"uri": "string"
},
"robloxGroupSocialLink": {
"title": "string",
"uri": "string"
},
"guildedSocialLink": {
"title": "string",
"uri": "string"
},
"voiceChatEnabled": true,
"ageRating": "AGE_RATING_UNSPECIFIED",
"privateServerPriceRobux": "integer",
"desktopEnabled": true,
"mobileEnabled": true,
"tabletEnabled": true,
"consoleEnabled": true,
"vrEnabled": true
}
宇宙のライブサーバーにメッセージを公開します。
サーバーは メッセージサービス を介してメッセージを消費できます。
ユニバースID。.
メッセージを公開するトピック。.
公開するメッセージ。.
curl -L -X POST 'https://apis.roblox.com/cloud/v2/universes/{universe_id}:publishMessage' \
-H 'x-api-key: {your-api-key}' \
-H 'Content-Type: application/json' \
--data '{
"topic": "my-topic",
"message": "Hello, world!"
}'
新しいバージョンのエクスペリエンスが公開された場合、特定の宇宙のすべてのアクティブなサーバーを再起動します。エクスペリエンスのアップデートをリリースするのに使用します。
ユニバースID。.
curl -L -X POST 'https://apis.roblox.com/cloud/v2/universes/{universe_id}:restartServers' \
-H 'x-api-key: {your-api-key}' \
-H 'Content-Type: application/json' \
--data '{}'
{}