Skip to content

Commit 482aece

Browse files
Add JSON for stubbing /feeds endpoint
1 parent 5d2b8b8 commit 482aece

1 file changed

Lines changed: 43 additions & 0 deletions

File tree

spec/fixtures/activity/feeds.json

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"timeline_url": "https://github.com/timeline",
3+
"user_url": "https://github.com/{user}",
4+
"current_user_public_url": "https://github.com/defunkt",
5+
"current_user_url": "https://github.com/defunkt.private?token=abc123",
6+
"current_user_actor_url": "https://github.com/defunkt.private.actor?token=abc123",
7+
"current_user_organization_url": "",
8+
"current_user_organization_urls": [
9+
"https://github.com/organizations/github/defunkt.private.atom?token=abc123"
10+
],
11+
"_links": {
12+
"timeline": {
13+
"href": "https://github.com/timeline",
14+
"type": "application/atom+xml"
15+
},
16+
"user": {
17+
"href": "https://github.com/{user}",
18+
"type": "application/atom+xml"
19+
},
20+
"current_user_public": {
21+
"href": "https://github.com/defunkt",
22+
"type": "application/atom+xml"
23+
},
24+
"current_user": {
25+
"href": "https://github.com/defunkt.private?token=abc123",
26+
"type": "application/atom+xml"
27+
},
28+
"current_user_actor": {
29+
"href": "https://github.com/defunkt.private.actor?token=abc123",
30+
"type": "application/atom+xml"
31+
},
32+
"current_user_organization": {
33+
"href": "",
34+
"type": ""
35+
},
36+
"current_user_organizations": [
37+
{
38+
"href": "https://github.com/organizations/github/defunkt.private.atom?token=abc123",
39+
"type": "application/atom+xml"
40+
}
41+
]
42+
}
43+
}

0 commit comments

Comments
 (0)