github_api 0.6.4 → 0.6.5
Sign up to get free protection for your applications and to get access to all the features.
- data/features/cassettes/emojis/list.yml +258 -0
- data/features/cassettes/git_data/tags/get.yml +39 -36
- data/features/cassettes/repos/assignees/ckeck.yml +46 -0
- data/features/cassettes/repos/assignees/ckeck_not.yml +105 -0
- data/features/cassettes/repos/assignees/list.yml +64 -0
- data/features/emojis.feature +12 -0
- data/features/git_data/tags.feature +1 -1
- data/features/repos/assignees.feature +30 -0
- data/features/step_definitions/common_steps.rb +14 -0
- data/lib/github_api.rb +1 -0
- data/lib/github_api/client.rb +4 -0
- data/lib/github_api/descendants.rb +9 -0
- data/lib/github_api/emojis.rb +20 -0
- data/lib/github_api/error.rb +4 -0
- data/lib/github_api/error/service_error.rb +6 -0
- data/lib/github_api/repos.rb +6 -0
- data/lib/github_api/repos/assignees.rb +39 -0
- data/lib/github_api/response/raise_error.rb +5 -20
- data/lib/github_api/version.rb +1 -1
- data/spec/fixtures/repos/assignees.json +9 -0
- data/spec/github/repos/assignees_spec.rb +101 -0
- data/spec/github/repos/collaborators_spec.rb +6 -4
- metadata +44 -33
@@ -0,0 +1,258 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://<BASIC_AUTH>@api.github.com/emojis?access_token=<TOKEN>
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ""
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/jsonapplication/vnd.github+json;q=0.7application/vnd.github.v3.raw+json;q=0.5application/vnd.github.beta.raw+json;q=0.1
|
12
|
+
Accept-Charset:
|
13
|
+
- utf-8
|
14
|
+
User-Agent:
|
15
|
+
- Github Ruby Gem 0.6.4
|
16
|
+
Content-Type:
|
17
|
+
- application/json
|
18
|
+
Accept-Encoding:
|
19
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Server:
|
26
|
+
- nginx/1.0.13
|
27
|
+
Date:
|
28
|
+
- Fri, 17 Aug 2012 17:26:26 GMT
|
29
|
+
Content-Type:
|
30
|
+
- application/json; charset=utf-8
|
31
|
+
Transfer-Encoding:
|
32
|
+
- chunked
|
33
|
+
Connection:
|
34
|
+
- keep-alive
|
35
|
+
Status:
|
36
|
+
- 200 OK
|
37
|
+
Etag:
|
38
|
+
- "\"f7bd6e9f09fed3d06881cc298a65b750\""
|
39
|
+
X-Ratelimit-Limit:
|
40
|
+
- "5000"
|
41
|
+
Cache-Control:
|
42
|
+
- max-age=0, private, must-revalidate
|
43
|
+
X-Ratelimit-Remaining:
|
44
|
+
- "4999"
|
45
|
+
X-Content-Type-Options:
|
46
|
+
- nosniff
|
47
|
+
Content-Encoding:
|
48
|
+
- gzip
|
49
|
+
body:
|
50
|
+
encoding: ASCII-8BIT
|
51
|
+
string: !binary |
|
52
|
+
H4sIAAAAAAAAA7Wd27LjNpJF/8WvPb6U7XLZ/TKfwuBNEksUweblqE5NzL/P
|
53
|
+
ToDUTkrHPQ/YHRWuiPLDSghIgEBe/+eHob3PYzm20w///OGyLOP8z59/Ln/9
|
54
|
+
/c+f2p/Ka3kru5+Gdvm5nOd2mX86d8tlrX6qw+3n7lae2/nnrg7D/HN7C1+7
|
55
|
+
nx+on8bh/N9vn3/4rx+ArtuiG97KRiHhgKOUU1tOp7XP/wUbiOT60vXN1A5F
|
56
|
+
PYV57oZzvowXJKVV+B35AoxC5ohlKu5Yt6JeJ8EUHXlu7Gvft8syld1QnKYw
|
57
|
+
LIIf8ox0enVv26UYw1IuIV/Q7Ghu7cM69u21m+d8CfWDRf493MphLuo+LJdW
|
58
|
+
IOPIo5xymsK96MO9nYqpO18EK/OCpLQbjgqoXP6UbSCS+24UzJJR/BqP+SOt
|
59
|
+
w+iIfaivn34RUBOI5Es7VflYo5A5tkPdKU6FyHFakD/Qm/vl5VJf2qbA0Vlf
|
60
|
+
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U
|
246
|
+
qJp0QaPX/PEfcG43BMEBgaIEbtyIgVbsWwuB9rYD1R38+f5doqXXKLjwJQ7n
|
247
|
+
IWVTKWLXdxLZqWDxHTlPAs1wMK8X8PsJ9j/SksAhFxmaEpuDYUi9tOhtFUZJ
|
248
|
+
qyOyyK/DXRCbaRQyEcKMrEv0X4Dx01JZ87f4M/Ew/nw8hk/i+vnXL4IpiRhS
|
249
|
+
q1LxuDOKm2d0CloKC6JRXEQJo4RbeOusT6smNtPT3ArCuqTYOCgpCA65sWe2
|
250
|
+
VdZSHNkO5uZfVexjqxpC8hnevwZWTsEZ+ECRPq35W2ZayXu04F3QqDgffcBR
|
251
|
+
ytDW1wqvUsEd94EiHZ0HzvZf/vB3Etl7ZFS8gqIWnuaB+hGVMuHnba3cs+Bk
|
252
|
+
eKBIR/q+IjYnYhzV8r9i/9n8VYh3ocgi/xwQqDS3iqjLB4r0qawqRaRB4nju
|
253
|
+
uf09f0ImZAn8TmoDg6dgmiOG1BTahgLk+eN9oBz9giPA2i4Vp15R2wUvE8ej
|
254
|
+
nBHN9sYA9UGdcws+yv8xz8Rd1v/+Hy91Z0VVNQEA
|
255
|
+
|
256
|
+
http_version:
|
257
|
+
recorded_at: Fri, 17 Aug 2012 17:26:26 GMT
|
258
|
+
recorded_with: VCR 2.2.0
|
@@ -1,51 +1,54 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://<BASIC_AUTH>@api.github.com/repos/wycats/thor/git/tags/
|
6
|
-
body:
|
5
|
+
uri: https://<BASIC_AUTH>@api.github.com/repos/wycats/thor/git/tags/54cbeb8591609aa949212c8988a08741008c9ade?access_token=<TOKEN>
|
6
|
+
body:
|
7
7
|
encoding: US-ASCII
|
8
|
-
string:
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- application/vnd.github
|
12
|
-
Accept-Charset:
|
8
|
+
string: ""
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/jsonapplication/vnd.github+json;q=0.7application/vnd.github.v3.raw+json;q=0.5application/vnd.github.beta.raw+json;q=0.1
|
12
|
+
Accept-Charset:
|
13
13
|
- utf-8
|
14
|
-
User-Agent:
|
15
|
-
- Github Ruby Gem 0.6.
|
16
|
-
Content-Type:
|
17
|
-
- application/
|
18
|
-
Accept-Encoding:
|
14
|
+
User-Agent:
|
15
|
+
- Github Ruby Gem 0.6.4
|
16
|
+
Content-Type:
|
17
|
+
- application/json
|
18
|
+
Accept-Encoding:
|
19
19
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
20
|
-
response:
|
21
|
-
status:
|
20
|
+
response:
|
21
|
+
status:
|
22
22
|
code: 404
|
23
23
|
message: Not Found
|
24
|
-
headers:
|
25
|
-
Server:
|
24
|
+
headers:
|
25
|
+
Server:
|
26
26
|
- nginx/1.0.13
|
27
|
-
Date:
|
28
|
-
-
|
29
|
-
Content-Type:
|
27
|
+
Date:
|
28
|
+
- Fri, 17 Aug 2012 18:00:54 GMT
|
29
|
+
Content-Type:
|
30
30
|
- application/json; charset=utf-8
|
31
|
-
Transfer-Encoding:
|
31
|
+
Transfer-Encoding:
|
32
32
|
- chunked
|
33
|
-
Connection:
|
33
|
+
Connection:
|
34
34
|
- keep-alive
|
35
|
-
Status:
|
35
|
+
Status:
|
36
36
|
- 404 Not Found
|
37
|
-
X-
|
38
|
-
-
|
39
|
-
Cache-Control:
|
40
|
-
-
|
41
|
-
X-Ratelimit-Remaining:
|
42
|
-
-
|
43
|
-
|
37
|
+
X-Content-Type-Options:
|
38
|
+
- nosniff
|
39
|
+
Cache-Control:
|
40
|
+
- ""
|
41
|
+
X-Ratelimit-Remaining:
|
42
|
+
- "4995"
|
43
|
+
X-Ratelimit-Limit:
|
44
|
+
- "5000"
|
45
|
+
Content-Encoding:
|
44
46
|
- gzip
|
45
|
-
body:
|
47
|
+
body:
|
46
48
|
encoding: ASCII-8BIT
|
47
|
-
string: !binary
|
49
|
+
string: !binary |
|
48
50
|
H4sIAAAAAAAAA6tWyk0tLk5MT1WyUvLLL1Fwyy/NS1GqBQB8+Ys1FwAAAA==
|
49
|
-
|
50
|
-
|
51
|
+
|
52
|
+
http_version:
|
53
|
+
recorded_at: Fri, 17 Aug 2012 18:00:54 GMT
|
51
54
|
recorded_with: VCR 2.2.0
|
@@ -0,0 +1,46 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://<BASIC_AUTH>@api.github.com/repos/peter-murach/github/assignees/peter-murach?access_token=<TOKEN>
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ""
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/jsonapplication/vnd.github+json;q=0.7application/vnd.github.v3.raw+json;q=0.5application/vnd.github.beta.raw+json;q=0.1
|
12
|
+
Accept-Charset:
|
13
|
+
- utf-8
|
14
|
+
User-Agent:
|
15
|
+
- Github Ruby Gem 0.6.4
|
16
|
+
Content-Type:
|
17
|
+
- application/json
|
18
|
+
Accept-Encoding:
|
19
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 204
|
23
|
+
message: No Content
|
24
|
+
headers:
|
25
|
+
Server:
|
26
|
+
- nginx/1.0.13
|
27
|
+
Date:
|
28
|
+
- Fri, 17 Aug 2012 15:53:52 GMT
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
Status:
|
32
|
+
- 204 No Content
|
33
|
+
X-Ratelimit-Remaining:
|
34
|
+
- "4996"
|
35
|
+
X-Content-Type-Options:
|
36
|
+
- nosniff
|
37
|
+
X-Ratelimit-Limit:
|
38
|
+
- "5000"
|
39
|
+
Cache-Control:
|
40
|
+
- ""
|
41
|
+
body:
|
42
|
+
encoding: US-ASCII
|
43
|
+
string: ""
|
44
|
+
http_version:
|
45
|
+
recorded_at: Fri, 17 Aug 2012 15:53:52 GMT
|
46
|
+
recorded_with: VCR 2.2.0
|
@@ -0,0 +1,105 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://<BASIC_AUTH>@api.github.com/repos/wycats/github/assignees?access_token=<TOKEN>
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ""
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/jsonapplication/vnd.github+json;q=0.7application/vnd.github.v3.raw+json;q=0.5application/vnd.github.beta.raw+json;q=0.1
|
12
|
+
Accept-Charset:
|
13
|
+
- utf-8
|
14
|
+
User-Agent:
|
15
|
+
- Github Ruby Gem 0.6.4
|
16
|
+
Content-Type:
|
17
|
+
- application/json
|
18
|
+
Accept-Encoding:
|
19
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 404
|
23
|
+
message: Not Found
|
24
|
+
headers:
|
25
|
+
Server:
|
26
|
+
- nginx/1.0.13
|
27
|
+
Date:
|
28
|
+
- Fri, 17 Aug 2012 15:39:33 GMT
|
29
|
+
Content-Type:
|
30
|
+
- application/json; charset=utf-8
|
31
|
+
Transfer-Encoding:
|
32
|
+
- chunked
|
33
|
+
Connection:
|
34
|
+
- keep-alive
|
35
|
+
Status:
|
36
|
+
- 404 Not Found
|
37
|
+
X-Ratelimit-Remaining:
|
38
|
+
- "4998"
|
39
|
+
X-Ratelimit-Limit:
|
40
|
+
- "5000"
|
41
|
+
Cache-Control:
|
42
|
+
- ""
|
43
|
+
X-Content-Type-Options:
|
44
|
+
- nosniff
|
45
|
+
Content-Encoding:
|
46
|
+
- gzip
|
47
|
+
body:
|
48
|
+
encoding: ASCII-8BIT
|
49
|
+
string: !binary |
|
50
|
+
H4sIAAAAAAAAA6tWyk0tLk5MT1WyUvLLL1Fwyy/NS1GqBQB8+Ys1FwAAAA==
|
51
|
+
|
52
|
+
http_version:
|
53
|
+
recorded_at: Fri, 17 Aug 2012 15:39:33 GMT
|
54
|
+
- request:
|
55
|
+
method: get
|
56
|
+
uri: https://<BASIC_AUTH>@api.github.com/repos/peter-murach/github/assignees/wycats?access_token=<TOKEN>
|
57
|
+
body:
|
58
|
+
encoding: US-ASCII
|
59
|
+
string: ""
|
60
|
+
headers:
|
61
|
+
Accept:
|
62
|
+
- application/jsonapplication/vnd.github+json;q=0.7application/vnd.github.v3.raw+json;q=0.5application/vnd.github.beta.raw+json;q=0.1
|
63
|
+
Accept-Charset:
|
64
|
+
- utf-8
|
65
|
+
User-Agent:
|
66
|
+
- Github Ruby Gem 0.6.4
|
67
|
+
Content-Type:
|
68
|
+
- application/json
|
69
|
+
Accept-Encoding:
|
70
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
71
|
+
response:
|
72
|
+
status:
|
73
|
+
code: 404
|
74
|
+
message: Not Found
|
75
|
+
headers:
|
76
|
+
Server:
|
77
|
+
- nginx/1.0.13
|
78
|
+
Date:
|
79
|
+
- Fri, 17 Aug 2012 15:48:59 GMT
|
80
|
+
Content-Type:
|
81
|
+
- application/json; charset=utf-8
|
82
|
+
Transfer-Encoding:
|
83
|
+
- chunked
|
84
|
+
Connection:
|
85
|
+
- keep-alive
|
86
|
+
Status:
|
87
|
+
- 404 Not Found
|
88
|
+
X-Ratelimit-Limit:
|
89
|
+
- "5000"
|
90
|
+
Cache-Control:
|
91
|
+
- ""
|
92
|
+
X-Content-Type-Options:
|
93
|
+
- nosniff
|
94
|
+
X-Ratelimit-Remaining:
|
95
|
+
- "4997"
|
96
|
+
Content-Encoding:
|
97
|
+
- gzip
|
98
|
+
body:
|
99
|
+
encoding: ASCII-8BIT
|
100
|
+
string: !binary |
|
101
|
+
H4sIAAAAAAAAA6tWyk0tLk5MT1WyUvLLL1Fwyy/NS1GqBQB8+Ys1FwAAAA==
|
102
|
+
|
103
|
+
http_version:
|
104
|
+
recorded_at: Fri, 17 Aug 2012 15:48:59 GMT
|
105
|
+
recorded_with: VCR 2.2.0
|
@@ -0,0 +1,64 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://<BASIC_AUTH>@api.github.com/repos/peter-murach/github/assignees?access_token=<TOKEN>
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ""
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/jsonapplication/vnd.github+json;q=0.7application/vnd.github.v3.raw+json;q=0.5application/vnd.github.beta.raw+json;q=0.1
|
12
|
+
Accept-Charset:
|
13
|
+
- utf-8
|
14
|
+
User-Agent:
|
15
|
+
- Github Ruby Gem 0.6.4
|
16
|
+
Content-Type:
|
17
|
+
- application/json
|
18
|
+
Accept-Encoding:
|
19
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Server:
|
26
|
+
- nginx/1.0.13
|
27
|
+
Date:
|
28
|
+
- Fri, 17 Aug 2012 15:27:01 GMT
|
29
|
+
Content-Type:
|
30
|
+
- application/json; charset=utf-8
|
31
|
+
Transfer-Encoding:
|
32
|
+
- chunked
|
33
|
+
Connection:
|
34
|
+
- keep-alive
|
35
|
+
Status:
|
36
|
+
- 200 OK
|
37
|
+
Last-Modified:
|
38
|
+
- Wed, 15 Aug 2012 10:37:36 GMT
|
39
|
+
X-Ratelimit-Limit:
|
40
|
+
- "5000"
|
41
|
+
X-Ratelimit-Remaining:
|
42
|
+
- "4999"
|
43
|
+
Vary:
|
44
|
+
- Accept, Authorization, Cookie
|
45
|
+
X-Content-Type-Options:
|
46
|
+
- nosniff
|
47
|
+
Etag:
|
48
|
+
- "\"403ae5e19651c30babab5ad588c763fd\""
|
49
|
+
Cache-Control:
|
50
|
+
- private, s-maxage=60, max-age=60
|
51
|
+
Content-Encoding:
|
52
|
+
- gzip
|
53
|
+
body:
|
54
|
+
encoding: ASCII-8BIT
|
55
|
+
string: !binary |
|
56
|
+
H4sIAAAAAAAAA4WPyw6CMBRE/6WJO2kBCwKJcedPGGMu9FoaeTR9uDH+u/WB
|
57
|
+
QTfuJjczc+bur6QbpRpIRTQ6NFHvDTQtWRJvunBsndO2Ygy0olK51te0GXvm
|
58
|
+
LRrLfhLSwAUcmKMSIXmqU16KLMs5xKeiySCu8xJjsU5EVpS8DIi3/ZtksfEG
|
59
|
+
6VT2xL2M7F/lVmw+e1NeUKRwhh4UHdAxsBadnT2xSHeqB4k2iIk211HCY6oH
|
60
|
+
GYY+HuKcr5L0drgD23Et5DIBAAA=
|
61
|
+
|
62
|
+
http_version:
|
63
|
+
recorded_at: Fri, 17 Aug 2012 15:27:01 GMT
|
64
|
+
recorded_with: VCR 2.2.0
|
@@ -0,0 +1,12 @@
|
|
1
|
+
Feature: Emojis API
|
2
|
+
|
3
|
+
Background:
|
4
|
+
Given I have "Github::Emojis" instance
|
5
|
+
|
6
|
+
Scenario: List
|
7
|
+
|
8
|
+
Given I want to list resources
|
9
|
+
When I make request within a cassette named "emojis/list"
|
10
|
+
Then the response status should be 200
|
11
|
+
And the response type should be JSON
|
12
|
+
And the response should not be empty
|
@@ -10,7 +10,7 @@ Feature: Tags API
|
|
10
10
|
# Scenario: Lists all tags on a repository
|
11
11
|
# Given I want to get resource with the following params:
|
12
12
|
# | user | repo | sha |
|
13
|
-
# | wycats | thor |
|
13
|
+
# | wycats | thor | 54cbeb8591609aa949212c8988a08741008c9ade |
|
14
14
|
# When I make request within a cassette named "git_data/tags/get"
|
15
15
|
# Then the response status should be 200
|
16
16
|
# And the response type should be JSON
|
@@ -0,0 +1,30 @@
|
|
1
|
+
Feature: Contents API
|
2
|
+
|
3
|
+
Background:
|
4
|
+
Given I have "Github::Repos::Assignees" instance
|
5
|
+
|
6
|
+
Scenario: List
|
7
|
+
|
8
|
+
Given I want to list resources with the following params:
|
9
|
+
| user | repo |
|
10
|
+
| peter-murach | github |
|
11
|
+
When I make request within a cassette named "repos/assignees/list"
|
12
|
+
Then the response status should be 200
|
13
|
+
And the response type should be JSON
|
14
|
+
And the response should not be empty
|
15
|
+
|
16
|
+
Scenario: Check assignee does not belong to repository
|
17
|
+
|
18
|
+
Given I want to check resource with the following params:
|
19
|
+
| user | repo | assignee |
|
20
|
+
| peter-murach | github | wycats |
|
21
|
+
When I make request within a cassette named "repos/assignees/ckeck_not"
|
22
|
+
Then the response should be false
|
23
|
+
|
24
|
+
Scenario: Check assignee belongs to repository
|
25
|
+
|
26
|
+
Given I want to check resource with the following params:
|
27
|
+
| user | repo | assignee |
|
28
|
+
| peter-murach | github | peter-murach |
|
29
|
+
When I make request within a cassette named "repos/assignees/ckeck"
|
30
|
+
Then the response should be true
|
@@ -22,6 +22,20 @@ Then /^the response status should be (.*)$/ do |expected_response|
|
|
22
22
|
@response.status.should eql expected_response.to_i
|
23
23
|
end
|
24
24
|
|
25
|
+
Then /^the response should be (.*)$/ do |expected_response|
|
26
|
+
expected_response = case expected_response
|
27
|
+
when /false/
|
28
|
+
false
|
29
|
+
when /true/
|
30
|
+
true
|
31
|
+
when /\d+/
|
32
|
+
expected_response.to_i
|
33
|
+
else
|
34
|
+
expected_response
|
35
|
+
end
|
36
|
+
@response.should eql expected_response
|
37
|
+
end
|
38
|
+
|
25
39
|
Then /^the response type should be (.*)$/ do |type|
|
26
40
|
case type.downcase
|
27
41
|
when 'json'
|
data/lib/github_api.rb
CHANGED
data/lib/github_api/client.rb
CHANGED
@@ -0,0 +1,20 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
module Github
|
4
|
+
class Emojis < API
|
5
|
+
|
6
|
+
|
7
|
+
# lists all the emojis.
|
8
|
+
#
|
9
|
+
# = Examples
|
10
|
+
#
|
11
|
+
# Github.emojis.list
|
12
|
+
#
|
13
|
+
def list(params={})
|
14
|
+
normalize! params
|
15
|
+
|
16
|
+
get_request("/emojis", params)
|
17
|
+
end
|
18
|
+
|
19
|
+
end # Emojis
|
20
|
+
end # Github
|
data/lib/github_api/error.rb
CHANGED
data/lib/github_api/repos.rb
CHANGED
@@ -6,6 +6,7 @@ module Github
|
|
6
6
|
|
7
7
|
# Load all the modules after initializing Repos to avoid superclass mismatch
|
8
8
|
autoload_all 'github_api/repos',
|
9
|
+
:Assignees => 'assignees',
|
9
10
|
:Collaborators => 'collaborators',
|
10
11
|
:Commits => 'commits',
|
11
12
|
:Contents => 'contents',
|
@@ -42,6 +43,11 @@ module Github
|
|
42
43
|
super(options)
|
43
44
|
end
|
44
45
|
|
46
|
+
# Access to Repos::Collaborators API
|
47
|
+
def assignees
|
48
|
+
@assignees ||= ApiFactory.new 'Repos::Assignees'
|
49
|
+
end
|
50
|
+
|
45
51
|
# Access to Repos::Collaborators API
|
46
52
|
def collaborators
|
47
53
|
@collaborators ||= ApiFactory.new 'Repos::Collaborators'
|
@@ -0,0 +1,39 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
module Github
|
4
|
+
class Repos::Assignees < API
|
5
|
+
|
6
|
+
# lists all the available assignees (owner + collaborators)
|
7
|
+
# to which issues may be assigned.
|
8
|
+
#
|
9
|
+
# = Examples
|
10
|
+
#
|
11
|
+
# Github.repos.assignees.list 'user', 'repo'
|
12
|
+
# Github.repos.assignees.list 'user', 'repo' { |assignee| ... }
|
13
|
+
#
|
14
|
+
def list(user_name, repo_name, params={})
|
15
|
+
normalize! params
|
16
|
+
|
17
|
+
response = get_request("/repos/#{user_name}/#{repo_name}/assignees", params)
|
18
|
+
return response unless block_given?
|
19
|
+
response.each { |el| yield el }
|
20
|
+
end
|
21
|
+
|
22
|
+
# Check to see if a particular user is an assignee for a repository.
|
23
|
+
#
|
24
|
+
# = Examples
|
25
|
+
#
|
26
|
+
# Github.repos.assignees.check 'user', 'repo', 'assignee'
|
27
|
+
#
|
28
|
+
def check(user_name, repo_name, assignee, params={})
|
29
|
+
_validate_presence_of assignee
|
30
|
+
normalize! params
|
31
|
+
|
32
|
+
get_request("/repos/#{user_name}/#{repo_name}/assignees/#{assignee}",params)
|
33
|
+
true
|
34
|
+
rescue Github::Error::NotFound
|
35
|
+
false
|
36
|
+
end
|
37
|
+
|
38
|
+
end # Repos::Assignees
|
39
|
+
end # Github
|
@@ -7,26 +7,11 @@ module Github
|
|
7
7
|
class Response::RaiseError < Faraday::Response::Middleware
|
8
8
|
|
9
9
|
def on_complete(env)
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
when 403
|
16
|
-
raise Github::Error::Forbidden.new(env)
|
17
|
-
when 404
|
18
|
-
raise Github::Error::NotFound.new(env)
|
19
|
-
when 406
|
20
|
-
raise Github::Error::NotAcceptable.new(env)
|
21
|
-
when 422
|
22
|
-
raise Github::Error::UnprocessableEntity.new(env)
|
23
|
-
when 500
|
24
|
-
raise Github::Error::InternalServerError.new(env)
|
25
|
-
when 503
|
26
|
-
raise Github::Error::ServiceUnavailable.new(env)
|
27
|
-
when 400...600
|
28
|
-
raise Github::Error::ServiceError.new(env)
|
29
|
-
end
|
10
|
+
status_code = env[:status].to_i
|
11
|
+
service_error = Github::Error::ServiceError
|
12
|
+
error_class = service_error.errors[status_code]
|
13
|
+
error_class = service_error if !error_class and (400...600).include? status_code
|
14
|
+
raise error_class.new(env) if error_class
|
30
15
|
end
|
31
16
|
|
32
17
|
end # Response::RaiseError
|
data/lib/github_api/version.rb
CHANGED
@@ -0,0 +1,101 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Github::Repos::Assignees do
|
4
|
+
let(:github) { Github::Repos::Assignees.new }
|
5
|
+
let(:user) { 'peter-murach' }
|
6
|
+
let(:repo) { 'github' }
|
7
|
+
let(:assignee) { 'octocat' }
|
8
|
+
|
9
|
+
after { github.user, github.repo, github.oauth_token = nil, nil, nil }
|
10
|
+
|
11
|
+
describe '#list' do
|
12
|
+
context 'resources found' do
|
13
|
+
before do
|
14
|
+
stub_get("/repos/#{user}/#{repo}/assignees").
|
15
|
+
to_return(:body => fixture('repos/assignees.json'),
|
16
|
+
:status => 200,
|
17
|
+
:headers => {:content_type => "application/json; charset=utf-8"})
|
18
|
+
end
|
19
|
+
|
20
|
+
it 'should get the resources' do
|
21
|
+
github.list user, repo
|
22
|
+
a_get("/repos/#{user}/#{repo}/assignees").should have_been_made
|
23
|
+
end
|
24
|
+
|
25
|
+
it "should return array of resources" do
|
26
|
+
assignees = github.list user, repo
|
27
|
+
assignees.should be_an Array
|
28
|
+
assignees.should have(1).items
|
29
|
+
end
|
30
|
+
|
31
|
+
it "should be a mash type" do
|
32
|
+
assignees = github.list user, repo
|
33
|
+
assignees.first.should be_a Hashie::Mash
|
34
|
+
end
|
35
|
+
|
36
|
+
it "should get collaborator information" do
|
37
|
+
assignees = github.list user, repo
|
38
|
+
assignees.first.login.should == 'octocat'
|
39
|
+
end
|
40
|
+
|
41
|
+
it "should yield to a block" do
|
42
|
+
github.should_receive(:list).with(user, repo).and_yield('web')
|
43
|
+
github.list(user, repo) { |param| 'web' }
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
context "resource not found" do
|
48
|
+
before do
|
49
|
+
stub_get("/repos/#{user}/#{repo}/assignees").
|
50
|
+
to_return(:body => "", :status => [404, "Not Found"],
|
51
|
+
:headers => {:content_type => "application/json; charset=utf-8"})
|
52
|
+
end
|
53
|
+
|
54
|
+
it "should return 404 with a message 'Not Found'" do
|
55
|
+
expect {
|
56
|
+
github.list user, repo
|
57
|
+
}.to raise_error(Github::Error::NotFound)
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end # list
|
61
|
+
|
62
|
+
describe '#check' do
|
63
|
+
context "resource found " do
|
64
|
+
before do
|
65
|
+
stub_get("/repos/#{user}/#{repo}/assignees/#{assignee}").
|
66
|
+
to_return(:body => '', :status => 204,
|
67
|
+
:headers => {:content_type => "application/json; charset=utf-8"})
|
68
|
+
end
|
69
|
+
|
70
|
+
it "should fail to get resource without collaborator name" do
|
71
|
+
expect {
|
72
|
+
github.check user, repo, nil
|
73
|
+
}.to raise_error(ArgumentError)
|
74
|
+
end
|
75
|
+
|
76
|
+
it "should get the resource" do
|
77
|
+
github.check user, repo, assignee
|
78
|
+
a_get("/repos/#{user}/#{repo}/assignees/#{assignee}").should have_been_made
|
79
|
+
end
|
80
|
+
|
81
|
+
it "should find assignee" do
|
82
|
+
github.should_receive(:check).with(user, repo, assignee) { true }
|
83
|
+
github.check user, repo, assignee
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
87
|
+
context "resource not found" do
|
88
|
+
before do
|
89
|
+
stub_get("/repos/#{user}/#{repo}/assignees/#{assignee}").
|
90
|
+
to_return(:body => '', :status => 404,
|
91
|
+
:headers => {:content_type => "application/json; charset=utf-8"})
|
92
|
+
end
|
93
|
+
|
94
|
+
it "should fail to retrieve resource" do
|
95
|
+
github.should_receive(:check).with(user, repo, assignee) { false }
|
96
|
+
github.check user, repo, assignee
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end # check
|
100
|
+
|
101
|
+
end # Github::Repos::Assignees
|
@@ -54,7 +54,8 @@ describe Github::Repos::Collaborators do
|
|
54
54
|
context "resource not found" do
|
55
55
|
before do
|
56
56
|
stub_get("/repos/#{user}/#{repo}/collaborators").
|
57
|
-
to_return(:body => "", :status => [404, "Not Found"],
|
57
|
+
to_return(:body => "", :status => [404, "Not Found"],
|
58
|
+
:headers => {:content_type => "application/json; charset=utf-8"})
|
58
59
|
end
|
59
60
|
|
60
61
|
it "should return 404 with a message 'Not Found'" do
|
@@ -65,12 +66,12 @@ describe Github::Repos::Collaborators do
|
|
65
66
|
end
|
66
67
|
end # collaborators
|
67
68
|
|
68
|
-
|
69
69
|
describe "collaborator?" do
|
70
70
|
context "resource found " do
|
71
71
|
before do
|
72
72
|
stub_get("/repos/#{user}/#{repo}/collaborators/#{collaborator}").
|
73
|
-
to_return(:body => '', :status => 204,
|
73
|
+
to_return(:body => '', :status => 204,
|
74
|
+
:headers => {:content_type => "application/json; charset=utf-8"})
|
74
75
|
end
|
75
76
|
|
76
77
|
it "should fail to get resource without collaborator name" do
|
@@ -95,7 +96,8 @@ describe Github::Repos::Collaborators do
|
|
95
96
|
context "resource not found" do
|
96
97
|
before do
|
97
98
|
stub_get("/repos/#{user}/#{repo}/collaborators/#{collaborator}").
|
98
|
-
to_return(:body => '', :status => 404,
|
99
|
+
to_return(:body => '', :status => 404,
|
100
|
+
:headers => {:content_type => "application/json; charset=utf-8"})
|
99
101
|
end
|
100
102
|
|
101
103
|
it "should fail to retrieve resource" do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: github_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-08-17 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: hashie
|
16
|
-
requirement: &
|
16
|
+
requirement: &2156483160 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 1.2.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2156483160
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: faraday
|
27
|
-
requirement: &
|
27
|
+
requirement: &2156482660 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 0.8.1
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2156482660
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: multi_json
|
38
|
-
requirement: &
|
38
|
+
requirement: &2156498560 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '1.3'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *2156498560
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: oauth2
|
49
|
-
requirement: &
|
49
|
+
requirement: &2156498180 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *2156498180
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: nokogiri
|
60
|
-
requirement: &
|
60
|
+
requirement: &2156497640 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ~>
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: 1.5.2
|
66
66
|
type: :runtime
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *2156497640
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rspec
|
71
|
-
requirement: &
|
71
|
+
requirement: &2156497140 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ! '>='
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: '0'
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *2156497140
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: cucumber
|
82
|
-
requirement: &
|
82
|
+
requirement: &2156496680 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ! '>='
|
@@ -87,10 +87,10 @@ dependencies:
|
|
87
87
|
version: '0'
|
88
88
|
type: :development
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *2156496680
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
92
|
name: webmock
|
93
|
-
requirement: &
|
93
|
+
requirement: &2156496220 !ruby/object:Gem::Requirement
|
94
94
|
none: false
|
95
95
|
requirements:
|
96
96
|
- - ~>
|
@@ -98,10 +98,10 @@ dependencies:
|
|
98
98
|
version: 1.8.0
|
99
99
|
type: :development
|
100
100
|
prerelease: false
|
101
|
-
version_requirements: *
|
101
|
+
version_requirements: *2156496220
|
102
102
|
- !ruby/object:Gem::Dependency
|
103
103
|
name: vcr
|
104
|
-
requirement: &
|
104
|
+
requirement: &2156495760 !ruby/object:Gem::Requirement
|
105
105
|
none: false
|
106
106
|
requirements:
|
107
107
|
- - ~>
|
@@ -109,10 +109,10 @@ dependencies:
|
|
109
109
|
version: 2.2.0
|
110
110
|
type: :development
|
111
111
|
prerelease: false
|
112
|
-
version_requirements: *
|
112
|
+
version_requirements: *2156495760
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
114
|
name: simplecov
|
115
|
-
requirement: &
|
115
|
+
requirement: &2156495300 !ruby/object:Gem::Requirement
|
116
116
|
none: false
|
117
117
|
requirements:
|
118
118
|
- - ~>
|
@@ -120,10 +120,10 @@ dependencies:
|
|
120
120
|
version: 0.6.1
|
121
121
|
type: :development
|
122
122
|
prerelease: false
|
123
|
-
version_requirements: *
|
123
|
+
version_requirements: *2156495300
|
124
124
|
- !ruby/object:Gem::Dependency
|
125
125
|
name: guard
|
126
|
-
requirement: &
|
126
|
+
requirement: &2156494920 !ruby/object:Gem::Requirement
|
127
127
|
none: false
|
128
128
|
requirements:
|
129
129
|
- - ! '>='
|
@@ -131,10 +131,10 @@ dependencies:
|
|
131
131
|
version: '0'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
|
-
version_requirements: *
|
134
|
+
version_requirements: *2156494920
|
135
135
|
- !ruby/object:Gem::Dependency
|
136
136
|
name: guard-rspec
|
137
|
-
requirement: &
|
137
|
+
requirement: &2156494460 !ruby/object:Gem::Requirement
|
138
138
|
none: false
|
139
139
|
requirements:
|
140
140
|
- - ! '>='
|
@@ -142,10 +142,10 @@ dependencies:
|
|
142
142
|
version: '0'
|
143
143
|
type: :development
|
144
144
|
prerelease: false
|
145
|
-
version_requirements: *
|
145
|
+
version_requirements: *2156494460
|
146
146
|
- !ruby/object:Gem::Dependency
|
147
147
|
name: guard-cucumber
|
148
|
-
requirement: &
|
148
|
+
requirement: &2156494040 !ruby/object:Gem::Requirement
|
149
149
|
none: false
|
150
150
|
requirements:
|
151
151
|
- - ! '>='
|
@@ -153,10 +153,10 @@ dependencies:
|
|
153
153
|
version: '0'
|
154
154
|
type: :development
|
155
155
|
prerelease: false
|
156
|
-
version_requirements: *
|
156
|
+
version_requirements: *2156494040
|
157
157
|
- !ruby/object:Gem::Dependency
|
158
158
|
name: rake
|
159
|
-
requirement: &
|
159
|
+
requirement: &2156493620 !ruby/object:Gem::Requirement
|
160
160
|
none: false
|
161
161
|
requirements:
|
162
162
|
- - ! '>='
|
@@ -164,10 +164,10 @@ dependencies:
|
|
164
164
|
version: '0'
|
165
165
|
type: :development
|
166
166
|
prerelease: false
|
167
|
-
version_requirements: *
|
167
|
+
version_requirements: *2156493620
|
168
168
|
- !ruby/object:Gem::Dependency
|
169
169
|
name: bundler
|
170
|
-
requirement: &
|
170
|
+
requirement: &2156493200 !ruby/object:Gem::Requirement
|
171
171
|
none: false
|
172
172
|
requirements:
|
173
173
|
- - ! '>='
|
@@ -175,7 +175,7 @@ dependencies:
|
|
175
175
|
version: '0'
|
176
176
|
type: :development
|
177
177
|
prerelease: false
|
178
|
-
version_requirements: *
|
178
|
+
version_requirements: *2156493200
|
179
179
|
description: ! ' Ruby wrapper that supports all of the GitHub API v3 methods(nearly
|
180
180
|
200). It''s build in a modular way, that is, you can either instantiate the whole
|
181
181
|
api wrapper Github.new or use parts of it e.i. Github::Repos.new if working solely
|
@@ -186,6 +186,7 @@ extensions: []
|
|
186
186
|
extra_rdoc_files: []
|
187
187
|
files:
|
188
188
|
- Rakefile
|
189
|
+
- features/cassettes/emojis/list.yml
|
189
190
|
- features/cassettes/errors/repos/create.yml
|
190
191
|
- features/cassettes/events/issue.yml
|
191
192
|
- features/cassettes/events/network.yml
|
@@ -235,6 +236,9 @@ files:
|
|
235
236
|
- features/cassettes/pagination/repos/per_page/first.yml
|
236
237
|
- features/cassettes/pull_requests/get.yml
|
237
238
|
- features/cassettes/pull_requests/list.yml
|
239
|
+
- features/cassettes/repos/assignees/ckeck.yml
|
240
|
+
- features/cassettes/repos/assignees/ckeck_not.yml
|
241
|
+
- features/cassettes/repos/assignees/list.yml
|
238
242
|
- features/cassettes/repos/branch.yml
|
239
243
|
- features/cassettes/repos/branches.yml
|
240
244
|
- features/cassettes/repos/contents/archive.yml
|
@@ -255,6 +259,7 @@ files:
|
|
255
259
|
- features/cassettes/users/emails/delete.yml
|
256
260
|
- features/cassettes/users/get/oauth.yml
|
257
261
|
- features/cassettes/users/get/user.yml
|
262
|
+
- features/emojis.feature
|
258
263
|
- features/error_codes.feature
|
259
264
|
- features/events.feature
|
260
265
|
- features/gists/comments.feature
|
@@ -269,6 +274,7 @@ files:
|
|
269
274
|
- features/pagination.feature
|
270
275
|
- features/pull_requests.feature
|
271
276
|
- features/README.rdoc
|
277
|
+
- features/repos/assignees.feature
|
272
278
|
- features/repos/contents.feature
|
273
279
|
- features/repos.feature
|
274
280
|
- features/search.feature
|
@@ -296,6 +302,8 @@ files:
|
|
296
302
|
- lib/github_api/core_ext/hash.rb
|
297
303
|
- lib/github_api/core_ext/ordered_hash.rb
|
298
304
|
- lib/github_api/deprecation.rb
|
305
|
+
- lib/github_api/descendants.rb
|
306
|
+
- lib/github_api/emojis.rb
|
299
307
|
- lib/github_api/error/bad_request.rb
|
300
308
|
- lib/github_api/error/client_error.rb
|
301
309
|
- lib/github_api/error/forbidden.rb
|
@@ -340,6 +348,7 @@ files:
|
|
340
348
|
- lib/github_api/pull_requests/comments.rb
|
341
349
|
- lib/github_api/pull_requests.rb
|
342
350
|
- lib/github_api/rate_limit.rb
|
351
|
+
- lib/github_api/repos/assignees.rb
|
343
352
|
- lib/github_api/repos/collaborators.rb
|
344
353
|
- lib/github_api/repos/commits.rb
|
345
354
|
- lib/github_api/repos/contents.rb
|
@@ -415,6 +424,7 @@ files:
|
|
415
424
|
- spec/fixtures/pull_requests/merge_success.json
|
416
425
|
- spec/fixtures/pull_requests/pull_request.json
|
417
426
|
- spec/fixtures/pull_requests/pull_requests.json
|
427
|
+
- spec/fixtures/repos/assignees.json
|
418
428
|
- spec/fixtures/repos/branch.json
|
419
429
|
- spec/fixtures/repos/branches.json
|
420
430
|
- spec/fixtures/repos/collaborators.json
|
@@ -490,6 +500,7 @@ files:
|
|
490
500
|
- spec/github/parameter_filter_spec.rb
|
491
501
|
- spec/github/pull_requests/comments_spec.rb
|
492
502
|
- spec/github/pull_requests_spec.rb
|
503
|
+
- spec/github/repos/assignees_spec.rb
|
493
504
|
- spec/github/repos/collaborators_spec.rb
|
494
505
|
- spec/github/repos/commits_spec.rb
|
495
506
|
- spec/github/repos/contents_spec.rb
|
@@ -528,7 +539,7 @@ files:
|
|
528
539
|
homepage: https://github.com/peter-murach/github
|
529
540
|
licenses: []
|
530
541
|
post_install_message: ! "\n--------------------------------------------------------------------------------\nThank
|
531
|
-
you for installing github_api-0.6.
|
542
|
+
you for installing github_api-0.6.5.\n\n*NOTE*: Version 0.5.0 introduces breaking
|
532
543
|
changes to the way github api is queried.\nThe interface has been rewritten to be
|
533
544
|
more consistent with REST verbs that\ninteract with GitHub hypermedia resources.
|
534
545
|
Thus, to list resources 'list' or 'all'\nverbs are used, to retrieve individual
|