Public API v1

Reorder destinations within a variant.

post/v1/trips/{id}/variants/{variantId}/destinations/reorder

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

Path parameters

idstring required
variantIdstring required

Request body

orderstring[] required

Destination keys in the desired new order. Keys not present are sorted to the front in their existing relative order.

Response

Destinations reordered.

Changes