-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathby_search.json
45 lines (45 loc) · 1.04 KB
/
by_search.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
{
"version": 1,
"request": {
"url": "http://www.omdbapi.com/",
"method": "GET",
"authorization": {
"type": "QueryParam",
"keyParam": "apikey"
},
"params": {
"s": true,
"type": false,
"y": false,
"page": false,
"v": false
}
},
"response": {
"ctype": "application/json",
"tablePath": "$.Search[*]",
"schema": {
"title": {
"target": "$.Title",
"type": "string"
},
"year": {
"target": "$.Year",
"type": "string"
},
"poster": {
"target": "$.Poster",
"type": "string"
},
"imdb_id": {
"target": "$.imdbID",
"type": "string"
},
"type": {
"target": "$.Type",
"type": "string"
}
},
"orient": "records"
}
}