-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflickr.json
131 lines (131 loc) · 3.33 KB
/
flickr.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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"name": "Flickr",
"url": "https://api.flickr.com/services/rest/",
"method": "GET",
"api_type": "image",
"response_main_item": "picture",
"path_to_results": [
"photos",
"photo"
],
"truncate_before": 14,
"truncate_after": 1,
"request": [
{
"type": "string",
"api_name": "api_key",
"required": true,
"position": "body",
"relevant": false
},
{
"type": "string",
"api_name": "method",
"required": true,
"position": "body",
"relevant": false,
"default_value": "flickr.photos.search",
"is_public": false
},
{
"type": "string",
"api_name": "format",
"required": true,
"position": "body",
"relevant": false,
"default_value": "json",
"is_public": false
},
{
"type": "string",
"api_name": "text",
"name": "query",
"required": true,
"position": "body",
"relevant": true
},
{
"type": "int",
"api_name": "page",
"name": "_page",
"required": false,
"position": "body",
"relevant": false,
"default_value": "1"
},
{
"type": "int",
"api_name": "per_page",
"name": "_page_count",
"required": false,
"position": "body",
"relevant": false,
"default_value": "100"
}
],
"response": [
{
"type": "string",
"api_name": "title",
"relevant": true
},
{
"type": "string",
"api_name": "id",
"name": "_api_id",
"relevant": true
},
{
"type": "string",
"api_name": "server",
"relevant": false
},
{
"type": "int",
"api_name": "farm",
"relevant": false
},
{
"type": "image_link",
"api_name": "secret",
"name": "picture",
"relevant": true,
"string_appends": [
{
"is_parameter_name": false,
"value": ".jpg"
}
],
"string_prepends": [
{
"is_parameter_name": false,
"value": "https://farm"
},
{
"is_parameter_name": true,
"value": "farm"
},
{
"is_parameter_name": false,
"value": ".staticflickr.com/"
},
{
"is_parameter_name": true,
"value": "server"
},
{
"is_parameter_name": false,
"value": "/"
},
{
"is_parameter_name": true,
"value": "_api_id"
},
{
"is_parameter_name": false,
"value": "_"
}
]
}
]
}