-
-
Notifications
You must be signed in to change notification settings - Fork 885
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add cargo feature for building lemmy_api_common with mininum deps (#2243
- Loading branch information
Showing
33 changed files
with
1,199 additions
and
119 deletions.
There are no files selected for viewing
107 changes: 107 additions & 0 deletions
107
crates/apub/assets/peertube/activities/announce_video.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
{ | ||
"type": "Announce", | ||
"id": "https://framatube.org/videos/watch/60c4bea4-6bb2-4fce-8d9f-8a522575419d/announces/395533", | ||
"actor": "https://framatube.org/video-channels/joinpeertube", | ||
"object": "https://framatube.org/videos/watch/60c4bea4-6bb2-4fce-8d9f-8a522575419d", | ||
"to": [ | ||
"https://www.w3.org/ns/activitystreams#Public" | ||
], | ||
"cc": [ | ||
"https://framatube.org/accounts/framasoft/followers" | ||
], | ||
"@context": [ | ||
"https://www.w3.org/ns/activitystreams", | ||
"https://w3id.org/security/v1", | ||
{ | ||
"RsaSignature2017": "https://w3id.org/security#RsaSignature2017" | ||
}, | ||
{ | ||
"pt": "https://joinpeertube.org/ns#", | ||
"sc": "http://schema.org#", | ||
"Hashtag": "as:Hashtag", | ||
"uuid": "sc:identifier", | ||
"category": "sc:category", | ||
"licence": "sc:license", | ||
"subtitleLanguage": "sc:subtitleLanguage", | ||
"sensitive": "as:sensitive", | ||
"language": "sc:inLanguage", | ||
"isLiveBroadcast": "sc:isLiveBroadcast", | ||
"liveSaveReplay": { | ||
"@type": "sc:Boolean", | ||
"@id": "pt:liveSaveReplay" | ||
}, | ||
"permanentLive": { | ||
"@type": "sc:Boolean", | ||
"@id": "pt:permanentLive" | ||
}, | ||
"Infohash": "pt:Infohash", | ||
"Playlist": "pt:Playlist", | ||
"PlaylistElement": "pt:PlaylistElement", | ||
"originallyPublishedAt": "sc:datePublished", | ||
"views": { | ||
"@type": "sc:Number", | ||
"@id": "pt:views" | ||
}, | ||
"state": { | ||
"@type": "sc:Number", | ||
"@id": "pt:state" | ||
}, | ||
"size": { | ||
"@type": "sc:Number", | ||
"@id": "pt:size" | ||
}, | ||
"fps": { | ||
"@type": "sc:Number", | ||
"@id": "pt:fps" | ||
}, | ||
"startTimestamp": { | ||
"@type": "sc:Number", | ||
"@id": "pt:startTimestamp" | ||
}, | ||
"stopTimestamp": { | ||
"@type": "sc:Number", | ||
"@id": "pt:stopTimestamp" | ||
}, | ||
"position": { | ||
"@type": "sc:Number", | ||
"@id": "pt:position" | ||
}, | ||
"commentsEnabled": { | ||
"@type": "sc:Boolean", | ||
"@id": "pt:commentsEnabled" | ||
}, | ||
"downloadEnabled": { | ||
"@type": "sc:Boolean", | ||
"@id": "pt:downloadEnabled" | ||
}, | ||
"waitTranscoding": { | ||
"@type": "sc:Boolean", | ||
"@id": "pt:waitTranscoding" | ||
}, | ||
"support": { | ||
"@type": "sc:Text", | ||
"@id": "pt:support" | ||
}, | ||
"likes": { | ||
"@id": "as:likes", | ||
"@type": "@id" | ||
}, | ||
"dislikes": { | ||
"@id": "as:dislikes", | ||
"@type": "@id" | ||
}, | ||
"playlists": { | ||
"@id": "pt:playlists", | ||
"@type": "@id" | ||
}, | ||
"shares": { | ||
"@id": "as:shares", | ||
"@type": "@id" | ||
}, | ||
"comments": { | ||
"@id": "as:comments", | ||
"@type": "@id" | ||
} | ||
} | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,131 @@ | ||
{ | ||
"type": "Group", | ||
"id": "https://framatube.org/video-channels/joinpeertube", | ||
"following": "https://framatube.org/video-channels/joinpeertube/following", | ||
"followers": "https://framatube.org/video-channels/joinpeertube/followers", | ||
"playlists": "https://framatube.org/video-channels/joinpeertube/playlists", | ||
"inbox": "https://framatube.org/video-channels/joinpeertube/inbox", | ||
"outbox": "https://framatube.org/video-channels/joinpeertube/outbox", | ||
"preferredUsername": "joinpeertube", | ||
"url": "https://framatube.org/video-channels/joinpeertube", | ||
"name": "A propos de PeerTube", | ||
"endpoints": { | ||
"sharedInbox": "https://framatube.org/inbox" | ||
}, | ||
"publicKey": { | ||
"id": "https://framatube.org/video-channels/joinpeertube#main-key", | ||
"owner": "https://framatube.org/video-channels/joinpeertube", | ||
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsJCIZJga+4Kumb9Wrmpy\ntyV7kWdINImoXBiFkGG+6OHreHN2C3UPwTu9IkX/e20NaX6Ly6c0busieW7yh//q\nomHl2U8zz2Z5xQHUN/2ljQjUNO+89OV6cFIGyEvcwc6QhuqGvrcxonjrEkux7xSv\nxQM4kZ3YW1Sii4piFpGGIm1pcUkOxFab8PWVB5Hzpg/df2/XOmH8UECT5vaMRPE6\ns6hNiQNE34z9QmPiG6nUlaWb/WDcMYbma3sUVWW3DI008ukLlwLaLIm30ax8CEYt\nHEv2jOQb1E1sXtBPe1FI+dXRgTIk40KF50KLqcgwJH1y5ck7c8IEeooj+tYGVqPr\npQIDAQAB\n-----END PUBLIC KEY-----" | ||
}, | ||
"published": "2021-08-09T14:26:09.514Z", | ||
"icon": { | ||
"type": "Image", | ||
"mediaType": "image/png", | ||
"height": 120, | ||
"width": 120, | ||
"url": "https://framatube.org/lazy-static/avatars/a2c2ff10-9da6-4c6c-9b25-2e557fa74b66.png" | ||
}, | ||
"@context": [ | ||
"https://www.w3.org/ns/activitystreams", | ||
"https://w3id.org/security/v1", | ||
{ | ||
"RsaSignature2017": "https://w3id.org/security#RsaSignature2017" | ||
}, | ||
{ | ||
"pt": "https://joinpeertube.org/ns#", | ||
"sc": "http://schema.org#", | ||
"Hashtag": "as:Hashtag", | ||
"uuid": "sc:identifier", | ||
"category": "sc:category", | ||
"licence": "sc:license", | ||
"subtitleLanguage": "sc:subtitleLanguage", | ||
"sensitive": "as:sensitive", | ||
"language": "sc:inLanguage", | ||
"isLiveBroadcast": "sc:isLiveBroadcast", | ||
"liveSaveReplay": { | ||
"@type": "sc:Boolean", | ||
"@id": "pt:liveSaveReplay" | ||
}, | ||
"permanentLive": { | ||
"@type": "sc:Boolean", | ||
"@id": "pt:permanentLive" | ||
}, | ||
"Infohash": "pt:Infohash", | ||
"Playlist": "pt:Playlist", | ||
"PlaylistElement": "pt:PlaylistElement", | ||
"originallyPublishedAt": "sc:datePublished", | ||
"views": { | ||
"@type": "sc:Number", | ||
"@id": "pt:views" | ||
}, | ||
"state": { | ||
"@type": "sc:Number", | ||
"@id": "pt:state" | ||
}, | ||
"size": { | ||
"@type": "sc:Number", | ||
"@id": "pt:size" | ||
}, | ||
"fps": { | ||
"@type": "sc:Number", | ||
"@id": "pt:fps" | ||
}, | ||
"startTimestamp": { | ||
"@type": "sc:Number", | ||
"@id": "pt:startTimestamp" | ||
}, | ||
"stopTimestamp": { | ||
"@type": "sc:Number", | ||
"@id": "pt:stopTimestamp" | ||
}, | ||
"position": { | ||
"@type": "sc:Number", | ||
"@id": "pt:position" | ||
}, | ||
"commentsEnabled": { | ||
"@type": "sc:Boolean", | ||
"@id": "pt:commentsEnabled" | ||
}, | ||
"downloadEnabled": { | ||
"@type": "sc:Boolean", | ||
"@id": "pt:downloadEnabled" | ||
}, | ||
"waitTranscoding": { | ||
"@type": "sc:Boolean", | ||
"@id": "pt:waitTranscoding" | ||
}, | ||
"support": { | ||
"@type": "sc:Text", | ||
"@id": "pt:support" | ||
}, | ||
"likes": { | ||
"@id": "as:likes", | ||
"@type": "@id" | ||
}, | ||
"dislikes": { | ||
"@id": "as:dislikes", | ||
"@type": "@id" | ||
}, | ||
"playlists": { | ||
"@id": "pt:playlists", | ||
"@type": "@id" | ||
}, | ||
"shares": { | ||
"@id": "as:shares", | ||
"@type": "@id" | ||
}, | ||
"comments": { | ||
"@id": "as:comments", | ||
"@type": "@id" | ||
} | ||
} | ||
], | ||
"summary": "Un logiciel libre pour reprendre le contrôle de vos vidéos", | ||
"support": null, | ||
"attributedTo": [ | ||
{ | ||
"type": "Person", | ||
"id": "https://framatube.org/accounts/framasoft" | ||
} | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
{ | ||
"type": "Note", | ||
"id": "https://video.antopie.org/videos/watch/4294a720-f263-4ea4-9392-cf9cea4d5277/comments/200873", | ||
"content": "@af2@bae.st idk", | ||
"mediaType": "text/markdown", | ||
"inReplyTo": "https://bae.st/objects/87c1cbf5-542a-491d-af57-0414c8648381", | ||
"updated": "2022-04-29T07:52:32.555Z", | ||
"published": "2022-04-29T07:52:32.548Z", | ||
"url": "https://video.antopie.org/videos/watch/4294a720-f263-4ea4-9392-cf9cea4d5277/comments/200873", | ||
"attributedTo": "https://video.antopie.org/accounts/yoge6785555", | ||
"tag": [ | ||
{ | ||
"type": "Mention", | ||
"href": "https://bae.st/users/af2", | ||
"name": "@af2@bae.st" | ||
} | ||
], | ||
"to": [ | ||
"https://www.w3.org/ns/activitystreams#Public" | ||
], | ||
"cc": [ | ||
"https://video.antopie.org/accounts/yoge6785555/followers" | ||
], | ||
"@context": [ | ||
"https://www.w3.org/ns/activitystreams", | ||
"https://w3id.org/security/v1", | ||
{ | ||
"RsaSignature2017": "https://w3id.org/security#RsaSignature2017" | ||
}, | ||
{ | ||
"pt": "https://joinpeertube.org/ns#", | ||
"sc": "http://schema.org#", | ||
"Hashtag": "as:Hashtag", | ||
"uuid": "sc:identifier", | ||
"category": "sc:category", | ||
"licence": "sc:license", | ||
"subtitleLanguage": "sc:subtitleLanguage", | ||
"sensitive": "as:sensitive", | ||
"language": "sc:inLanguage", | ||
"isLiveBroadcast": "sc:isLiveBroadcast", | ||
"liveSaveReplay": { | ||
"@type": "sc:Boolean", | ||
"@id": "pt:liveSaveReplay" | ||
}, | ||
"permanentLive": { | ||
"@type": "sc:Boolean", | ||
"@id": "pt:permanentLive" | ||
}, | ||
"Infohash": "pt:Infohash", | ||
"Playlist": "pt:Playlist", | ||
"PlaylistElement": "pt:PlaylistElement", | ||
"originallyPublishedAt": "sc:datePublished", | ||
"views": { | ||
"@type": "sc:Number", | ||
"@id": "pt:views" | ||
}, | ||
"state": { | ||
"@type": "sc:Number", | ||
"@id": "pt:state" | ||
}, | ||
"size": { | ||
"@type": "sc:Number", | ||
"@id": "pt:size" | ||
}, | ||
"fps": { | ||
"@type": "sc:Number", | ||
"@id": "pt:fps" | ||
}, | ||
"startTimestamp": { | ||
"@type": "sc:Number", | ||
"@id": "pt:startTimestamp" | ||
}, | ||
"stopTimestamp": { | ||
"@type": "sc:Number", | ||
"@id": "pt:stopTimestamp" | ||
}, | ||
"position": { | ||
"@type": "sc:Number", | ||
"@id": "pt:position" | ||
}, | ||
"commentsEnabled": { | ||
"@type": "sc:Boolean", | ||
"@id": "pt:commentsEnabled" | ||
}, | ||
"downloadEnabled": { | ||
"@type": "sc:Boolean", | ||
"@id": "pt:downloadEnabled" | ||
}, | ||
"waitTranscoding": { | ||
"@type": "sc:Boolean", | ||
"@id": "pt:waitTranscoding" | ||
}, | ||
"support": { | ||
"@type": "sc:Text", | ||
"@id": "pt:support" | ||
}, | ||
"likes": { | ||
"@id": "as:likes", | ||
"@type": "@id" | ||
}, | ||
"dislikes": { | ||
"@id": "as:dislikes", | ||
"@type": "@id" | ||
}, | ||
"playlists": { | ||
"@id": "pt:playlists", | ||
"@type": "@id" | ||
}, | ||
"shares": { | ||
"@id": "as:shares", | ||
"@type": "@id" | ||
}, | ||
"comments": { | ||
"@id": "as:comments", | ||
"@type": "@id" | ||
} | ||
} | ||
] | ||
} |
Oops, something went wrong.