Public API v1

Update fields on an event.

patch/v1/trips/{id}/variants/{variantId}/events/{eventKey}

Request

  • Base URL: https://api.mynextadventure.cloud (the document declares no server; this is the origin it was published from)
  • URL: https://api.mynextadventure.cloud/v1/trips/{id}/variants/{variantId}/events/{eventKey}
  • Auth: API key in header X-API-Key

Path parameters

idstring required
variantIdstring required
eventKeystring required

Request body

namestring

Display name of the event exactly as a human would call it (e.g. "Louvre Museum"). Never embed price, dates, status or commentary here — those belong in totalCost, start/end and notes.

startstring date-time
endstring date-time
eventType'concert' | 'course' | 'sport' | 'entertainment' | 'museum' | 'trip' | 'restaurant' | 'shopping' | 'other'
maxTravelTimeToEventInMinutesnumber
totalCostnumber
currencystring
linkstring
userUploadedImageUrlstring
notesstring

Free-form commentary: provenance, caveats, trade-offs. Anything without a dedicated field goes here, not in name.

Response

keystring required
namestring required
startstring date-time
endstring date-time
eventTypestring
totalCostnumber
currencystring
linkstring
notesstring
userUploadedImageUrlstring

Photo of the place, shown on the map popup.

selectedboolean required
createdBystring

Changes

No recorded changes to this operation across all 1 revision of this API.