GrowStudio API

Place ごとの map color の更新

地図上の各 Place の色を自由に変更できる機能を提供します。

地図上の各 Place の色を自由に変更できる機能を提供します。

📍 PUT /open-api/v1/map/{id}

Request Header

KeyValueDescription
api-key{YOUR\_API\_Key}

Path Parameter

KeyValueDescription
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 ガイドをこちらからご覧ください。