admin

Preview Surface

Render posted (unsaved) HTML with sample variables — for the editor.

post/api/v1/admin/surfaces/{surface}/preview

Request

  • Base URL: https://api.peil.app (the document declares no server; this is the origin it was published from)
  • URL: https://api.peil.app/api/v1/admin/surfaces/{surface}/preview
  • Auth: OAuth 2 (password, token URL /api/v1/auth/jwt/login)

Path parameters

surfacestring required

Request body

html_sourcestring required

Response

Successful Response

unknown required

Changes

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