Provides a feature to freely change the color of each Place on the map.
📍 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} | The unique ID of the Place |
Request Body
※ Add the properties you want to modify.
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"
}
}'
Related Guides
- API Common Guide
- Retrieve Place UID List
- Retrieve Details by Place UID
- Update Details by Place UID
- Retrieve Project GeoJSON
- Retrieve Floor GeoJSON
Curious how to use the service? Check out the Growspace Studio Guide here
