Share a trip
share_linkUse when the traveler wants to share a tracked route or a flight bucket list: a public slicktrip.com link, the same one the site's Share button makes, showing the itinerary and its price and nothing about the account. Made once and reused.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bucket_id | No | A flight bucket list's bucket_id from list_bucket_lists. | |
| search_key | No | A tracked route's search_key from list_tracked_flights. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | On an error: a machine-readable kind, e.g. unknown_place | |
| name | No | The bucket list's name when the link shares a list | |
| note | No | What the link exposes | |
| field | No | On unknown_place: which argument (origin, destination, ...) | |
| route | No | Route dict with names for a tracked route | |
| status | No | ok | error | sign_in_required | |
| message | No | Error or sign-in message from the server wrapper | |
| bucket_id | No | The shared flight bucket id, if any | |
| share_url | No | Public slicktrip.com/share link | |
| search_key | No | The shared tracked route key, if any | |
| suggestions | No | On unknown_place: places to offer the traveler, each with code, name, kind (airport, all airports in the city, nearby airport), city, country | |
| places_assumed | No | Place names this call resolved on its own, e.g. 'Portland = Portland, OR (PDX)'; tell the traveler |