지도내에 각 Place의 색상을 자유롭게 변경할 수 있는 기능을 제공합니다.
📍 PUT /open-api/v1/map/{id}
Request Header
| Key | Value | Description |
|---|---|---|
| api-key | {YOUR_API_Key} |
Path Parameter
| Key | Value | Description |
|---|---|---|
| Place ID | {YOUR_Place_ID} | Place의 고유 ID |
Request Body
※ 수정하고 싶은 필드에 properties를 add하세요.
200
{
"properties" : {
"color" : "#4000fe",
"icon" : "🚀",
"name" : "rocket"
}
}
cURL
curl --location --request PUT 'https://space.api-freegrow.com/open-api/v1/map/a3'
--header 'api-key: {YOUR_API_KEY}'
--header 'Content-Type: application/json'
--data '{
"properties" : {
"color" : "#4000fe",
"icon" : "🚀",
"name" : "rocket"
}
}'
관련 안내서
- API 공통 가이드
- Place UID List 호출
- Place UID별 Details 호출
- Place UID별 Details 수정
- Project geojson 호출
- 층 별 geojson 호출
서비스 사용법이 궁금하다면 Growspace Studio 가이드 바로가기
