From 7aaa3f9a29c280f01c677c918932620be45cdbd7 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 8 Nov 2018 21:38:27 +0300 Subject: Merge everything into single Spring Boot application --- src/test/resources/mention.json | 62 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 src/test/resources/mention.json (limited to 'src/test/resources/mention.json') diff --git a/src/test/resources/mention.json b/src/test/resources/mention.json new file mode 100644 index 00000000..c51265f1 --- /dev/null +++ b/src/test/resources/mention.json @@ -0,0 +1,62 @@ +{ + "@context": [ + "https://www.w3.org/ns/activitystreams", + "https://w3id.org/security/v1", + { + "manuallyApprovesFollowers": "as:manuallyApprovesFollowers", + "sensitive": "as:sensitive", + "movedTo": { + "@id": "as:movedTo", + "@type": "@id" + }, + "Hashtag": "as:Hashtag", + "ostatus": "http://ostatus.org#", + "atomUri": "ostatus:atomUri", + "inReplyToAtomUri": "ostatus:inReplyToAtomUri", + "conversation": "ostatus:conversation", + "toot": "http://joinmastodon.org/ns#", + "Emoji": "toot:Emoji", + "focalPoint": { + "@container": "@list", + "@id": "toot:focalPoint" + }, + "featured": { + "@id": "toot:featured", + "@type": "@id" + }, + "schema": "http://schema.org#", + "PropertyValue": "schema:PropertyValue", + "value": "schema:value" + } + ], + "id": "https://mastodonsocial.ru/users/inhosin/statuses/100946127454503070", + "type": "Note", + "summary": null, + "inReplyTo": "https://juick.com/n/2923741-40", + "published": "2018-10-23T17:27:45Z", + "url": "https://mastodonsocial.ru/@inhosin/100946127454503070", + "attributedTo": "https://mastodonsocial.ru/users/inhosin", + "to": [ + "https://www.w3.org/ns/activitystreams#Public" + ], + "cc": [ + "https://mastodonsocial.ru/users/inhosin/followers", + "https://juick.com/u/vt" + ], + "sensitive": false, + "atomUri": "https://mastodonsocial.ru/users/inhosin/statuses/100946127454503070", + "inReplyToAtomUri": "https://juick.com/n/2923741-40", + "conversation": "tag:mastodonsocial.ru,2018-10-16:objectId=609790:objectType=Conversation", + "content": "

@vt а лайки между серверами ходят? И ещё вопрос: нельзя всёже в ответ транслировать ник, чтобы нотификация поступала, а то приходится лопатить ленту что искать ответы. Я сейчас тоже с ActivityPub ковыряюсь.

", + "contentMap": { + "ru": "

@vt а лайки между серверами ходят? И ещё вопрос: нельзя всёже в ответ транслировать ник, чтобы нотификация поступала, а то приходится лопатить ленту что искать ответы. Я сейчас тоже с ActivityPub ковыряюсь.

" + }, + "attachment": [], + "tag": [ + { + "type": "Mention", + "href": "https://juick.com/u/vt", + "name": "@vt@juick.com" + } + ] +} \ No newline at end of file -- cgit v1.2.3