aboutsummaryrefslogtreecommitdiff
path: root/http
diff options
context:
space:
mode:
authorMarc Coquand <marcc@fastmail.fr>2023-12-02 09:49:42 -0600
committerMarc Coquand <marcc@fastmail.fr>2023-12-02 09:49:42 -0600
commit69d3f53365568524e18dfb1200a386309e174359 (patch)
tree30e465d36ea03bceb1f4e9b54aadfdb6d7093162 /http
downloadwormhole-69d3f53365568524e18dfb1200a386309e174359.tar.gz
wormhole-69d3f53365568524e18dfb1200a386309e174359.tar.bz2
wormhole-69d3f53365568524e18dfb1200a386309e174359.zip
Initial commit
Diffstat (limited to 'http')
-rw-r--r--http/inbox.hurl75
1 files changed, 75 insertions, 0 deletions
diff --git a/http/inbox.hurl b/http/inbox.hurl
new file mode 100644
index 0000000..adb2d0e
--- /dev/null
+++ b/http/inbox.hurl
@@ -0,0 +1,75 @@
+POST http://localhost:8080/inbox
+```
+{
+ "@context": [
+ "https://www.w3.org/ns/activitystreams",
+ {
+ "ostatus": "http://ostatus.org#",
+ "atomUri": "ostatus:atomUri",
+ "inReplyToAtomUri": "ostatus:inReplyToAtomUri",
+ "conversation": "ostatus:conversation",
+ "sensitive": "as:sensitive",
+ "toot": "http://joinmastodon.org/ns#",
+ "votersCount": "toot:votersCount",
+ "Hashtag": "as:Hashtag"
+ }
+ ],
+ "id": "https://fosstodon.org/users/marcc/statuses/111506250224920551/activity",
+ "type": "Create",
+ "actor": "https://fosstodon.org/users/marcc",
+ "published": "2023-12-01T17:05:51Z",
+ "to": [
+ "https://galaxy.mccd.space/actor"
+ ],
+ "cc": [],
+ "object": {
+ "id": "https://fosstodon.org/users/marcc/statuses/111506250224920551",
+ "type": "Note",
+ "summary": null,
+ "inReplyTo": null,
+ "published": "2023-12-01T17:05:51Z",
+ "url": "https://fosstodon.org/@marcc/111506250224920551",
+ "attributedTo": "https://fosstodon.org/users/marcc",
+ "to": [
+ "https://galaxy.mccd.space/actor"
+ ],
+ "cc": [],
+ "sensitive": false,
+ "atomUri": "https://fosstodon.org/users/marcc/statuses/111506250224920551",
+ "inReplyToAtomUri": null,
+ "conversation": "tag:fosstodon.org,2023-12-01:objectId=165401029:objectType=Conversation",
+ "content": "<p><span class=\"h-card\" translate=\"no\"><a href=\"https://galaxy.mccd.space/actor\" class=\"u-url mention\">@<span>blackhole</span></a></span> </p><p><a href=\"https://google.com\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://</span><span class=\"\">google.com</span><span class=\"invisible\"></span></a></p><p>This is a place on the web where you can search for things</p><p><a href=\"https://fosstodon.org/tags/goodie\" class=\"mention hashtag\" rel=\"tag\">#<span>goodie</span></a> <a href=\"https://fosstodon.org/tags/othergoodie\" class=\"mention hashtag\" rel=\"tag\">#<span>othergoodie</span></a></p>",
+ "contentMap": {
+ "en": "<p><span class=\"h-card\" translate=\"no\"><a href=\"https://galaxy.mccd.space/actor\" class=\"u-url mention\">@<span>blackhole</span></a></span> </p><p><a href=\"https://google.com\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://</span><span class=\"\">google.com</span><span class=\"invisible\"></span></a></p><p>This is a place on the web where you can search for things</p><p><a href=\"https://fosstodon.org/tags/goodie\" class=\"mention hashtag\" rel=\"tag\">#<span>goodie</span></a> <a href=\"https://fosstodon.org/tags/othergoodie\" class=\"mention hashtag\" rel=\"tag\">#<span>othergoodie</span></a></p>"
+ },
+ "attachment": [],
+ "tag": [
+ {
+ "type": "Mention",
+ "href": "https://galaxy.mccd.space/actor",
+ "name": "@blackhole@galaxy.mccd.space"
+ },
+ {
+ "type": "Hashtag",
+ "href": "https://fosstodon.org/tags/goodie",
+ "name": "#goodie"
+ },
+ {
+ "type": "Hashtag",
+ "href": "https://fosstodon.org/tags/othergoodie",
+ "name": "#othergoodie"
+ }
+ ],
+ "replies": {
+ "id": "https://fosstodon.org/users/marcc/statuses/111506250224920551/replies",
+ "type": "Collection",
+ "first": {
+ "type": "CollectionPage",
+ "next": "https://fosstodon.org/users/marcc/statuses/111506250224920551/replies?only_other_accounts=true&page=true",
+ "partOf": "https://fosstodon.org/users/marcc/statuses/111506250224920551/replies",
+ "items": []
+ }
+ }
+ }
+}
+```