Sites

Set the image that stands for a site you own.

The picture shown as the page's thumbnail on a client portal and as its link preview, in place of a screenshot of the page. PNG, JPEG or WebP up to 2 MB, as the raw body or a multipart file field. A gated page still shows only the lock to anyone who has not opened it. Kept through updates to the page. Owner-authed.

put/sites/{idOrSlug}/cover

Request

  • Base URL: https://api.stacktr.ee
  • URL: https://api.stacktr.ee/sites/{idOrSlug}/cover
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://api.stacktr.ee/oauth/authorize, token URL https://api.stacktr.ee/oauth/token, scopes: sites:write)

Response

Set. cover_at is when.

idstring
cover_atinteger

Changes

No recorded changes to this operation across all 1 revision of this API.