guest

Guest Business Photo

The storefront for a guest's row — the twin of geo/photo.jpg.

IT SHIPS WITH guest_business_suggest OR NOT AT ALL. The rows that route answers with carry a Places photo resource name, and a photo-less row draws a magnifier where a shop front goes — so serving the rows publicly and keeping the pictures behind a workspace would have replaced a 2.3 second wait with a list of grey rows that visibly re-lay-out when the mint lands. The owner's note on this list is that the picture is the point ("add images preview they must recognize it").

THE KEY STAYS HERE, exactly as it does on the team route: a Places photo is a resource NAME behind a keyed endpoint, and the bytes are fetched by us. What a caller can do with this is ask Google for a photograph of a business on Google Maps, which is a thing they can already do.

get/v1/guest/business/photo.jpg

Query parameters

namestring
widthinteger

Headers

authorizationstring nullable
x-darwin-tokenstring nullable

Response

Successful Response

{"stackTrail":"paths:/v1/guest/business/photo.jpg:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

Changed in 2 of the 32 revisions of this API.3

    • ○

      added the new optional header request parameter authorization

      new-optional-request-parameter

    • ○

      added the new optional header request parameter x-darwin-token

      new-optional-request-parameter

    • ○

      endpoint added

      endpoint-added

Of the 32 revisions, 1 has no diff computed.