Retrieves the UML (Unified Modeling Language) diagram data for all documents in a room.
Authentication
Required for private rooms. Use the Authorization header with a bearer token.
Path Parameters
The unique identifier of the room.
Body Parameters
Indicates whether the room is private. Private rooms require authentication.
Bearer token for authentication. Required if is_private is true.
Response
Array containing the UML diagram data for the room’s documents.
Error Responses
401 - Unauthorized user (missing token for private room).
403 - Invalid token (user is not the room creator for private room).
500 - Error extracting UML data.
Example Request
curl -X GET \
https://api.planttogether.com/room/abc123/uml \
-H "Content-Type: application/json" \
-d '{
"is_private": false
}'
Example Response
[
{
"documentId": "doc123",
"documentName": "my-document",
"umlData": "..."
}
]