Skip to main content
Get public uploads from a specific user.

Request

curl https://fucksornot.com/api/user/johndoe/uploads

Parameters

ParameterTypeDescription
usernamestringUsername to look up

Query Parameters

ParameterTypeDescription
pageintegerPage number to retrieve. Optional, defaults to 1.
limitintegerNumber of uploads per page. Optional, defaults to 12, maximum 50.
sortstringSort order: date, votes, or name. Optional, defaults to date.
tagsstringComma-separated list of tag slugs to filter uploads by. Optional.

Response

{
  "user": {
    "username": "johndoe",
    "created_at": "2024-01-15T10:30:00Z"
  },
  "uploads": [
    {
      "id": "upload-uuid-1",
      "user_id": "user-uuid",
      "filename": "image1.webp",
      "description": "First upload",
      "upload_type": "image",
      "upvotes": 42,
      "downvote_count": 5,
      "created_at": "2025-01-24T12:00:00Z",
      "tags": [...]
    },
    {
      "id": "upload-uuid-2",
      "user_id": "user-uuid",
      "filename": "image2.webp",
      "description": "Second upload",
      "upload_type": "image",
      "upvotes": 28,
      "downvote_count": 3,
      "created_at": "2025-01-23T12:00:00Z",
      "tags": [...]
    }
  ],
  "total": 42,
  "page": 1,
  "totalPages": 5,
  "limit": 12
}
FieldTypeDescription
user.usernamestringThe looked-up user’s username
user.created_atstringThe user’s account creation timestamp
uploadsarrayThe uploads for the current page
totalintegerTotal number of public uploads matching the query
pageintegerThe current page number
totalPagesintegerTotal number of pages available
limitintegerNumber of uploads per page

Notes

  • Only public uploads are returned
  • Private uploads are excluded even if they belong to the user
  • No authentication required
  • Returns empty array if user has no public uploads

Use Cases

  • User profile pages
  • Viewing a user’s contributions
  • Discovering content by creator

Errors

StatusDescription
404User not found