read
theme

Screenshots the live storefront on desktop and mobile for up to four paths (default `/`), answering a link per shot. Wit

Changed on

Screenshots the live storefront on desktop and mobile for up to four paths (default /), answering a link per shot. With preview: true it shoots the store's preview theme instead (the unpublished theme connected to the magistry-preview branch) with live beside it unless compare is false. available: false names why not; for a preview that is not connected, preview says how to connect it.

post/api/v1/tools/theme_screenshot

Request

  • Base URL
    https://app.magistry.io
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://app.magistry.io/api/oauth/authorize
      Token URLhttps://app.magistry.io/api/oauth/token
      Scopestheme:read

Request body

object required
paths, string[]

Storefront paths, e.g. /products/x.

compare, boolean

With preview: also shoot the live storefront, side by side (default true).

preview, boolean

Shoot the preview theme instead of live.

Response

Tool result

object required
ok, boolean required
result, unknown required

Changes

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    11 more changes in this revision