Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
258 lines (258 sloc) 11.7 KB
{
"id": "6716d271-5ee4-67bc-3488-06aafe792ba3",
"name": "Wanderlust Open Travel API",
"description": "Wanderlust Open Travel API",
"order": [
"6719b47f-c3b5-9b42-eb26-039121c12391",
"8aa83416-b3a6-835b-ab4f-56c7e4e07a85",
"d733f527-e17f-bfaf-9b0e-fe4fc80a90ae",
"3c7912c0-1070-80ba-7b59-65493396123c",
"a493e16b-4a08-090c-1294-59434d2b4d65",
"cc1e4ffe-75a1-23d5-737e-303ba5ad2a71",
"bbd2bca3-9869-1615-6224-c4b618d000e9",
"85f5dc9d-578a-9d5b-4dc6-0cf032fd552c",
"89819300-d670-f7b6-94ef-34e0ce62646b",
"c79c1098-cc96-a890-6ec4-c07136d23301",
"8aded8bd-b70a-0dab-7fe3-4845c87eb094",
"9d70d04b-e8cf-2fb3-7078-8b58304559d4"
],
"folders": [],
"timestamp": 1470594233899,
"owner": "498603",
"public": false,
"published": false,
"requests": [
{
"id": "3c7912c0-1070-80ba-7b59-65493396123c",
"headers": "",
"url": "http://localhost:9000/api/opentravel/destinations/1",
"preRequestScript": null,
"pathVariables": {},
"method": "DELETE",
"data": null,
"dataMode": "params",
"tests": null,
"currentHelper": "normal",
"helperAttributes": {},
"time": 1475414354936,
"name": "Delete Destination",
"description": "$ curl -X DELETE http://localhost:9000/api/opentravel/destinations/2",
"collectionId": "6716d271-5ee4-67bc-3488-06aafe792ba3"
},
{
"id": "6719b47f-c3b5-9b42-eb26-039121c12391",
"headers": "",
"url": "http://localhost:9000/api/opentravel/destinations",
"preRequestScript": null,
"pathVariables": {},
"method": "GET",
"data": null,
"dataMode": "params",
"version": 2,
"tests": null,
"currentHelper": "normal",
"helperAttributes": "{}",
"time": 1470594505465,
"name": "Search Destinations",
"description": "",
"collectionId": "6716d271-5ee4-67bc-3488-06aafe792ba3",
"responses": [],
"folder": null,
"rawModeData": null,
"descriptionFormat": "html"
},
{
"id": "85f5dc9d-578a-9d5b-4dc6-0cf032fd552c",
"headers": "Content-Type: application/json\n",
"url": "http://localhost:9000/api/opentravel/holidays",
"preRequestScript": null,
"pathVariables": {},
"method": "POST",
"data": [],
"dataMode": "raw",
"version": 2,
"tests": null,
"currentHelper": "normal",
"helperAttributes": {},
"time": 1474672503454,
"name": "Create Holiday ",
"description": "",
"collectionId": "6716d271-5ee4-67bc-3488-06aafe792ba3",
"responses": [],
"rawModeData": "{\n \"flightIncluded\": true,\n \"accomodationIncluded\": true,\n \"destination\": \"http://localhost:9000/api/opentravel/destinations/2\",\n \"startOn\": \"2016-10-17\",\n \"daysCount\": 15,\n \"departFrom\": \"Eindhoven Airport\",\n \"price\": 500,\n \"packageInfo\": \"Group Travel 'On a shoe string'\"\n}"
},
{
"id": "89819300-d670-f7b6-94ef-34e0ce62646b",
"headers": "",
"url": "http://localhost:9000/api/opentravel/holidays/1",
"preRequestScript": null,
"pathVariables": {},
"method": "DELETE",
"data": null,
"dataMode": "params",
"tests": null,
"currentHelper": "normal",
"helperAttributes": {},
"time": 1475414270428,
"name": "Delete Holiday",
"description": "",
"collectionId": "6716d271-5ee4-67bc-3488-06aafe792ba3"
},
{
"id": "8aa83416-b3a6-835b-ab4f-56c7e4e07a85",
"headers": "",
"url": "http://localhost:9000/api/opentravel/destinations/search/findByCountry?country=Japan",
"preRequestScript": null,
"pathVariables": {},
"method": "GET",
"data": null,
"dataMode": "params",
"version": 2,
"tests": null,
"currentHelper": "normal",
"helperAttributes": "{}",
"time": 1470594721000,
"name": "Find Destination By Country",
"description": "",
"collectionId": "6716d271-5ee4-67bc-3488-06aafe792ba3",
"responses": [],
"folder": null,
"rawModeData": null,
"descriptionFormat": "html"
},
{
"id": "8aded8bd-b70a-0dab-7fe3-4845c87eb094",
"headers": "Content-Type: application/json\n",
"url": "http://localhost:9000/api/opentravel/agents",
"preRequestScript": null,
"pathVariables": {},
"method": "POST",
"data": [],
"dataMode": "raw",
"version": 2,
"tests": null,
"currentHelper": "normal",
"helperAttributes": {},
"time": 1475428460753,
"name": "Create Agent",
"description": "",
"collectionId": "6716d271-5ee4-67bc-3488-06aafe792ba3",
"responses": [],
"rawModeData": "{\n \"name\": \"WIZZ Tours\",\n \"country\": \"GB\",\n \"city\": \"London\",\n \"postalCode\": \"AB10 1AA\",\n \"email\": \"info@wizztours.com\",\n \"phone\": \"+44 333 155 4997\",\n \"website\": \"https://wizztours.com\",\n \"holidays\": [\"http://localhost:9000/api/opentravel/holidays/1\"]\n}"
},
{
"id": "9d70d04b-e8cf-2fb3-7078-8b58304559d4",
"headers": "",
"url": "http://localhost:9000/api/opentravel/agents/1",
"preRequestScript": null,
"pathVariables": {},
"method": "DELETE",
"data": null,
"dataMode": "params",
"tests": null,
"currentHelper": "normal",
"helperAttributes": {},
"time": 1475414410912,
"name": "Delete Agent",
"description": "",
"collectionId": "6716d271-5ee4-67bc-3488-06aafe792ba3"
},
{
"id": "a493e16b-4a08-090c-1294-59434d2b4d65",
"headers": "Content-Type: application/json\n",
"url": "http://localhost:9000/api/opentravel/destinations/2",
"preRequestScript": null,
"pathVariables": {},
"method": "PUT",
"data": [],
"dataMode": "raw",
"tests": null,
"currentHelper": "normal",
"helperAttributes": {},
"time": 1474672280569,
"name": "Replace Destination ",
"description": "",
"collectionId": "6716d271-5ee4-67bc-3488-06aafe792ba3",
"rawModeData": "{ \n \"name\" : \"Transylvania Mountain thrills\", \n \"country\": \"RO\", \n \"facts\": [\n \"The path from Buckingham Palace to Braşov might not seem immediately apparent, but Prince Charles supports a number of conservation projects in Transylvania. The UK royal has even planted a wildflower meadow at England’s Highgrove Gardens to remind him of the Transylvanian countryside.\",\n \"Transylvania features as Lonelyplanet #1 Region to travel to in 2016: http://www.lonelyplanet.com/best-in-travel/regions/1\"\n ],\n \"description\" : \"Go hiking, visit salina's, swim in mountain lakes\"\n}"
},
{
"id": "bbd2bca3-9869-1615-6224-c4b618d000e9",
"headers": "",
"url": "http://localhost:9000/api/opentravel/holidays",
"pathVariables": {},
"preRequestScript": null,
"method": "GET",
"collectionId": "6716d271-5ee4-67bc-3488-06aafe792ba3",
"data": null,
"dataMode": "params",
"name": "Search Holidays",
"description": "HAL Search Holidays",
"descriptionFormat": "html",
"time": 1470594700013,
"version": 2,
"responses": [],
"tests": null,
"currentHelper": "normal",
"helperAttributes": "{}",
"folder": null,
"rawModeData": null
},
{
"id": "c79c1098-cc96-a890-6ec4-c07136d23301",
"headers": "",
"url": "http://localhost:9000/api/opentravel/agents",
"preRequestScript": null,
"pathVariables": {},
"method": "GET",
"data": null,
"dataMode": "params",
"version": 2,
"tests": null,
"currentHelper": "normal",
"helperAttributes": {},
"time": 1474672662767,
"name": "Search Agents",
"description": "",
"collectionId": "6716d271-5ee4-67bc-3488-06aafe792ba3",
"responses": []
},
{
"id": "cc1e4ffe-75a1-23d5-737e-303ba5ad2a71",
"headers": "Content-Type: application/json\n",
"url": "http://localhost:9000/api/opentravel/destinations/2",
"preRequestScript": null,
"pathVariables": {},
"method": "PATCH",
"data": [],
"dataMode": "raw",
"tests": null,
"currentHelper": "normal",
"helperAttributes": {},
"time": 1474672748823,
"name": "Update Destination",
"description": "",
"collectionId": "6716d271-5ee4-67bc-3488-06aafe792ba3",
"rawModeData": "{ \n \"name\" : \"Transylvania\", \n \"country\": \"RO\", \n \"facts\": [\n \"The path from Buckingham Palace to Braşov might not seem immediately apparent, but Prince Charles supports a number of conservation projects in Transylvania. The UK royal has even planted a wildflower meadow at England’s Highgrove Gardens to remind him of the Transylvanian countryside.\",\n \"Transylvania features as Lonelyplanet #1 Region to travel to in 2016: http://www.lonelyplanet.com/best-in-travel/regions/1\",\n \"It may not be flanked by epic mountains or be as instantly arresting as Braşov or Sibiu, but Cluj is big on charm and in no time you'll be infected by it. Film capital of Romania, the city is bursting with students and cineastes; in fact its Transylvania International Film Festival, held each year in the last week of May, attracts plenty of international talent, while the Transilvania Jazz Festival, held in October, is another cultural highlight.\"\n ],\n \"description\" : \"Mountain thrills, hospitable people, edgy art and bohemian cafes in Vlad's former home\" \n}"
},
{
"id": "d733f527-e17f-bfaf-9b0e-fe4fc80a90ae",
"headers": "Content-Type: application/json\n",
"url": "http://localhost:9000/api/opentravel/destinations",
"preRequestScript": null,
"pathVariables": {},
"method": "POST",
"data": [],
"dataMode": "raw",
"version": 2,
"tests": null,
"currentHelper": "normal",
"helperAttributes": {},
"time": 1475425979855,
"name": "Create Destination",
"description": "curl -i -X POST -H \"Content-Type:application/json\" -d '{ \n \"name\" : \"Transylvania\", \n \"country\": \"RO\", \n \"facts\": [\n \"Transylvania features as Lonelyplanet #1 Region to travel to in 2016: http://www.lonelyplanet.com/best-in-travel/regions/1\",\n \"The path from Buckingham Palace to Braşov might not seem immediately apparent, but Prince Charles supports a number of conservation projects in Transylvania. The UK royal has even planted a wildflower meadow at England’s Highgrove Gardens to remind him of the Transylvanian countryside.\"\n ],\n \"description\" : \"Mountain thrills and edgy art in Vlad's former home\" \n}' \n\n-i ensures you can see the response message including the headers. The URI of the newly created Destination is shown\n-X POST signals this a POST used to create a new entry\n-H \"Content-Type:application/json\" sets the content type so the application knows the payload contains a JSON object\n-d the data being sent",
"collectionId": "6716d271-5ee4-67bc-3488-06aafe792ba3",
"responses": [],
"rawModeData": "{ \n \"name\" : \"Transylvania\", \n \"country\": \"RO\", \n \"facts\": [\n \"Transylvania features as Lonelyplanet #1 Region to travel to in 2016: http://www.lonelyplanet.com/best-in-travel/regions/1\",\n \"The path from Buckingham Palace to Braşov might not seem immediately apparent, but Prince Charles supports a number of conservation projects in Transylvania. The UK royal has even planted a wildflower meadow at England’s Highgrove Gardens to remind him of the Transylvanian countryside.\"\n ],\n \"description\" : \"Mountain thrills and edgy art in Vlad's former home\" \n}"
}
]
}