Browse Source

Static mastodon attempt

master
David Larlet 3 years ago
parent
commit
50691b19a4
No known key found for this signature in database
3 changed files with 92 additions and 0 deletions
  1. 8
    0
      david/mastodon/outbox.json
  2. 46
    0
      david/mastodon/outbox_content.json
  3. 38
    0
      david/mastodon/profile.json

+ 8
- 0
david/mastodon/outbox.json View File

@@ -0,0 +1,8 @@
{
"@context": "https://www.w3.org/ns/activitystreams",
"first": "https://larlet.fr/david/mastodon/outbox_content.json",
"id": "https://larlet.fr/david/mastodon/outbox.json",
"last": "https://larlet.fr/david/mastodon/outbox_content.json",
"totalItems": 1,
"type": "OrderedCollection"
}

+ 46
- 0
david/mastodon/outbox_content.json View File

@@ -0,0 +1,46 @@
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"atomUri": "ostatus:atomUri",
"conversation": "ostatus:conversation",
"inReplyToAtomUri": "ostatus:inReplyToAtomUri",
"ostatus": "http://ostatus.org#",
"sensitive": "as:sensitive",
"toot": "http://joinmastodon.org/ns#",
"votersCount": "toot:votersCount"
}
],
"id": "https://larlet.fr/david/mastodon/outbox_content.json",
"next": "https://larlet.fr/david/mastodon/outbox_content.json",
"orderedItems": [
{
"actor": "https://larlet.fr/david/",
"cc": [
"https://www.w3.org/ns/activitystreams#Public",
],
"id": "https://larlet.fr/david/2020/04/10/",
"object": {
"atomUri": "https://larlet.fr/david/2020/04/10/",
"attachment": [],
"attributedTo": "https://larlet.fr/david/",
"cc": [
"https://www.w3.org/ns/activitystreams#Public",
],
"content": "<p><a href=\"https://larlet.fr/david/2020/04/10/\">Résistance</a> by <span class=\"h-card\"><a href=\"https://mastodon.social/@dav\" class=\"u-url mention\">@<span>dav</span></a></span></p>",
"conversation": "tag:larlet.fr/david/2020/04/10/",
"id": "https://larlet.fr/david/2020/04/10/",
"published": "2020-04-12T00:42:33Z",
"sensitive": false,
"summary": null,
"type": "Note",
"url": "https://larlet.fr/david/2020/04/10/"
},
"published": "2020-04-12T00:42:33Z",
"type": "Create"
}
],
"partOf": "https://larlet.fr/david/mastodon/outbox.json",
"prev": "https://larlet.fr/david/mastodon/outbox_content.json",
"type": "OrderedCollectionPage"
}

+ 38
- 0
david/mastodon/profile.json View File

@@ -0,0 +1,38 @@
{
"@context": [
"https://www.w3.org/ns/activitystreams",
"https://w3id.org/security/v1",
{
"IdentityProof": "toot:IdentityProof",
"PropertyValue": "schema:PropertyValue",
"alsoKnownAs": {
"@id": "as:alsoKnownAs",
"@type": "@id"
},
"discoverable": "toot:discoverable",
"manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
"schema": "http://schema.org#",
"toot": "http://joinmastodon.org/ns#",
"value": "schema:value"
}
],
"discoverable": false,
"endpoints": {
"sharedInbox": "https://larlet.fr/dummy"
},
"id": "https://larlet.fr/david/",
"image": {
"mediaType": "image/jpeg",
"type": "Image",
"url": "https://larlet.fr/static/david/david-larlet-avatar.jpg"
},
"inbox": "https://larlet.fr/david/mastodon/inbox.json",
"manuallyApprovesFollowers": false,
"name": "David Larlet Website",
"outbox": "https://larlet.fr/david/mastodon/outbox.json",
"preferredUsername": "david",
"summary": "<p>Federated RSS 🤔</p>",
"tag": [],
"type": "Person",
"url": "https://larlet.fr/david/"
}

Loading…
Cancel
Save