Universe

属性

pathstring
createTimestring
仅输出
updateTimestring
仅输出
displayNamestring
仅输出
descriptionstring
仅输出

请为owner选择其中一项:

userstring
仅输出
groupstring
仅输出
visibilityEnum<string>
仅输出
facebookSocialLinkobject
twitterSocialLinkobject
youtubeSocialLinkobject
twitchSocialLinkobject
discordSocialLinkobject
robloxGroupSocialLinkobject
guildedSocialLinkobject
voiceChatEnabledboolean
ageRatingEnum<string>
仅输出
privateServerPriceRobuxnumber
desktopEnabledboolean
mobileEnabledboolean
tabletEnabledboolean
consoleEnabledboolean
vrEnabledboolean
基本网址

https://apis.roblox.com/cloud
Universe 资源

{
"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
}

Universe

Get Universe

GET /cloud/v2/universes/{universe}
请求路径参数
universestring
必填
答复Universe
GET /cloud/v2/universes/{universe}

curl -L -X GET 'https://apis.roblox.com/cloud/v2/universes/{universe}' \
-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
}

Universe

Update Universe

PATCH /cloud/v2/universes/{universe}
范围
universe:write
请求路径参数
universestring
必填
查询参数
updateMaskstring
请求正文Universe
答复Universe
PATCH /cloud/v2/universes/{universe}

curl -L -X PATCH 'https://apis.roblox.com/cloud/v2/universes/{universe}?updateMask={string}' \
-H 'x-api-key: {your-api-key}' \
--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
}

Universe

Restart Universe Servers

POST /cloud/v2/universes/{universe}:restartServers
范围
universe:write
请求路径参数
universestring
必填
请求正文
答复
POST /cloud/v2/universes/{universe}:restartServers

curl -L -X POST 'https://apis.roblox.com/cloud/v2/universes/{universe}:restartServers' \
-H 'x-api-key: {your-api-key}' \
--data '{}'
答复

null