summaryrefslogtreecommitdiff
path: root/services/github/user.json
blob: 98a488cc131c438589c8772f82eaf3660eadea97 (plain) (blame)
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
{
   "base_url" : "http://github.com/api/v2/",
   "version" : "0.2",
   "methods" : {
      "user_search" : {
         "required_params" : [
            "format",
            "search"
         ],
         "path" : "/:format/user/search/:search",
         "method" : "GET"
      },
      "user_information" : {
         "required_params" : [
            "username",
            "format"
         ],
         "path" : "/:format/user/show/:username",
         "method" : "GET"
      },
      "my_information" : {
         "required_params" : [
            "username",
            "format"
         ],
         "path" : "/:format/user/show/:username",
         "method" : "GET",
         "authentication" : true
      },
      "update_profile" : {
         "required_params" : [
            "username",
            "format"
         ],
         "path" : "/:format/user/show/:username",
         "method" : "POST",
         "authentication" : true
      },
      "follow" : {
         "required_params" : [
            "user",
            "format"
         ],
         "path" : "/:format/user/follow/:user",
         "method" : "POST",
         "authentication" : true
      },
      "unfollow" : {
         "required_params" : [
            "user",
            "format"
         ],
         "path" : "/:format/user/unfollow/:user",
         "method" : "POST",
         "authentication" : true
      },
      "list_public_keys" : {
         "required_params" : [
            "format"
         ],
         "path" : "/:format/user/keys",
         "method" : "GET",
         "authentication" : true
      },
      "add_public_key" : {
         "required_params" : [
            "format"
         ],
         "path" : "/:format/user/key/add",
         "method" : "POST",
         "authentication" : true
      },
      "del_public_key" : {
         "required_params" : [
            "format"
         ],
         "path" : "/:format/user/key/remove",
         "method" : "POST",
         "authentication" : true
      },
      "user_following" : {
         "required_params" : [
            "user",
            "format"
         ],
         "path" : "/:format/user/show/:user/following",
         "method" : "GET"
      },
      "watched_repos" : {
         "required_params" : [
            "format",
            "user"
         ],
         "path" : "/:format/user/watched/:user",
         "method" : "GET"
      },
      "user_followers" : {
         "required_params" : [
            "user",
            "format"
         ],
         "path" : "/:format/user/show/:user/followers",
         "method" : "GET"
      }
   },
   "name" : "GitHub",
   "authority" : "http://github.com/SPORE",
   "meta" : {
      "documentation" : "http://develop.github.com/"
   }
}