Request
Public uploads can be fetched without authentication. To access a private upload, include yourauth-token cookie — only the owner or an admin can view it.
Response
Fields
| Field | Type | Description |
|---|---|---|
id | UUID | Unique identifier |
user_id | UUID | Owner’s user ID |
filename | string | Stored filename (null for links) |
original_name | string | Original filename |
description | string | User-provided description |
upload_type | string | image or link |
external_url | string | URL for links |
upvotes | integer | ”Fucks” vote count |
downvote_count | integer | ”Does not fuck” vote count |
is_private | integer | 0 = public, 1 = private |
created_at | timestamp | Creation time |
tags | array | Associated tags |
username | string | Uploader’s username |
stats | object | Computed vote statistics, always present |
stats.voteCount | integer | Total number of votes (upvotes + downvotes) |
stats.upvotes | integer | ”Fucks” vote count |
stats.downvotes | integer | ”Does not fuck” vote count |
stats.averageRating | number | null | Weighted average rating (upvotes weighted toward 10, downvotes toward 1); null if there are no votes |
Access Control
- Public uploads are accessible without authentication
- Private uploads return 404 unless you’re the owner or an admin
Errors
| Status | Description |
|---|---|
| 404 | Upload not found or not accessible |