Skip to content
Dashboard

developers / Models

UserUploadSettings

How a user's uploads are handled: their share codes, visibility, compression, watermark, deletion and share links.

This page as Markdown

Fields

  • idinteger
  • shareCodeModeenum

    One ofAlphanumericLettersLowercaseNumbersHexadecimalUnambiguousEmojisMemorable

  • shareCodeLengthinteger
  • compressionQualityinteger
  • visibilityenum

    One ofUnlistedPublicPrivate

  • watermarkModeenum

    The watermark the cdn draws on the user's pictures where others see them (the treatment of an image): None none, Minimal hematite's mark, Medium their own (watermark). Full was never offered and draws hematite's mark.

    One ofNoneMinimalMediumFull

  • watermarkobject | null

    The custom watermark, drawn while watermarkMode is Medium and kept while it isn't. Null until one is saved.

  • randomizeFilenamesboolean
  • autoDeleteAfterinteger | null
  • shareUrlTypeenum

    One ofDomainPermanentCDN

  • domainSubdomainstring
  • domainPathstring
  • embedStyleIdinteger | null

    The style the account's link previews follow (GET /users/:userId/embed-styles): a built-in, or the account's own. Null is hematite's default, the hematite built-in.

  • updatedAtdate-time
  • embedStyleEmbedStyle

    That style, whole: the built-in hematite while none is chosen.

Example
{
  "id": 1,
  "shareCodeMode": "Alphanumeric",
  "shareCodeLength": 8,
  "compressionQuality": 85,
  "visibility": "Unlisted",
  "watermarkMode": "None",
  "watermark": {
    "text": "string",
    "position": "top-left",
    "size": "small",
    "opacity": 0,
    "tone": "light"
  },
  "randomizeFilenames": false,
  "autoDeleteAfter": null,
  "shareUrlType": "Domain",
  "domainSubdomain": "string",
  "domainPath": "string",
  "embedStyleId": 1,
  "updatedAt": "2026-11-10T18:24:00.000Z",
  "embedStyle": {
    "id": 1,
    "key": "hematite",
    "name": "Ranked",
    "about": "string",
    "basedOn": "hematite",
    "version": 0,
    "author": "Uploader",
    "picture": "Large",
    "cropToCard": false,
    "colour": "Hematite",
    "colourHex": "string",
    "showTime": false,
    "motion": false,
    "title": "Clutch on Ascent",
    "description": "1v4 on the last round",
    "site": "Hematite",
    "siteText": "string"
  }
}