เส้นทางทรัพยากรของสถานที่
รูปแบบ: universes/{universe_id}/places/{place_id}.
*เนื้อหานี้แปลโดยใช้ AI (เวอร์ชัน Beta) และอาจมีข้อผิดพลาด หากต้องการดูหน้านี้เป็นภาษาอังกฤษ ให้คลิกที่นี่
แทนที่สถานที่ Roblox
เส้นทางทรัพยากรของสถานที่
รูปแบบ: universes/{universe_id}/places/{place_id}.
เวลาที่สร้างสถานที่ ณ จุดนั้น. สตริงนี้มีรูปแบบประทับเวลา
เวลาที่เกิดขึ้นที่สถานที่ถูกอัปเดต. สตริงนี้มีรูปแบบประทับเวลา
ชื่อสถานที่.
คำอธิบายของสถานที่.
จํานวนผู้ใช้สูงสุดที่อนุญาตในเซิร์ฟเวอร์เดียว.
https://apis.roblox.com
{
"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"
}
รับสถานที่ที่กำหนดไว้
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"
}
อัปเดตสถานที่ที่ระบุ
ID ของจักรวาล.
รหัสสถานที่.
รายการฟิลด์ที่จะอัปเดต. สตริงนี้มีรูปแบบ FieldMask
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"
}