Ownership is mandatory. There are no partial permissions for this API.
multipart/form-data| Field Name | Type | Required | Description |
|---|---|---|---|
floor_id | String | Optional* | Public / human-readable floor identifier |
title | String | Optional | New floor title |
details | String | Optional | New floor description |
logo | File | Optional | New floor logo image (PNG/JPG/WebP) |
fid or floor_id) must be provided.fid as the primary identifier.title, details, or logo must be presentlogo is provided, the previous logo is replacedapplication/json{
"floor_id": "my_floor",
"title": "daughter ouch upon yummy clamor",
"details": "nostrud occaecat incididunt dolor adipisicing",
"fid": "86",
"blocks": [
{
"bid": "83",
"type": "pariatur",
"title": "wherever demobilise acidly refute"
}
],
"avatar": {
"url": "https://legal-availability.name/",
"id": "98"
}
}{
"status": "ERROR",
"message": "Only the floor owner can edit this floor"
}{
"status": "ERROR",
"message": "Floor not found"
}{
"status": "ERROR",
"message": "No update fields provided"
}curl --location --request POST 'https://appfloor.in/api/memory/edit/floor/' \
--header 'Authorization: Bearer <token>' \
--form 'user_id=""' \
--form 'app_id=""' \
--form 'logo_file=@""' \
--form 'title=""' \
--form 'details=""'{
"floor_id": "string",
"title": "string",
"details": "string",
"floor_uid": "string",
"blocks": [
{
"block_id": "string",
"type": "string",
"title": "string"
}
],
"avatar": {
"url": "string",
"type": "string"
},
"is_owner": "string",
"floor_type": "string",
"app_id": "string"
}