curl --request GET \
--url https://api.example.com/room/private/:owner_id/: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/private/:owner_id/:room_name{
"id": "<string>",
"name": "<string>",
"owner_id": "<string>",
"is_private": true,
"documents": [
{
"id": "<string>",
"name": "<string>",
"room_id": "<string>"
}
]
}Authorization header.
true for this endpoint.400 - No room name specified400 - No owner ID specified401 - Unauthorized (no token provided)403 - Forbidden (user does not have access to this private room)404 - Room not found500 - Internal server errorcurl https://api.planttogether.com/room/private/user-123/my-private-room \
-H "Authorization: YOUR_AUTH_TOKEN"
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "my-private-room",
"owner_id": "user-123",
"is_private": true,
"documents": [
{
"id": "doc-001",
"name": "main-document",
"room_id": "550e8400-e29b-41d4-a716-446655440000"
}
]
}
express/src/index.ts:56-98