*이 콘텐츠는 AI(베타)를 사용해 번역되었으며, 오류가 있을 수 있습니다. 이 페이지를 영어로 보려면 여기를 클릭하세요.

Place

Roblox 플레이스나타냅니다.

특성

pathstring

장소의 리소스 플레이스.

형식: universes/{universe_id}/places/{place_id}.

createTimestring
출력 전용

장소가 생성된 시점의 날짜 및 시간. 이 문자열은 Timestamp 형식으로 지정됩니다.

updateTimestring
출력 전용

장소가 업데이트된 시점의 날짜 및 시간. 이 문자열은 Timestamp 형식으로 지정됩니다.

displayNamestring

플레이스이름.

descriptionstring

플레이스설명.

serverSizenumber

단일 서버에서 허용되는 최대 사용자 수.

기본 URL

https://apis.roblox.com
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_id}/places/{place_id}

지정된 플레이스가져옵니다.

요청경로 매개 변수
universe_idstring
필수

유니버스 ID.

place_idstring
필수

장소 ID.

응답Place
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}'
응답

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

지정된 플레이스업데이트합니다.

범위
universe.place:write
요청경로 매개 변수
universe_idstring
필수

유니버스 ID.

place_idstring
필수

장소 ID.

쿼리 매개 변수
updateMaskstring

업데이트할 필드 목록. 이 문자열은 FieldMask 형식으로 지정됩니다.

요청 본문Place
응답Place
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"
}'
응답

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