curl --request GET \
--url https://api.example.com/room/public/:room_name{
"id": "<string>",
"name": "<string>",
"owner_id": "<string>",
"is_private": true,
"documents": [
{
"id": "<string>",
"name": "<string>",
"room_id": "<string>"
}
]
}curl --request GET \
--url https://api.example.com/room/public/:room_name{
"id": "<string>",
"name": "<string>",
"owner_id": "<string>",
"is_private": true,
"documents": [
{
"id": "<string>",
"name": "<string>",
"room_id": "<string>"
}
]
}false for this endpoint.400 - No room name specified404 - Room not found500 - Internal server errorcurl https://api.planttogether.com/room/public/my-garden-room
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "my-garden-room",
"owner_id": "user-123",
"is_private": false,
"documents": [
{
"id": "doc-001",
"name": "main-document",
"room_id": "550e8400-e29b-41d4-a716-446655440000"
}
]
}
express/src/index.ts:34-54