goals

Read Shared Goal

Changed on

One published goal's whole page, for anyone holding the link.

No cookie and no Origin, unlike every other route here: settling published this page (#3057), for whoever the link reaches, and requiring a browser session would mean the recipient needs one before they can read a page meant for them. A revoked goal is not published, so it 404s the moment it is taken down.

get/goals/shared/{share_id}

Request

  • Base URL
    https://api.imperfect.co (the document declares no server; this is the origin it was published from)
  • URL
    https://api.imperfect.co/goals/shared/{share_id}
  • Auth
    none declared

Path parameters

share_idstring required

Response

Successful Response

namestring required
linestring nullable
localestring required
kind'destination' | 'practice' required
sportstring nullable
set_atstring date-time required
anchor_kind'event' | 'route' nullable
factorsobject[]
page_expected_untilstring date-time nullable
share_idstring required
slugstring required
target_datestring date required
target_precision'day' | 'month' | 'quarter' | 'season' required

Changes

    • warning

      removed the optional property // from the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property to the response with the status