Created
September 18, 2018 21:49
-
-
Save DeadSuperHero/9942abdb0c816450bf48f23409c9a93d to your computer and use it in GitHub Desktop.
PeerTube - ActivityPub JSON output
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
{ | |
"type":"Video", | |
"id":"https://peertube2.cpy.re/videos/watch/5a6133b8-3e0c-40dc-b859-69d0540c3fe5", | |
"name":"Big Buck Bunny","duration":"PT596S","uuid":"5a6133b8-3e0c-40dc-b859-69d0540c3fe5", | |
"tag":[ | |
{ | |
"type":"Hashtag", | |
"name":"blender" | |
}], | |
"category": | |
{ | |
"identifier":"2", | |
"name":"Films" | |
}, | |
"licence":{ | |
"identifier":"1", | |
"name":"Attribution" | |
}, | |
"views":1272, | |
"sensitive":false, | |
"waitTranscoding":false,"state":1, | |
"commentsEnabled":true, | |
"published":"2017-12-05T14:30:31.761Z", | |
"updated":"2018-09-18T21:01:00.583Z", | |
"mediaType":"text/markdown", | |
"content":"Big Buck Bunny (code-named Peach) is a 2008 short computer-animated comedy film by the Blender Institute, part of the Blender Foundation.", | |
"support":null, | |
"subtitleLanguage":[], | |
"icon":{ | |
"type":"Image", | |
"url":"https://peertube2.cpy.re/static/thumbnails/5a6133b8-3e0c-40dc-b859-69d0540c3fe5.jpg", | |
"mediaType":"image/jpeg", | |
"width":200, | |
"height":110}, | |
"url":[ | |
{ | |
"type":"Link", | |
"mimeType":"video/mp4", | |
"href":"https://peertube2.cpy.re/static/webseed/5a6133b8-3e0c-40dc-b859-69d0540c3fe5-1080.mp4", | |
"height":1080, | |
"size":304349395, | |
"fps":null | |
}, | |
{ | |
"type":"Link", | |
"mimeType":"application/x-bittorrent", | |
"href":"https://peertube2.cpy.re/static/torrents/5a6133b8-3e0c-40dc-b859-69d0540c3fe5-1080.torrent", | |
"height":1080 | |
}, | |
{ | |
"type":"Link", | |
"mimeType":"application/x-bittorrent;x-scheme-handler/magnet", | |
"href":"magnet:?xs=https%3A%2F%2Fpeertube2.cpy.re%2Fstatic%2Ftorrents%2F5a6133b8-3e0c-40dc-b859-69d0540c3fe5-1080.torrent&xt=urn:btih:dad4bdc58864f5e54df4805b9e5467e55422e2c9&dn=Big+Buck+Bunny&tr=wss%3A%2F%2Fpeertube2.cpy.re%2Ftracker%2Fsocket&tr=https%3A%2F%2Fpeertube2.cpy.re%2Ftracker%2Fannounce&ws=https%3A%2F%2Fpeertube2.cpy.re%2Fstatic%2Fwebseed%2F5a6133b8-3e0c-40dc-b859-69d0540c3fe5-1080.mp4", | |
"height":1080 | |
}, | |
{ | |
"type":"Link", | |
"mimeType":"video/mp4", | |
"href":"https://peertube2.cpy.re/static/webseed/5a6133b8-3e0c-40dc-b859-69d0540c3fe5-240.mp4", | |
"height":240, | |
"size":31784607, | |
"fps":null | |
}, | |
{ | |
"type":"Link", | |
"mimeType":"application/x-bittorrent", | |
"href":"https://peertube2.cpy.re/static/torrents/5a6133b8-3e0c-40dc-b859-69d0540c3fe5-240.torrent", | |
"height":240}, | |
{ | |
"type":"Link", | |
"mimeType":"application/x-bittorrent;x-scheme-handler/magnet", | |
"href":"magnet:?xs=https%3A%2F%2Fpeertube2.cpy.re%2Fstatic%2Ftorrents%2F5a6133b8-3e0c-40dc-b859-69d0540c3fe5-240.torrent&xt=urn:btih:f7d9185427bef9b48eb0f75d79d4b534f864e433&dn=Big+Buck+Bunny&tr=wss%3A%2F%2Fpeertube2.cpy.re%2Ftracker%2Fsocket&tr=https%3A%2F%2Fpeertube2.cpy.re%2Ftracker%2Fannounce&ws=https%3A%2F%2Fpeertube2.cpy.re%2Fstatic%2Fwebseed%2F5a6133b8-3e0c-40dc-b859-69d0540c3fe5-240.mp4", | |
"height":240 | |
}, | |
{ | |
"type":"Link", | |
"mimeType":"video/mp4", | |
"href":"https://peertube2.cpy.re/static/webseed/5a6133b8-3e0c-40dc-b859-69d0540c3fe5-360.mp4", | |
"height":360, | |
"size":55945778, | |
"fps":null | |
}, | |
{ | |
"type":"Link", | |
"mimeType":"application/x-bittorrent", | |
"href":"https://peertube2.cpy.re/static/torrents/5a6133b8-3e0c-40dc-b859-69d0540c3fe5-360.torrent", | |
"height":360 | |
}, | |
{ | |
"type":"Link", | |
"mimeType":"application/x-bittorrent;x-scheme-handler/magnet", | |
"href":"magnet:?xs=https%3A%2F%2Fpeertube2.cpy.re%2Fstatic%2Ftorrents%2F5a6133b8-3e0c-40dc-b859-69d0540c3fe5-360.torrent&xt=urn:btih:7d29804397cc5ae7114a967a92c39890fd72f18a&dn=Big+Buck+Bunny&tr=wss%3A%2F%2Fpeertube2.cpy.re%2Ftracker%2Fsocket&tr=https%3A%2F%2Fpeertube2.cpy.re%2Ftracker%2Fannounce&ws=https%3A%2F%2Fpeertube2.cpy.re%2Fstatic%2Fwebseed%2F5a6133b8-3e0c-40dc-b859-69d0540c3fe5-360.mp4", | |
"height":360 | |
}, | |
{ | |
"type":"Link", | |
"mimeType":"video/mp4", | |
"href":"https://peertube2.cpy.re/static/webseed/5a6133b8-3e0c-40dc-b859-69d0540c3fe5-480.mp4", | |
"height":480, | |
"size":74721389, | |
"fps":null | |
}, | |
{ | |
"type":"Link", | |
"mimeType":"application/x-bittorrent", | |
"href":"https://peertube2.cpy.re/static/torrents/5a6133b8-3e0c-40dc-b859-69d0540c3fe5-480.torrent", | |
"height":480 | |
}, | |
{ | |
"type":"Link", | |
"mimeType":"application/x-bittorrent;x-scheme-handler/magnet", | |
"href":"magnet:?xs=https%3A%2F%2Fpeertube2.cpy.re%2Fstatic%2Ftorrents%2F5a6133b8-3e0c-40dc-b859-69d0540c3fe5-480.torrent&xt=urn:btih:d4d0fcadf0b35ca939c832ec597b8c27cf86ce33&dn=Big+Buck+Bunny&tr=wss%3A%2F%2Fpeertube2.cpy.re%2Ftracker%2Fsocket&tr=https%3A%2F%2Fpeertube2.cpy.re%2Ftracker%2Fannounce&ws=https%3A%2F%2Fpeertube2.cpy.re%2Fstatic%2Fwebseed%2F5a6133b8-3e0c-40dc-b859-69d0540c3fe5-480.mp4", | |
"height":480 | |
}, | |
{ | |
"type":"Link", | |
"mimeType":"video/mp4", | |
"href":"https://peertube2.cpy.re/static/webseed/5a6133b8-3e0c-40dc-b859-69d0540c3fe5-720.mp4", | |
"height":720, | |
"size":132361268, | |
"fps":null | |
}, | |
{ | |
"type":"Link", | |
"mimeType":"application/x-bittorrent", | |
"href":"https://peertube2.cpy.re/static/torrents/5a6133b8-3e0c-40dc-b859-69d0540c3fe5-720.torrent", | |
"height":720 | |
}, | |
{ | |
"type":"Link", | |
"mimeType":"application/x-bittorrent;x-scheme-handler/magnet", | |
"href":"magnet:?xs=https%3A%2F%2Fpeertube2.cpy.re%2Fstatic%2Ftorrents%2F5a6133b8-3e0c-40dc-b859-69d0540c3fe5-720.torrent&xt=urn:btih:cc9caa28d7764ae54751b193b9b515618ec2589b&dn=Big+Buck+Bunny&tr=wss%3A%2F%2Fpeertube2.cpy.re%2Ftracker%2Fsocket&tr=https%3A%2F%2Fpeertube2.cpy.re%2Ftracker%2Fannounce&ws=https%3A%2F%2Fpeertube2.cpy.re%2Fstatic%2Fwebseed%2F5a6133b8-3e0c-40dc-b859-69d0540c3fe5-720.mp4", | |
"height":720 | |
}, | |
{ | |
"type":"Link", | |
"mimeType":"text/html", | |
"href":"https://peertube.cpy.re/videos/watch/5a6133b8-3e0c-40dc-b859-69d0540c3fe5"}], | |
"likes":"https://peertube2.cpy.re/videos/watch/5a6133b8-3e0c-40dc-b859-69d0540c3fe5/likes", | |
"dislikes":"https://peertube2.cpy.re/videos/watch/5a6133b8-3e0c-40dc-b859-69d0540c3fe5/dislikes", | |
"shares":"https://peertube2.cpy.re/videos/watch/5a6133b8-3e0c-40dc-b859-69d0540c3fe5/announces", | |
"comments":"https://peertube2.cpy.re/videos/watch/5a6133b8-3e0c-40dc-b859-69d0540c3fe5/comments", | |
"attributedTo":[ | |
{ | |
"type":"Person", | |
"id":"https://peertube2.cpy.re/accounts/olivier" | |
}, | |
{ | |
"type":"Group", | |
"id":"https://peertube2.cpy.re/video-channels/13751932-5a66-45a0-9605-8466d41cc948" | |
} | |
], | |
"to":[ | |
"https://www.w3.org/ns/activitystreams#Public" | |
], | |
"cc":[ | |
"https://peertube2.cpy.re/accounts/olivier/followers" | |
], | |
"@context":[ | |
"https://www.w3.org/ns/activitystreams", | |
"https://w3id.org/security/v1", | |
{ | |
"RsaSignature2017":"https://w3id.org/security#RsaSignature2017", | |
"Hashtag":"as:Hashtag", | |
"uuid":"http://schema.org/identifier", | |
"category":"http://schema.org/category", | |
"licence":"http://schema.org/license", | |
"subtitleLanguage":"http://schema.org/subtitleLanguage", | |
"sensitive":"as:sensitive", | |
"language":"http://schema.org/inLanguage", | |
"views":"http://schema.org/Number", | |
"stats":"http://schema.org/Number", | |
"size":"http://schema.org/Number", | |
"fps":"http://schema.org/Number", | |
"commentsEnabled":"http://schema.org/Boolean", | |
"waitTranscoding":"http://schema.org/Boolean", | |
"support":"http://schema.org/Text" | |
}, | |
{ | |
"likes":{ | |
"@id":"as:likes", | |
"@type":"@id" | |
}, | |
"dislikes":{ | |
"@id":"as:dislikes", | |
"@type":"@id" | |
}, | |
"shares":{ | |
"@id":"as:shares", | |
"@type":"@id" | |
}, | |
"comments":{ | |
"@id":"as:comments", | |
"@type":"@id" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment