Data

Confirm a guest comment code

Changed on

Exchanges the code for shareout_guest_{artifactId}: an HttpOnly, SameSite=Strict cookie (12 h) holding an HMAC over the artifact id, the name and a keyed email hash, valid for this artifact only. Guests then post and reply through POST …/comments (authorType: guest); they cannot resolve, assign, react or approve. Five wrong tries burn a code.

post/v1/data/{artifactId}/comments/_guest/verify

Request

  • Base URL
    https://shareout.site
  • URL
    https://shareout.site/v1/data/{artifactId}/comments/_guest/verify
  • Auth
    none required

Request body

namestring required
emailstring email required
codestring required

Response

{ success: true, data: { guest: { name }, expiresIn } } plus Set-Cookie

Changes