Place

Atributos

pathstring

createTimestring

updateTimestring

displayNamestring

descriptionstring

serverSizenumber

URL base

https://apis.roblox.com/cloud
El recurso 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}/places/{place}
SolicitudParámetros de ruta
universestringObligatorio

placestringObligatorio

RespuestaPlace
GET /cloud/v2/universes/{universe}/places/{place}

curl -L -X GET 'https://apis.roblox.com/cloud/v2/universes/{universe}/places/{place}' \
-H 'x-api-key: {your-api-key}'
Respuesta

{
"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}/places/{place}
Ámbitos
universe.place:write
SolicitudParámetros de ruta
universestringObligatorio

placestringObligatorio

Parámetros de consulta
updateMaskstring

Solicitar cuerpoPlace
RespuestaPlace
PATCH /cloud/v2/universes/{universe}/places/{place}

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

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