Skip to main content
A share gives people access to one image, the way a Google Docs share does. Today there is one kind: anyone with the link can view. Whoever opens the link sees the image with its latest cell outlines and counts in their browser, without an account: what your lab sees now, so a newer result shows up on the same link. Nothing on the page edits the image, and downloading files from it asks the visitor to sign in to HalfPage. Every share has an access (who it reaches) and a role (what they can do). Today those are always anyone_with_link and viewer; the fields are there so your code keeps working when more kinds of sharing arrive.

Share an image

Share the image_id an upload returns (see the quickstart). Sharing is idempotent: an image has at most one live link, so asking again returns the same share.
Response
Treat the url like a password to the image: anyone holding it can view it. Search engines are told not to index shared pages.

See who’s looked

view_count and last_viewed_at go up each time the link is opened.
curl
Revoking stops the link opening at once. Sharing the same image again makes a new link.
curl