Place ごとの map color の更新
地図上の各 Place の色を自由に変更できる機能を提供します。
地図上の各 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 |
屋内マップ API の Request Body:Place の色を変更する
※ 変更したいフィールドを properties に追加してください。
200
{
"properties" : {
"color" : "#4000fe",
"icon" : "🚀",
"name" : "rocket"
}
}
屋内マップ API の cURL リクエスト例(PUT)
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"
}
}'
関連ガイド
- GrowStudio API 共通ガイド
- Place UID List の呼び出し
- Place UID ごとの Details の呼び出し
- Place UID ごとの Details の更新
- Project geojson の呼び出し
- フロアごとの geojson の呼び出し
サービスの使い方については、GrowStudio ガイドをこちらからご覧ください。