*Bu içerik, yapay zekâ (beta) kullanılarak çevrildi ve hatalar içerebilir. Sayfayı İngilizce görüntülemek için buraya tıkla.

Place

Bir Roblox dünyatemsil eder.

Nitelikler

pathstring

dünyakaynak yolu.

Biçim: universes/{universe_id}/places/{place_id}.

createTimestring
Yalnızca Çıkış

Yerin oluşturulduğu tarih ve saat. Bu dizi Timestamp olarak biçimlendirilmiş.

updateTimestring
Yalnızca Çıkış

Yerin güncellendiği tarih ve saat. Bu dizi Timestamp olarak biçimlendirilmiş.

displayNamestring

Yerin adı.

descriptionstring

dünyatanımı.

serverSizenumber

Tek bir sunucudaki maksimum izin verilen kullanıcı sayısı.

Taban URL

https://apis.roblox.com
Place Kaynağı

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

Belirtilen dünyaalır.

TalepYol Parametreleri
universe_idstring
Gerekli

Evren kimliği.

place_idstring
Gerekli

Yer kimliği.

YanıtPlace
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}'
Yanıt

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

Belirtilen dünyagünceller.

Kapsamlar
universe.place:write
TalepYol Parametreleri
universe_idstring
Gerekli

Evren kimliği.

place_idstring
Gerekli

Yer kimliği.

Sorgu Parametreleri
updateMaskstring

Güncellenmesi gereken alanların güncelle. Bu dizi FieldMask olarak biçimlendirilmiş.

Talep GövdesiPlace
YanıtPlace
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"
}'
Yanıt

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