Much work on error reporting architecture for validation
This commit is contained in:
parent
5593bb22d1
commit
25795cf364
43 changed files with 2024 additions and 1067 deletions
14
resources/test_documents/announce.json
Normal file
14
resources/test_documents/announce.json
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"id": "https://mastodon.scot/users/simon_brooke/statuses/109545810804143431/activity",
|
||||
"type": "Announce",
|
||||
"actor": "https://mastodon.scot/users/simon_brooke",
|
||||
"published": "2022-12-20T11:40:19Z",
|
||||
"to": [
|
||||
"https://www.w3.org/ns/activitystreams#Public"
|
||||
],
|
||||
"cc": [
|
||||
"https://mastodon.social/users/borkdude",
|
||||
"https://mastodon.scot/users/simon_brooke/followers"
|
||||
],
|
||||
"object": "https://mastodon.social/users/borkdude/statuses/109545794618575668"
|
||||
}
|
||||
63
resources/test_documents/create.json
Normal file
63
resources/test_documents/create.json
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
{
|
||||
"id": "https://mastodon.scot/users/simon_brooke/statuses/109545806233872328/activity",
|
||||
"type": "Create",
|
||||
"actor": "https://mastodon.scot/users/simon_brooke",
|
||||
"published": "2022-12-20T11:39:10Z",
|
||||
"to": [
|
||||
"https://www.w3.org/ns/activitystreams#Public"
|
||||
],
|
||||
"cc": [
|
||||
"https://mastodon.scot/users/simon_brooke/followers"
|
||||
],
|
||||
"object": {
|
||||
"inReplyTo": null,
|
||||
"content": "<p>I'm still looking for a repository of <a href=\"https://mastodon.scot/tags/ActivityPub\" class=\"mention hashtag\" rel=\"tag\">#<span>ActivityPub</span></a> sample documents to run tests against. There's one of <a href=\"https://mastodon.scot/tags/ActivityStreams\" class=\"mention hashtag\" rel=\"tag\">#<span>ActivityStreams</span></a> documents here</p><p><a href=\"https://github.com/w3c-social/activitystreams-test-documents\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><span class=\"invisible\">https://</span><span class=\"ellipsis\">github.com/w3c-social/activity</span><span class=\"invisible\">streams-test-documents</span></a></p><p>but they don't conform to the ActivityPub specification. Please, has anyone got pointers?</p><p>Captures of actual live interchanges between ActivityPub servers would be especially useful.</p><p><a href=\"https://mastodon.scot/tags/ActivityPubInClojure\" class=\"mention hashtag\" rel=\"tag\">#<span>ActivityPubInClojure</span></a></p>",
|
||||
"sensitive": false,
|
||||
"cc": [
|
||||
"https://mastodon.scot/users/simon_brooke/followers"
|
||||
],
|
||||
"type": "Note",
|
||||
"attributedTo": "https://mastodon.scot/users/simon_brooke",
|
||||
"summary": null,
|
||||
"replies": {
|
||||
"id": "https://mastodon.scot/users/simon_brooke/statuses/109545806233872328/replies",
|
||||
"type": "Collection",
|
||||
"first": {
|
||||
"type": "CollectionPage",
|
||||
"next": "https://mastodon.scot/users/simon_brooke/statuses/109545806233872328/replies?only_other_accounts=true&page=true",
|
||||
"partOf": "https://mastodon.scot/users/simon_brooke/statuses/109545806233872328/replies",
|
||||
"items": []
|
||||
}
|
||||
},
|
||||
"id": "https://mastodon.scot/users/simon_brooke/statuses/109545806233872328",
|
||||
"contentMap": {
|
||||
"en": "<p>I'm still looking for a repository of <a href=\"https://mastodon.scot/tags/ActivityPub\" class=\"mention hashtag\" rel=\"tag\">#<span>ActivityPub</span></a> sample documents to run tests against. There's one of <a href=\"https://mastodon.scot/tags/ActivityStreams\" class=\"mention hashtag\" rel=\"tag\">#<span>ActivityStreams</span></a> documents here</p><p><a href=\"https://github.com/w3c-social/activitystreams-test-documents\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><span class=\"invisible\">https://</span><span class=\"ellipsis\">github.com/w3c-social/activity</span><span class=\"invisible\">streams-test-documents</span></a></p><p>but they don't conform to the ActivityPub specification. Please, has anyone got pointers?</p><p>Captures of actual live interchanges between ActivityPub servers would be especially useful.</p><p><a href=\"https://mastodon.scot/tags/ActivityPubInClojure\" class=\"mention hashtag\" rel=\"tag\">#<span>ActivityPubInClojure</span></a></p>"
|
||||
},
|
||||
"conversation": "tag:mastodon.scot,2022-12-20:objectId=39176769:objectType=Conversation",
|
||||
"url": "https://mastodon.scot/@simon_brooke/109545806233872328",
|
||||
"inReplyToAtomUri": null,
|
||||
"tag": [
|
||||
{
|
||||
"type": "Hashtag",
|
||||
"href": "https://mastodon.scot/tags/activitypubinclojure",
|
||||
"name": "#activitypubinclojure"
|
||||
},
|
||||
{
|
||||
"type": "Hashtag",
|
||||
"href": "https://mastodon.scot/tags/activitystreams",
|
||||
"name": "#activitystreams"
|
||||
},
|
||||
{
|
||||
"type": "Hashtag",
|
||||
"href": "https://mastodon.scot/tags/activitypub",
|
||||
"name": "#activitypub"
|
||||
}
|
||||
],
|
||||
"atomUri": "https://mastodon.scot/users/simon_brooke/statuses/109545806233872328",
|
||||
"published": "2022-12-20T11:39:10Z",
|
||||
"attachment": [],
|
||||
"to": [
|
||||
"https://www.w3.org/ns/activitystreams#Public"
|
||||
]
|
||||
}
|
||||
}
|
||||
8
resources/test_documents/outbox.json
Normal file
8
resources/test_documents/outbox.json
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"@context": "https://www.w3.org/ns/activitystreams",
|
||||
"id": "https://mastodon.scot/users/simon_brooke/outbox",
|
||||
"type": "OrderedCollection",
|
||||
"totalItems": 2881,
|
||||
"first": "https://mastodon.scot/users/simon_brooke/outbox?page=true",
|
||||
"last": "https://mastodon.scot/users/simon_brooke/outbox?min_id=0\u0026page=true"
|
||||
}
|
||||
1
resources/test_documents/outbox_page.json
Normal file
1
resources/test_documents/outbox_page.json
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue