v2 - Internal
Cleanup Orphaned Media
Delete media records stuck in 'uploading' status for longer than threshold.
These are uploads that were started but never completed (user cancelled, browser closed, network error, etc). The frontend only clears local state, leaving orphaned records in Firestore and partial files in GCS.
Called by Cloud Scheduler (e.g. every hour) or manually.
post/v2/internal/cleanup-orphaned-media
Request
- Base URLhttps://api.jubjubapp.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
Query parameters
threshold_hoursinteger
batch_sizeinteger
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.