Public API v1

Create a new variant on a trip.

post/v1/trips/{id}/variants

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
  • Auth: API key in header X-API-Key

Path parameters

idstring required

Request body

namestring required

Variant name (e.g. "Beach option", "Mountain option").

notesstring

Free-form variant notes.

Response

idstring required

ID of the newly-created variant.

namestring required

Name of the newly-created variant (typically "<source> (copy)").

Changes

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