app_idPOSTapplication/x-www-form-urlencodedmultipart/form-data, depending on your implementation)| Field | Type | Required | Description |
|---|---|---|---|
user_id | String | Yes | User requesting the change. Must be the owner of the floor. |
floor_id | String | Yes | Public identifier of the floor whose visibility is to be changed. |
app_id | String | No | Identifier of the calling application (used mainly for pod/developer contexts). |
user_idapplication/json{
"status": "SUCCESS",
"floor_id": "my_floor",
"visibility": "PUBLIC",
"message": "Floor is now public"
}{
"status": "SUCCESS",
"floor_id": "my_floor",
"visibility": "PUBLIC",
"message": "Floor is already public"
}{
"status": "ERROR",
"message": "Only the floor owner can change floor visibility"
}{
"status": "ERROR",
"message": "Floor not found"
}{
"status": "ERROR",
"message": "user_id and floor_id are required"
}app_id is optional and primarily used for developer-managed or pod floors./api/floor/info) after a successful visibility change.This API answers: “Make this floor visible to everyone.”
curl --location --request POST 'https://appfloor.in/api/memory/make/floor/public/?user_id&app_id' \
--header 'Authorization: Bearer <token>'{
"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"
}