Retrieve document information by document ID (integer) or GUID (string). Returns document metadata including filename, title, size, thumbnails, and download URLs.
Route Parameters
-
id|guid —
Required —
string|integer
-
The document ID (integer) or GUID (string) to retrieve.
Response
{
"documentid": 123,
"filename": "example.pdf",
"title": "Example Document",
"size": 1048576,
"thumbnailid": 456,
"imageid": 456,
"document_type": "pdf",
"document_extension": "pdf",
"document_group": "pdf",
"standard": "https:\/\/ifixit.com\/thumbnail\/standard.jpg",
"thumbnail": "https:\/\/ifixit.com\/thumbnail\/thumbnail.jpg",
"mini": "https:\/\/ifixit.com\/thumbnail\/mini.jpg",
"edit_url": "https:\/\/ifixit.com\/document\/edit",
"view_url": "https:\/\/ifixit.com\/document\/view",
"download_url": "https:\/\/ifixit.com\/document\/download",
"date": 1640995200,
"guid": "abc123-def456-ghi789",
"type": "Document"
}
{
"message": "Document not found"
}