Merge branch 'improve-og-embed' into 'develop'
[akkoma] / test / fixtures / tesla_mock / peertube-social.json
1 {
2 "@context": [
3 "https://www.w3.org/ns/activitystreams",
4 "https://w3id.org/security/v1",
5 {
6 "CacheFile": "pt:CacheFile",
7 "Hashtag": "as:Hashtag",
8 "Infohash": "pt:Infohash",
9 "RsaSignature2017": "https://w3id.org/security#RsaSignature2017",
10 "category": "sc:category",
11 "commentsEnabled": {
12 "@id": "pt:commentsEnabled",
13 "@type": "sc:Boolean"
14 },
15 "downloadEnabled": {
16 "@id": "pt:downloadEnabled",
17 "@type": "sc:Boolean"
18 },
19 "expires": "sc:expires",
20 "fps": {
21 "@id": "pt:fps",
22 "@type": "sc:Number"
23 },
24 "language": "sc:inLanguage",
25 "licence": "sc:license",
26 "originallyPublishedAt": "sc:datePublished",
27 "position": {
28 "@id": "pt:position",
29 "@type": "sc:Number"
30 },
31 "pt": "https://joinpeertube.org/ns#",
32 "sc": "http://schema.org#",
33 "sensitive": "as:sensitive",
34 "size": {
35 "@id": "pt:size",
36 "@type": "sc:Number"
37 },
38 "startTimestamp": {
39 "@id": "pt:startTimestamp",
40 "@type": "sc:Number"
41 },
42 "state": {
43 "@id": "pt:state",
44 "@type": "sc:Number"
45 },
46 "stopTimestamp": {
47 "@id": "pt:stopTimestamp",
48 "@type": "sc:Number"
49 },
50 "subtitleLanguage": "sc:subtitleLanguage",
51 "support": {
52 "@id": "pt:support",
53 "@type": "sc:Text"
54 },
55 "uuid": "sc:identifier",
56 "views": {
57 "@id": "pt:views",
58 "@type": "sc:Number"
59 },
60 "waitTranscoding": {
61 "@id": "pt:waitTranscoding",
62 "@type": "sc:Boolean"
63 }
64 },
65 {
66 "comments": {
67 "@id": "as:comments",
68 "@type": "@id"
69 },
70 "dislikes": {
71 "@id": "as:dislikes",
72 "@type": "@id"
73 },
74 "likes": {
75 "@id": "as:likes",
76 "@type": "@id"
77 },
78 "playlists": {
79 "@id": "pt:playlists",
80 "@type": "@id"
81 },
82 "shares": {
83 "@id": "as:shares",
84 "@type": "@id"
85 }
86 }
87 ],
88 "attributedTo": [
89 {
90 "id": "https://peertube.social/accounts/craigmaloney",
91 "type": "Person"
92 },
93 {
94 "id": "https://peertube.social/video-channels/9909c7d9-6b5b-4aae-9164-c1af7229c91c",
95 "type": "Group"
96 }
97 ],
98 "category": {
99 "identifier": "15",
100 "name": "Science & Technology"
101 },
102 "cc": [
103 "https://peertube.social/accounts/craigmaloney/followers"
104 ],
105 "comments": "https://peertube.social/videos/watch/278d2b7c-0f38-4aaa-afe6-9ecc0c4a34fe/comments",
106 "commentsEnabled": true,
107 "content": "Support this and our other Michigan!/usr/group videos and meetings. Learn more at http://mug.org/membership\n\nTwenty Years in Jail: FreeBSD's Jails, Then and Now\n\nJails started as a limited virtualization system, but over the last two years they've...",
108 "dislikes": "https://peertube.social/videos/watch/278d2b7c-0f38-4aaa-afe6-9ecc0c4a34fe/dislikes",
109 "downloadEnabled": true,
110 "duration": "PT5151S",
111 "icon": {
112 "height": 122,
113 "mediaType": "image/jpeg",
114 "type": "Image",
115 "url": "https://peertube.social/static/thumbnails/278d2b7c-0f38-4aaa-afe6-9ecc0c4a34fe.jpg",
116 "width": 223
117 },
118 "id": "https://peertube.social/videos/watch/278d2b7c-0f38-4aaa-afe6-9ecc0c4a34fe",
119 "language": {
120 "identifier": "en",
121 "name": "English"
122 },
123 "licence": {
124 "identifier": "1",
125 "name": "Attribution"
126 },
127 "likes": "https://peertube.social/videos/watch/278d2b7c-0f38-4aaa-afe6-9ecc0c4a34fe/likes",
128 "mediaType": "text/markdown",
129 "name": "Twenty Years in Jail: FreeBSD's Jails, Then and Now",
130 "originallyPublishedAt": "2019-08-13T00:00:00.000Z",
131 "published": "2020-02-12T01:06:08.054Z",
132 "sensitive": false,
133 "shares": "https://peertube.social/videos/watch/278d2b7c-0f38-4aaa-afe6-9ecc0c4a34fe/announces",
134 "state": 1,
135 "subtitleLanguage": [],
136 "support": "Learn more at http://mug.org",
137 "tag": [
138 {
139 "name": "linux",
140 "type": "Hashtag"
141 },
142 {
143 "name": "mug.org",
144 "type": "Hashtag"
145 },
146 {
147 "name": "open",
148 "type": "Hashtag"
149 },
150 {
151 "name": "oss",
152 "type": "Hashtag"
153 },
154 {
155 "name": "source",
156 "type": "Hashtag"
157 }
158 ],
159 "to": [
160 "https://www.w3.org/ns/activitystreams#Public"
161 ],
162 "type": "Video",
163 "updated": "2020-02-15T15:01:09.474Z",
164 "url": [
165 {
166 "href": "https://peertube.social/videos/watch/278d2b7c-0f38-4aaa-afe6-9ecc0c4a34fe",
167 "mediaType": "text/html",
168 "type": "Link"
169 },
170 {
171 "fps": 30,
172 "height": 240,
173 "href": "https://peertube.social/static/webseed/278d2b7c-0f38-4aaa-afe6-9ecc0c4a34fe-240.mp4",
174 "mediaType": "video/mp4",
175 "size": 119465800,
176 "type": "Link"
177 },
178 {
179 "height": 240,
180 "href": "https://peertube.social/static/torrents/278d2b7c-0f38-4aaa-afe6-9ecc0c4a34fe-240.torrent",
181 "mediaType": "application/x-bittorrent",
182 "type": "Link"
183 },
184 {
185 "height": 240,
186 "href": "magnet:?xs=https%3A%2F%2Fpeertube.social%2Fstatic%2Ftorrents%2F278d2b7c-0f38-4aaa-afe6-9ecc0c4a34fe-240.torrent&xt=urn:btih:b3365331a8543bf48d09add56d7fe4b1cbbb5659&dn=Twenty+Years+in+Jail%3A+FreeBSD's+Jails%2C+Then+and+Now&tr=wss%3A%2F%2Fpeertube.social%3A443%2Ftracker%2Fsocket&tr=https%3A%2F%2Fpeertube.social%2Ftracker%2Fannounce&ws=https%3A%2F%2Fpeertube.social%2Fstatic%2Fwebseed%2F278d2b7c-0f38-4aaa-afe6-9ecc0c4a34fe-240.mp4",
187 "mediaType": "application/x-bittorrent;x-scheme-handler/magnet",
188 "type": "Link"
189 },
190 {
191 "fps": 30,
192 "height": 360,
193 "href": "https://peertube.social/static/webseed/278d2b7c-0f38-4aaa-afe6-9ecc0c4a34fe-360.mp4",
194 "mediaType": "video/mp4",
195 "size": 143930318,
196 "type": "Link"
197 },
198 {
199 "height": 360,
200 "href": "https://peertube.social/static/torrents/278d2b7c-0f38-4aaa-afe6-9ecc0c4a34fe-360.torrent",
201 "mediaType": "application/x-bittorrent",
202 "type": "Link"
203 },
204 {
205 "height": 360,
206 "href": "magnet:?xs=https%3A%2F%2Fpeertube.social%2Fstatic%2Ftorrents%2F278d2b7c-0f38-4aaa-afe6-9ecc0c4a34fe-360.torrent&xt=urn:btih:0d37b23c98cb0d89e28b5dc8f49b3c97a041e569&dn=Twenty+Years+in+Jail%3A+FreeBSD's+Jails%2C+Then+and+Now&tr=wss%3A%2F%2Fpeertube.social%3A443%2Ftracker%2Fsocket&tr=https%3A%2F%2Fpeertube.social%2Ftracker%2Fannounce&ws=https%3A%2F%2Fpeertube.social%2Fstatic%2Fwebseed%2F278d2b7c-0f38-4aaa-afe6-9ecc0c4a34fe-360.mp4",
207 "mediaType": "application/x-bittorrent;x-scheme-handler/magnet",
208 "type": "Link"
209 },
210 {
211 "fps": 30,
212 "height": 480,
213 "href": "https://peertube.social/static/webseed/278d2b7c-0f38-4aaa-afe6-9ecc0c4a34fe-480.mp4",
214 "mediaType": "video/mp4",
215 "size": 130530754,
216 "type": "Link"
217 },
218 {
219 "height": 480,
220 "href": "https://peertube.social/static/torrents/278d2b7c-0f38-4aaa-afe6-9ecc0c4a34fe-480.torrent",
221 "mediaType": "application/x-bittorrent",
222 "type": "Link"
223 },
224 {
225 "height": 480,
226 "href": "magnet:?xs=https%3A%2F%2Fpeertube.social%2Fstatic%2Ftorrents%2F278d2b7c-0f38-4aaa-afe6-9ecc0c4a34fe-480.torrent&xt=urn:btih:3a13ff822ad9494165eff6167183ddaaabc1372a&dn=Twenty+Years+in+Jail%3A+FreeBSD's+Jails%2C+Then+and+Now&tr=wss%3A%2F%2Fpeertube.social%3A443%2Ftracker%2Fsocket&tr=https%3A%2F%2Fpeertube.social%2Ftracker%2Fannounce&ws=https%3A%2F%2Fpeertube.social%2Fstatic%2Fwebseed%2F278d2b7c-0f38-4aaa-afe6-9ecc0c4a34fe-480.mp4",
227 "mediaType": "application/x-bittorrent;x-scheme-handler/magnet",
228 "type": "Link"
229 }
230 ],
231 "uuid": "278d2b7c-0f38-4aaa-afe6-9ecc0c4a34fe",
232 "views": 2,
233 "waitTranscoding": false
234 }