mastodon/spec/fixtures/requests/activitypub-feed.txt

48 lines
3.1 KiB
Plaintext

HTTP/1.1 200 OK
Cache-Control: max-age=0, private, must-revalidate
Content-Type: application/atom+xml; charset=utf-8
Link: <https://ap.example.com/.well-known/webfinger?resource=acct%3Afoo%40ap.example.com>; rel="lrdd"; type="application/xrd+xml", <https://ap.example.com/users/foo.atom>; rel="alternate"; type="application/atom+xml", <https://ap.example.com/users/foo>; rel="alternate"; type="application/activity+json"
Vary: Accept-Encoding
Date: Sun, 17 Sep 2017 06:33:53 GMT
<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:activity="http://activitystrea.ms/spec/1.0/" xmlns:poco="http://portablecontacts.net/spec/1.0" xmlns:media="http://purl.org/syndication/atommedia" xmlns:ostatus="http://ostatus.org/schema/1.0" xmlns:mastodon="http://mastodon.social/schema/1.0">
<id>https://ap.example.com/users/foo.atom</id>
<title>foo</title>
<subtitle>test</subtitle>
<updated>2017-09-16T18:50:09Z</updated>
<logo>https://ap.example.com/system/accounts/avatars/000/000/001/original/141ee5846d159cba.png?1505587809</logo>
<author>
<id>https://ap.example.com/users/foo</id>
<activity:object-type>http://activitystrea.ms/schema/1.0/person</activity:object-type>
<uri>https://ap.example.com/users/foo</uri>
<name>foo</name>
<email>foo@ap.example.com</email>
<summary type="html">&lt;p&gt;test&lt;/p&gt;</summary>
<link rel="alternate" type="text/html" href="https://ap.example.com/@foo"/>
<link rel="avatar" type="image/jpeg" media:width="120" media:height="120" href="https://quitter.no/avatar/7477-300-20160211190340.png"/>
<poco:preferredUsername>foo</poco:preferredUsername>
<poco:note>test</poco:note>
<mastodon:scope>public</mastodon:scope>
</author>
<link rel="alternate" type="text/html" href="https://ap.example.com/@foo"/>
<link rel="self" type="application/atom+xml" href="https://ap.example.com/users/foo.atom"/>
<link rel="hub" href="https://ap.example.com/api/push"/>
<link rel="salmon" href="https://ap.example.com/api/salmon/1"/>
<entry>
<id>https://ap.example.com/users/foo/statuses/11076</id>
<published>2017-09-13T01:23:19Z</published>
<updated>2017-09-13T01:23:19Z</updated>
<title>New status by foo</title>
<activity:object-type>http://activitystrea.ms/schema/1.0/note</activity:object-type>
<activity:verb>http://activitystrea.ms/schema/1.0/post</activity:verb>
<link rel="alternate" type="application/activity+json" href="https://ap.example.com/users/foo/statuses/11076"/>
<content type="html" xml:lang="ja">&lt;p&gt;test&lt;/p&gt;</content>
<link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/collection" href="http://activityschema.org/collection/public"/>
<mastodon:scope>public</mastodon:scope>
<link rel="alternate" type="text/html" href="https://ap.example.com/@foo/11076"/>
<link rel="self" type="application/atom+xml" href="https://ap.example.com/users/foo/updates/11015.atom"/>
<ostatus:conversation ref="tag:ap.example.com,2017-09-13:objectId=7412:objectType=Conversation"/>
</entry>
</feed>