Skip to content
Dashboard

developers / Models

UserProfile

What others see of a user and who may see it: the bio, whether the page is hidden, and who sees the upload activity. On a user as profile; a hidden user's isn't sent to anyone else.

This page as Markdown

Fields

  • biostring

    A line or two about the user, on their page.

  • hideProfileboolean

    Whether the user hides their page. Anyone else then gets only their id and username, and none of their activity.

  • activityVisibilityenum

    Who sees the user's upload activity (GET /users/:userId/activity) and counts (imageCount, folderCount). All: anyone sees every upload counted, private and unlisted ones too, never the images themselves. Public: anyone sees only the public uploads that show who made them. Private: no one else sees any activity, and the counts are of the public ones.

    One ofAllPublicPrivate

Example
{
  "bio": "Screenshots from ranked nights",
  "hideProfile": false,
  "activityVisibility": "All"
}

Inside other models

The models with a UserProfile in a field.