3️⃣ Place별 map color 수정
지도내에 각 Place의 색상을 자유롭게 변경할 수 있는 기능을 제공합니다.
📍 PUT
/open-api/v1/map/{id}
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하세요.
{
"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"
}
}’
Last updated