From 69d3f53365568524e18dfb1200a386309e174359 Mon Sep 17 00:00:00 2001 From: Marc Coquand Date: Sat, 2 Dec 2023 09:49:42 -0600 Subject: Initial commit --- http/inbox.hurl | 75 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 http/inbox.hurl (limited to 'http') 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": "

@blackhole

https://google.com

This is a place on the web where you can search for things

#goodie #othergoodie

", + "contentMap": { + "en": "

@blackhole

https://google.com

This is a place on the web where you can search for things

#goodie #othergoodie

" + }, + "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": [] + } + } + } +} +``` -- cgit v1.2.3