--- method: GET path: /api/libraries/:id auth: jwt+admin area: libraries --- # Get Library Details:<|end|><|start|> assistant to=edit<|channel|>analysis <|constrain|>xml<|message|> /home/nymusicman/Code/bookhoard/docs/developer/api/libraries/get_library_media_items.md Retrieve details of a specific library. **Endpoint**: `GET /api/libraries/{library_id}` **Auth**: Required ## Path Parameters | Parameter | Type | Required | Description | | ---------- | ------ | -------- | ------------ | | library_id | string | Yes | Library UUID | ## Request Headers | Header | Type | Required | Description | | ------------- | ------ | -------- | ------------ | | Authorization | string | Yes | Bearer token | ### Example Request ```http GET /api/libraries/uuid-here Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9... ``` ## Response (200 OK) ```json example-response { "id": "uuid", "name": "My Ebooks", "description": "Ebook collection", "created_at": null, "created_by_admin_id": null, "library_type_id": null, "updated_at": null } ``` ## Error Responses | Code | Description | | ---- | ----------------------------------------- | | 401 | Invalid or expired token | | 403 | User does not have access to this library | | 404 | Library not found |