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
|
{
"api_base_url" : "api.ihackernews.com",
"version" : "0.01",
"methods" : {
"askhn_posts" : {
"params" : [
"nextid"
],
"expected" : [
"200"
],
"path" : "/ask/:nextid",
"method" : "GET"
},
"vote" : {
"path" : "/vote",
"method" : "POST"
},
"auth_token" : {
"path" : "/login",
"method" : "POST"
},
"new_posts" : {
"params" : [
"nextid"
],
"expected" : [
"200"
],
"path" : "/new/:nextid",
"method" : "GET"
},
"comment" : {
"path" : "/comment",
"method" : "POST"
},
"user_profile" : {
"required" : [
"userid"
],
"expected" : [
"200"
],
"path" : "/profile/:userid",
"method" : "GET"
},
"retrieve_page" : {
"params" : [
"nextid"
],
"expected" : [
"200"
],
"path" : "/page/:nextid",
"method" : "GET"
},
"posts_from_user" : {
"params" : [
"nextid"
],
"required" : [
"username"
],
"expected" : [
"200"
],
"path" : "/by/:username/:nextid",
"method" : "GET"
},
"comments_for_post" : {
"required" : [
"id"
],
"expected" : [
"200"
],
"path" : "/comments/:id",
"method" : "GET"
}
},
"api_format" : [
"json"
],
"name" : "ihackernews",
"author" : [
"franck cuny <franck@lumberjaph.net>"
]
}
|