trackable API mIw

mIw anonymous pegh-chuqbogh

caller bI'elbe'chugh, 'ach browservamDaq active trackable session ghajchugh pagh trackablevetlh short pegh ngogh exact pagh pegh QR token qengchu'chugh, je DaH location update pagh comment DaqonnISchugh, guidevam yIlo'.

core yIpabmeH mIw

mIw 1: trackable yIcher qoj yIghoS

posting pa', anonymous caller public-safe trackable data je journey points laDlaHtaH.

POST https://www.locationnotes.com/api/trackables/lookup
Content-Type: application/json

{
  "code": "LN4C8R2Z"
}

code mach pegh ngogh pagh QR token 'oHchugh, browservam active pegh-backed session ghajchoH. API writes sessionvetlh lo'laH, pagh caller access code poQDI' nobqa'laH.

mIw 2: Dotlh public Qap DaHbogh yIlaD

GET https://www.locationnotes.com/api/trackables/{trackableId}
GET https://www.locationnotes.com/api/trackables/{trackableId}/journey
GET https://www.locationnotes.com/api/trackables/{trackableId}/comments

payload commentmey anonymous client ja': posting chaw'lu'a', browser active access ghajtaH'a', je posts anonymous pItlh teqlaH trackable ghajwI' pagh team admins DaHtaHbogh neH.

Journey reads saved stop je currentNotesAtCoordinate cha'ang. DaHjaj same coordinateDaq visible note read model ghaH collectionvam'e', reH wa' note lo'lu'bogh mI'na' 'oHbe'.

mIw 3: comment anonymous yIghItlh

POST https://www.locationnotes.com/api/trackables/{trackableId}/comments
Content-Type: application/json

{
  "body": "Saw it at the reception desk.",
  "accessCode": "LN4C8R2Z"
}

caller code botlh wIvbe'chugh je browservetlh trackablevetlhvaD active session ghajbe'taHchugh, API forbidden problem-details response nob ghogh: "trackable_access_code_required". code trackable latlhvaD 'oHchugh pagh itemvamvaD Qapbe'chugh, response trackable_access_code_invalid lo'.

mIw 4: map report nIteb anonymous yIghItlh

POST https://www.locationnotes.com/api/trackables/{trackableId}/journey-stops
Content-Type: application/json

{
  "latitude": 41.881832,
  "longitude": -87.623177,
  "accessCode": "https://locationnotes.com/trackable/ABCD...<raw or full URL>"
}

mIwvam lightweight map-first flow 'oH. note chenmoHbe'taHvIS, stop directly trackable journeyDaq poltaHlu'. pItlh person sign-in 'ej note content botlh law' neHchugh, website note-creation flowDaq ngeHlaH stopvetlhvo'.

client QInmey QaQ

anonymous flow QaQ law' client limitation DelDI' if sounding threateningbe'. pattern QaQ naDev:

account Daghajbe'taHvIS je DaghItlhlaH.
pIq anonymous choHmey choHlu'be' qoj teqlu'be',
ach poQchugh, trackable ghajwI' pagh team adminpu' SeHlaH.

user pItlh editghach pagh note choHghach neHchugh, Login to leave a note rur secondary action yInob, sign-in wa'DIch tIchmoHQo'.

ghItlhlu'ta' pIq

stop qoj qID chu' client cha'vaD reH, journey endpointmey je comment endpointmey yIchu'qa'.

GET https://www.locationnotes.com/api/trackables/{trackableId}/journey
GET https://www.locationnotes.com/api/trackables/{trackableId}/comments

naDghach je Say'moHghach

callervetlh QInDaj ghaj qoj choHqangta'chugh, pa'Daq ghoSmoH trackable mIw QonoSta'bogh. jangmey lajbe'lu'boghvaD yIlo' trackable Qagh reference.