Created
June 26, 2019 14:49
-
-
Save 1dolinski/d898bbe06ea714576128653e236c9acf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
: data => [{ | |
: id => "88", | |
: type =>: content, | |
: attributes => { | |
: is_sponsored => false,: url => "https://www.youtube.com/watch?v=BmCTQ_mkzHU",: title => "Youtube video title",: created_at => Tue, 18 Jun 2019 16: 59: 26 UTC + 00: 00,: bounty_count => 0,: user_has_bounty => false | |
}, | |
: relationships => { | |
: lists => { | |
: data => [{ | |
: id => "19", | |
: type =>: list | |
}] | |
} | |
} | |
}],: included => [{ | |
: id => "19", | |
: type =>: list, | |
: attributes => { | |
: created_at => Tue, 18 Jun 2019 16: 59: 49 UTC + 00: 00,: total_score => 0 | |
}, | |
: relationships => { | |
: user => { | |
: data => { | |
: id => "1",: type =>: user | |
} | |
} | |
} | |
}, { | |
: id => "1", | |
: type =>: user, | |
: attributes => { | |
: id => 1,: nickname => "nick",: karma => 32,: picture => "https://google.com/photo.jpg" | |
} | |
}] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Array(1) | |
0: | |
bountyCount: 0 | |
createdAt: "2019-06-18T16:59:26.761Z" | |
id: "88" | |
isSponsored: false | |
lists: Array(1) | |
0: | |
createdAt: "2019-06-18T16:59:49.074Z" | |
id: "19" | |
totalScore: 0 | |
user: Object | |
id: 1 | |
karma: 32 | |
nickname: "nick" | |
picture: "https://google.com/photo.jpg" | |
resolved: true | |
__proto__: Object | |
resolved: true | |
__user: {id: 1, nickname: "nick", karma: 32, picture: "https://google.com/photo.jpg", resolved: true} | |
get user: ƒ () | |
__proto__: Object | |
length: 1 | |
__proto__: Array(0) | |
title: "Youtube video title" | |
url: "https://www.youtube.com/watch?v=BmCTQ_mkzHU" | |
userHasBounty: false | |
resolved: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment