Skip to main content
Get the authenticated user’s profile data including uploads, votes, and statistics.

Request

curl "https://api.fucksornot.com/api/profile?type=counts" \
  -H "Authorization: Bearer YOUR_JWT_TOKEN"

Parameters

ParameterTypeDescription
typestringData to retrieve: uploads, votes, or counts

Response

With type=counts

{
  "counts": {
    "uploads": 42,
    "votes": 156
  }
}

With type=uploads

{
  "uploads": [
    {
      "id": "upload-uuid",
      "filename": "image.webp",
      "description": "My upload",
      "upvotes": 10,
      "downvote_count": 2,
      "created_at": "2025-01-24T12:00:00Z"
    }
  ]
}

With type=votes

{
  "votes": [
    {
      "id": "vote-uuid",
      "upload_id": "upload-uuid",
      "vote": "fucks",
      "created_at": "2025-01-24T12:00:00Z"
    }
  ]
}

Caching

This endpoint is cached for 30 seconds with private cache control.

Use Cases

  • Display user dashboard
  • Show activity statistics
  • List user’s content and votes