drafts

Draw a store listing or search result mockup from your details.

A listing or a search result in 50heads styling (never a marketplace's), 1200 × 1600, drawn from a title, a price, a rating, a review count and your image, then stored like an upload. Use imageUrl on an option or the stimulus within 15 minutes. See docs/specs/mockups.md.

post/v1/mockups

Request

  • Base URL: https://api.50heads.com
  • URL: https://api.50heads.com/v1/mockups
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://auth.50heads.com/authorize, token URL https://auth.50heads.com/token; client credentials, token URL https://auth.50heads.com/token, scopes: questions:write)

Request body

kind'listing' | 'search_result' required
titlestring required
ratingnumber
reviewsinteger
imageUrlstring uri required
linestring

Response

OK

kind'listing' | 'search_result' required
imageUrlstring required
widthinteger required
heightinteger required
expiresAtstring required

Changes

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