-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathForecaster.postman_collection.json
100 lines (100 loc) · 2.01 KB
/
Forecaster.postman_collection.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"info": {
"_postman_id": "a69695af-0c2f-40df-bc8f-727d84fb5da6",
"name": "Forecaster",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "getCurrentForecast",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n\t\"spotUrlPart\": \"gran_canaria_pozo_izquierdo\",\n\t\"spotName\": \"Pozo Izquierdo\"\n}"
},
"url": {
"raw": "http://{{host}}/api/forecasts/getOne",
"protocol": "http",
"host": [
"{{host}}"
],
"path": [
"api",
"forecasts",
"getOne"
]
}
},
"response": []
},
{
"name": "createSpotConfig",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n\t\"spotUrlPart\": \"gran_canaria_pozo_izquierdo\",\n\t\"spotName\": \"Pozo Izquierdo\",\n\t\"country\": \"Spain\",\n\t\"windDirections\": [\"NNE\", \"ENE\", \"NE\"],\n\t\"spotType\": \"wave\",\n\t\"minimalForecast\":[{\"direction\":[\"NNE\", \"ENE\", \"NE\"], \"minWindSpeed\": 15}]\n}"
},
"url": {
"raw": "http://{{host}}/api/spot-config/create",
"protocol": "http",
"host": [
"{{host}}"
],
"path": [
"api",
"spot-config",
"create"
]
}
},
"response": []
}
],
"event": [
{
"listen": "prerequest",
"script": {
"id": "71c5bed6-cf5e-458d-b280-9791cd3122f2",
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"id": "018c401a-0253-41f8-900e-8e75586d76f7",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"variable": [
{
"id": "d572ca28-6f06-4e61-82c4-7583a89ed860",
"key": "host",
"value": "",
"type": "string"
}
],
"protocolProfileBehavior": {}
}