1
0

activitypub-feed.txt 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. HTTP/1.1 200 OK
  2. Cache-Control: max-age=0, private, must-revalidate
  3. Content-Type: application/atom+xml; charset=utf-8
  4. 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"
  5. Vary: Accept-Encoding
  6. Date: Sun, 17 Sep 2017 06:33:53 GMT
  7. <?xml version="1.0"?>
  8. <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">
  9. <id>https://ap.example.com/users/foo.atom</id>
  10. <title>foo</title>
  11. <subtitle>test</subtitle>
  12. <updated>2017-09-16T18:50:09Z</updated>
  13. <logo>https://ap.example.com/system/accounts/avatars/000/000/001/original/141ee5846d159cba.png?1505587809</logo>
  14. <author>
  15. <id>https://ap.example.com/users/foo</id>
  16. <activity:object-type>http://activitystrea.ms/schema/1.0/person</activity:object-type>
  17. <uri>https://ap.example.com/users/foo</uri>
  18. <name>foo</name>
  19. <email>foo@ap.example.com</email>
  20. <summary type="html">&lt;p&gt;test&lt;/p&gt;</summary>
  21. <link rel="alternate" type="text/html" href="https://ap.example.com/@foo"/>
  22. <link rel="avatar" type="image/jpeg" media:width="120" media:height="120" href="https://quitter.no/avatar/7477-300-20160211190340.png"/>
  23. <poco:preferredUsername>foo</poco:preferredUsername>
  24. <poco:note>test</poco:note>
  25. <mastodon:scope>public</mastodon:scope>
  26. </author>
  27. <link rel="alternate" type="text/html" href="https://ap.example.com/@foo"/>
  28. <link rel="self" type="application/atom+xml" href="https://ap.example.com/users/foo.atom"/>
  29. <link rel="hub" href="https://ap.example.com/api/push"/>
  30. <link rel="salmon" href="https://ap.example.com/api/salmon/1"/>
  31. <entry>
  32. <id>https://ap.example.com/users/foo/statuses/11076</id>
  33. <published>2017-09-13T01:23:19Z</published>
  34. <updated>2017-09-13T01:23:19Z</updated>
  35. <title>New status by foo</title>
  36. <activity:object-type>http://activitystrea.ms/schema/1.0/note</activity:object-type>
  37. <activity:verb>http://activitystrea.ms/schema/1.0/post</activity:verb>
  38. <link rel="alternate" type="application/activity+json" href="https://ap.example.com/users/foo/statuses/11076"/>
  39. <content type="html" xml:lang="ja">&lt;p&gt;test&lt;/p&gt;</content>
  40. <link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/collection" href="http://activityschema.org/collection/public"/>
  41. <mastodon:scope>public</mastodon:scope>
  42. <link rel="alternate" type="text/html" href="https://ap.example.com/@foo/11076"/>
  43. <link rel="self" type="application/atom+xml" href="https://ap.example.com/users/foo/updates/11015.atom"/>
  44. <ostatus:conversation ref="tag:ap.example.com,2017-09-13:objectId=7412:objectType=Conversation"/>
  45. </entry>
  46. </feed>