merge-requests/30/head
Bob Mottram 2022-06-28 12:07:16 +01:00
parent b352b58e83
commit eaeebef7a8
1 changed files with 3 additions and 3 deletions

View File

@ -281,7 +281,7 @@ As an example, if example.com receives the activity
"https://example.com/users/john"], "https://example.com/users/john"],
"object": { "object": {
"@context": {"@language": "en"}, "@context": {"@language": "en"},
"id": "https://example.org/users/alice/note/23", "id": "https://example.org/users/alice/statuses/23",
"type": "Note", "type": "Note",
"attributedTo": "https://example.org/users/alice", "attributedTo": "https://example.org/users/alice",
"mediaType": "text/html", "mediaType": "text/html",
@ -729,7 +729,7 @@ The above example could be converted to this:
"id": "https://example.net/users/mallory/87374", "id": "https://example.net/users/mallory/87374",
"actor": "https://example.net/users/mallory", "actor": "https://example.net/users/mallory",
"object": { "object": {
"id": "https://example.com/@mallory/note/72", "id": "https://example.com/@mallory/statuses/72",
"type": "Note", "type": "Note",
"attributedTo": "https://example.net/users/mallory", "attributedTo": "https://example.net/users/mallory",
"content": "This is a note", "content": "This is a note",
@ -845,7 +845,7 @@ A deleted object:
``` json ``` json
{ {
"@context": "https://www.w3.org/ns/activitystreams", "@context": "https://www.w3.org/ns/activitystreams",
"id": "https://example.com/@alice/note/72", "id": "https://example.com/@alice/statuses/72",
"type": "Tombstone", "type": "Tombstone",
"published": "2015-02-10T15:04:55Z", "published": "2015-02-10T15:04:55Z",
"updated": "2015-02-10T15:04:55Z", "updated": "2015-02-10T15:04:55Z",