-
-
Notifications
You must be signed in to change notification settings - Fork 884
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Accept Image objects in attachments (#2394)
- Loading branch information
1 parent
2f9d877
commit 08a797c
Showing
4 changed files
with
51 additions
and
6 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
crates/apub/assets/lotide/activities/create_page_image.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,26 @@ | ||
{ | ||
"actor": "http://ltthostname.local:3334/apub/users/3", | ||
"object": { | ||
"@context": "https://www.w3.org/ns/activitystreams", | ||
"id": "http://ltthostname.local:3334/apub/posts/46", | ||
"type": "Note", | ||
"name": "image", | ||
"to": "http://localhost:8536/c/elsewhere", | ||
"cc": "https://www.w3.org/ns/activitystreams#Public", | ||
"attributedTo": "http://ltthostname.local:3334/apub/users/3", | ||
"attachment": [ | ||
{ | ||
"type": "Image", | ||
"url": "http://ltthostname.local:3334/api/stable/posts/46/href" | ||
} | ||
], | ||
"sensitive": false, | ||
"published": "2022-08-06T18:35:01.043072+00:00", | ||
"summary": "image" | ||
}, | ||
"to": "http://localhost:8536/c/elsewhere", | ||
"cc": "https://www.w3.org/ns/activitystreams#Public", | ||
"@context": "https://www.w3.org/ns/activitystreams", | ||
"id": "http://ltthostname.local:3334/apub/posts/46/create", | ||
"type": "Create" | ||
} |
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
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
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