MediaWeb PACS Resources
MediaWeb PACS endpoints provide access to Dental4Web’s digital imaging platform. You use them to search, retrieve, and bulk-download dental images in DICOM format or converted to JPEG.
Key features
- DICOM native storage: all images are stored in DICOM format for diagnostic quality.
- Optional JPEG conversion: request JPEG format for viewing and display use cases (quality level 98).
- Pre-signed URLs: secure, time-limited download links that need no additional authentication.
- Bulk retrieval: download the images for a patient page by page, up to 20 images per page.
Image format recommendations
- Use DICOM format for diagnostic purposes and archival.
- Use JPEG for display in non-diagnostic applications and patient portals.
- If JPEG conversion fails to meet quality thresholds, the original DICOM is returned.
Pre-signed URL expiry
Single image ( | 5 minutes |
Bulk patient images ( | 10 minutes |
URL lifetimes
Pre-signed download URLs use a tiered expiry policy that depends on the operation that issued them. Each URL stops working once its lifetime elapses; request a fresh one by calling the originating endpoint again.
- Single image (
GET /mwp/images/{image_id}): the pre-signed URL expires after 5 minutes (300 seconds). - Bulk patient images (
GET /mwp/images/patient/{patient_id}): each pre-signed URL expires after 10 minutes (600 seconds).
Single-image responses report the lifetime in expires_in (300 seconds). Bulk responses do not include expires_in; bulk URLs last 600 seconds.
Imaging limits and retries
Imaging requests are subject to per-organisation concurrency and processing time limits. When a limit is reached the request is not run and you receive 429 (support_code MWP-4291, your organisation’s limit) or 503 (support_code MWP-5031, or SVC-503 when no specific code is given: the imaging service is busy). Both carry a Retry-After header and retry_after_seconds. Wait at least that long before retrying, and reduce the number of imaging requests you send in parallel.
Only the single image request is retried by the API itself. When it receives 429 or 503 it waits for the time given (up to 5 seconds each time) and tries again, up to 2 times within about 50 seconds, before returning the error, so a single image call can take longer than usual when the service is busy. Search and bulk requests are not retried by the API.
For the canonical list of error codes, see Validation, Limits & Character Handling.
Endpoints
api/v1/mwp/images?patient_id=patient_id&start_date=start_date&end_date=end_date&modality=m...
api/v1/mwp/images/{image_id}?jpeg=true
api/v1/mwp/images/patient/{patient_id}?start_date=start_date&end_date=end_date&jpeg=true&p...