-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathinterest.json
69 lines (69 loc) · 1.83 KB
/
interest.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
{
"version": 1,
"request": {
"url": "https://test.api.amadeus.com/v1/reference-data/locations/pois",
"method": "GET",
"authorization": {
"type": "OAuth2",
"grantType": "ClientCredentials",
"tokenServerUrl": "https://test.api.amadeus.com/v1/security/oauth2/token"
},
"params": {
"latitude": true,
"longitude": true,
"radius": false,
"categories": false,
"limit": false,
"page[limit]": {
"required": false,
"removeIfEmpty": true,
"template": "{{limit}}",
"fromKey": [
"limit"
]
},
"offset":false,
"page[offset]": {
"required": false,
"removeIfEmpty": true,
"template": "{{offset}}",
"fromKey": [
"offset"
]
}
},
"pagination": {
"type": "page",
"pageKey": "page[offset]",
"limitKey": "page[limit]",
"maxCount": 50
}
},
"examples": {
"latitude": "41.397158",
"longitude": "2.160873"
},
"response": {
"ctype": "application/json",
"tablePath": "$.data[*]",
"schema": {
"name": {
"target": "$.name",
"type": "string"
},
"category": {
"target": "$.category",
"type": "string"
},
"rank": {
"target": "$.rank",
"type": "string"
},
"tags": {
"target": "$.tags",
"type": "list"
}
},
"orient": "records"
}
}