-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathsection.json
44 lines (43 loc) · 1000 Bytes
/
section.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
{
"version": 1,
"request": {
"url": "https://content.guardianapis.com/sections",
"method": "GET",
"authorization": {
"type": "QueryParam",
"keyParam": "api-key"
},
"params": {
"q": true,
"page": false,
"page-size": false
},
"search": {
"key": "q"
},
"pagination": {
"type": "page",
"pageKey": "page",
"limitKey": "page-size",
"maxCount": 50
}
},
"examples": {
"q": "'basketball'"
},
"response": {
"ctype": "application/json",
"tablePath": "$.response.results[*]",
"schema": {
"headline": {
"target": "$.webTitle",
"type": "string"
},
"url": {
"target": "$.webUrl",
"type": "string"
}
},
"orient": "records"
}
}