Public Activity

Fetched from http://localhost:33165/activitypub/public/page

{…}
{
  "@context": "https://www.w3.org/ns/activitystreams",
  "type": "OrderedCollectionPage",
  "orderedItems": [
    {
      "@context": "https://www.w3.org/ns/activitystreams",
      "type": "Create",
      "object": {
        "@context": "https://www.w3.org/ns/activitystreams",
        "type": "Note",
        "content": "This is a note",
        "published": "2015-02-10T15:04:55Z",
        "cc": [
          "https://www.w3.org/ns/activitystreams#Public"
        ]
      },
      "cc": [
        "https://www.w3.org/ns/activitystreams#Public"
      ],
      "id": "urn:uuid:c870ef1d-a563-4f0a-aabc-af33ed1f07cf",
      "published": "2017-09-10T10:42:36.433Z",
      "inbox": "/activitypub/inbox",
      "url": "/activities/c870ef1d-a563-4f0a-aabc-af33ed1f07cf",
      "uuid": "c870ef1d-a563-4f0a-aabc-af33ed1f07cf",
      "replies": "/activities/c870ef1d-a563-4f0a-aabc-af33ed1f07cf/replies"
    },
    {
      "inReplyTo": "https://distbin.com/activities/7e193dc8-8b0b-46c7-86ad-ef7e446819ed",
      "content": " <!-- <a class=\"u-in-reply-to\" href=\"https://mastodon.technology/@snarfed/2604611\"></a> --> <!-- <a class=\"u-in-reply-to\" href=\"https://libranet.de/display/snarfed/3453879\"></a> --> <!-- <a class=\"u-in-reply-to\" href=\"https://quitter.se/notice/17459493\"></a> --> <!-- <a class=\"u-in-reply-to\" href=\"https://lastauth.com/channel/snarfed/?mid=7cfa12e54cf97aaed3b0bb185651ae37a1e24027fbf3e845fab261e108392707@lastauth.com\"></a> --> <a class=\"u-in-reply-to\" href=\"https://distbin.com/activities/7e193dc8-8b0b-46c7-86ad-ef7e446819ed\"></a> another test reply ",
      "published": "2017-08-26T21:58:26+00:00",
      "displayName": "another test reply",
      "objectType": "comment",
      "cc": [
        "https://www.w3.org/ns/activitystreams#Public",
        "https://distbin.com/activities/7e193dc8-8b0b-46c7-86ad-ef7e446819ed"
      ],
      "id": "urn:uuid:e105f7af-ee25-484e-9db5-ed8b5f7e2384",
      "inbox": "/activitypub/inbox",
      "url": "/activities/e105f7af-ee25-484e-9db5-ed8b5f7e2384",
      "uuid": "e105f7af-ee25-484e-9db5-ed8b5f7e2384",
      "replies": "/activities/e105f7af-ee25-484e-9db5-ed8b5f7e2384/replies"
    },
    {
      "@context": "https://www.w3.org/ns/activitystreams",
      "type": "Create",
      "object": {
        "type": "Note",
        "content": "{\r\n  \"@context\": \"https://www.w3.org/ns/activitystreams\",\r\n  \"summary\": \"Sally liked a note\",\r\n  \"type\": \"Like\",\r\n  \"actor\": {\r\n    \"type\": \"Person\",\r\n    \"name\": \"Sally\"\r\n  },\r\n  \"object\": { \r\n    \"@context\":\"activitystreams\",\r\n    \"type\":\"Note\",\r\n    \"actor\": \"https://bob.example/\",\r\n    \"to\": \"https://www.w3.org/ns/activitystreams#Public\"\r\n    \"content\": \"Something I would say\"\r\n    \"published\": \"2015-02-10T15:04:55Z\",\r\n    \"signature\": {\r\n     \"type\":\"SimpleActivityPub2017\"\r\n     \"fields\":[\"to\",\"content\",\"published\"],\r\n     \"creator\":\"http://bob.example/keys/1\"\r\n     \"signatureValue\":\"abdeASDgsasSDHGf==\"\r\n   }\r\n}",
        "generator": {
          "type": "Application",
          "name": "distbin-html",
          "url": "https://distbin.com"
        }
      },
      "cc": [
        "https://www.w3.org/ns/activitystreams#Public"
      ],
      "id": "urn:uuid:e4ea676e-0742-4b62-8d30-a5f293f102d5",
      "published": "2017-07-17T20:52:24.629Z",
      "inbox": "/activitypub/inbox",
      "url": "/activities/e4ea676e-0742-4b62-8d30-a5f293f102d5",
      "uuid": "e4ea676e-0742-4b62-8d30-a5f293f102d5",
      "replies": "/activities/e4ea676e-0742-4b62-8d30-a5f293f102d5/replies"
    },
    {
      "@context": "https://www.w3.org/ns/activitystreams",
      "type": "Create",
      "object": {
        "type": "Note",
        "content": "I suggest we add a property to the AS2 Collection type (https://www.w3.org/TR/activitystreams-vocabulary/#dfn-collection): e.g.\r\n\r\n{\r\n  \"@context\": \"https://www.w3.org/ns/activitystreams\"\r\n  \"summary\": \"Sally's main stream\",\r\n  \"type\": \"Collection\",\r\n  \"totalItems\": 3,\r\n  \"items\" : [\r\n  ],\r\n  \"pinnedItems\": [\r\n  ]\r\n}",
        "generator": {
          "type": "Application",
          "name": "distbin-html",
          "url": "https://distbin.com"
        }
      },
      "cc": [
        "https://www.w3.org/ns/activitystreams#Public"
      ],
      "id": "urn:uuid:c6274d2e-f5c9-4fdd-89b2-057df5333872",
      "published": "2017-07-16T23:13:14.929Z",
      "inbox": "/activitypub/inbox",
      "url": "/activities/c6274d2e-f5c9-4fdd-89b2-057df5333872",
      "uuid": "c6274d2e-f5c9-4fdd-89b2-057df5333872",
      "replies": "/activities/c6274d2e-f5c9-4fdd-89b2-057df5333872/replies"
    },
    {
      "@context": "https://www.w3.org/ns/activitystreams",
      "type": "Create",
      "object": {
        "type": "Note",
        "content": "... aaand I can't view this activity because it just breaks the server",
        "generator": {
          "type": "Application",
          "name": "distbin-html",
          "url": "https://distbin.com"
        },
        "inReplyTo": "/activities/f96043af-94e9-42a9-b6ff-9428d8e45530"
      },
      "cc": [
        "https://www.w3.org/ns/activitystreams#Public",
        "/activities/f96043af-94e9-42a9-b6ff-9428d8e45530"
      ],
      "id": "urn:uuid:d9dcf5c3-b6f7-4311-81c9-1dfc519d26ff",
      "published": "2017-07-03T17:52:12.838Z",
      "inbox": "/activitypub/inbox",
      "url": "/activities/d9dcf5c3-b6f7-4311-81c9-1dfc519d26ff",
      "uuid": "d9dcf5c3-b6f7-4311-81c9-1dfc519d26ff",
      "replies": "/activities/d9dcf5c3-b6f7-4311-81c9-1dfc519d26ff/replies"
    },
    {
      "@context": "https://www.w3.org/ns/activitystreams",
      "type": "Create",
      "object": {
        "type": "Note",
        "content": "about 2 and 3: all objects must have IDs and those IDs must be publicly dereferencable or null: https://www.w3.org/TR/activitypub/#obj-id (and dereferencing is defined as HTTP GET)\r\n\r\n4: even if I do inReplyTo the object (not the activity, afaik), my server will federate by audience targeting, maybe I could do \"to\": the activity, but I bet some clients will just refuse to do that.",
        "generator": {
          "type": "Application",
          "name": "distbin-html",
          "url": "https://distbin.com"
        },
        "inReplyTo": "/activities/deebfd14-fd46-47b0-b634-4dfc8cd7cb3e"
      },
      "cc": [
        "https://www.w3.org/ns/activitystreams#Public",
        "/activities/deebfd14-fd46-47b0-b634-4dfc8cd7cb3e"
      ],
      "id": "urn:uuid:f96043af-94e9-42a9-b6ff-9428d8e45530",
      "published": "2017-07-03T17:51:28.733Z",
      "inbox": "/activitypub/inbox",
      "url": "/activities/f96043af-94e9-42a9-b6ff-9428d8e45530",
      "uuid": "f96043af-94e9-42a9-b6ff-9428d8e45530",
      "replies": "/activities/f96043af-94e9-42a9-b6ff-9428d8e45530/replies"
    },
    {
      "@context": "https://www.w3.org/ns/activitystreams",
      "type": "Create",
      "object": {
        "type": "Note",
        "content": "+1 on HN :)\r\n\r\nBut what am I doing right now? Tweeting?\r\n\r\nFYI: \"Error getting geolocation: Unknown error acquiring position\"",
        "generator": {
          "type": "Application",
          "name": "distbin-html",
          "url": "https://distbin.com"
        },
        "tag": [
          {
            "name": "flag for cleanup"
          },
          {
            "name": "deleteme"
          },
          {
            "name": "test"
          },
          {
            "name": "demo"
          }
        ],
        "inReplyTo": "https://news.ycombinator.com/item?id=14516538"
      },
      "location": {
        "type": "Place",
        "name": "In front of my computer"
      },
      "cc": [
        "https://www.w3.org/ns/activitystreams#Public",
        "https://news.ycombinator.com/item?id=14516538"
      ],
      "attributedTo": {
        "name": "Danimal"
      },
      "id": "urn:uuid:e8fbac4e-3874-4575-bcfa-29f392cc80aa",
      "published": "2017-06-08T21:10:09.522Z",
      "distbin:activityPubDeliveryFailures": [
        {
          "name": "InboxDiscoveryFailed",
          "message": "No .inbox found for target https://news.ycombinator.com/item?id=14516538"
        }
      ],
      "inbox": "/activitypub/inbox",
      "url": "/activities/e8fbac4e-3874-4575-bcfa-29f392cc80aa",
      "uuid": "e8fbac4e-3874-4575-bcfa-29f392cc80aa",
      "replies": "/activities/e8fbac4e-3874-4575-bcfa-29f392cc80aa/replies"
    },
    {
      "@context": "https://www.w3.org/ns/activitystreams",
      "type": "Create",
      "object": {
        "type": "Note",
        "content": "I'm sorry you think its a mess. Most first implementations of protocols are messy. :)\r\n\r\nThanks for pointing these issues out. I'll fix them.\r\n\r\n1. wrt the weird Content-Type. The '#' was actually from a bug in an earlier version of the spec.\r\n\r\n2. I think I disagree that ActivityPub URIs must be URLs that resolve. I believe any URI is valid, but will double-check.\r\n\r\n3. Will you cite the requirement that makes it invalid?\r\n\r\n4. It doesn't need an actor. You just make your post inReplyTo the activity on distbin (e.g. I this Note is inReplyTo your posts' URL of https://distbin.com/activities/578ed174-494d-407f-9d5b-5b90c91ba3da )",
        "generator": {
          "type": "Application",
          "name": "distbin-html",
          "url": "https://distbin.com"
        },
        "inReplyTo": "https://distbin.com/activities/578ed174-494d-407f-9d5b-5b90c91ba3da"
      },
      "cc": [
        "https://www.w3.org/ns/activitystreams#Public",
        "https://distbin.com/activities/578ed174-494d-407f-9d5b-5b90c91ba3da"
      ],
      "id": "urn:uuid:deebfd14-fd46-47b0-b634-4dfc8cd7cb3e",
      "published": "2017-06-08T20:04:47.765Z",
      "inbox": "/activitypub/inbox",
      "url": "/activities/deebfd14-fd46-47b0-b634-4dfc8cd7cb3e",
      "uuid": "deebfd14-fd46-47b0-b634-4dfc8cd7cb3e",
      "replies": "/activities/deebfd14-fd46-47b0-b634-4dfc8cd7cb3e/replies"
    },
    {
      "@context": "https://www.w3.org/ns/activitystreams",
      "type": "Create",
      "object": {
        "type": "Note",
        "content": "oooo maybe it was the link I posted!",
        "generator": {
          "type": "Application",
          "name": "distbin-html",
          "url": "https://distbin.com"
        },
        "inReplyTo": "https://distbin.com/activities/12f93466-b462-415a-99ee-1686eef55539"
      },
      "cc": [
        "https://www.w3.org/ns/activitystreams#Public",
        "https://distbin.com/activities/12f93466-b462-415a-99ee-1686eef55539"
      ],
      "id": "urn:uuid:f1e91068-f4cd-4efe-80ae-2a4d9c92e9ad",
      "published": "2017-05-08T00:34:26.949Z",
      "inbox": "/activitypub/inbox",
      "url": "/activities/f1e91068-f4cd-4efe-80ae-2a4d9c92e9ad",
      "uuid": "f1e91068-f4cd-4efe-80ae-2a4d9c92e9ad",
      "replies": "/activities/f1e91068-f4cd-4efe-80ae-2a4d9c92e9ad/replies"
    },
    {
      "@context": "https://www.w3.org/ns/activitystreams",
      "type": "Create",
      "object": {
        "type": "Note",
        "content": "...nope",
        "generator": {
          "type": "Application",
          "name": "distbin-html",
          "url": "https://distbin.com"
        },
        "inReplyTo": "/activities/3e252d41-87c0-49e0-a869-f0798b191a40"
      },
      "cc": [
        "https://www.w3.org/ns/activitystreams#Public",
        "/activities/3e252d41-87c0-49e0-a869-f0798b191a40"
      ],
      "id": "urn:uuid:d1f3c21f-8774-466c-8995-4ef62390e79a",
      "published": "2017-05-06T01:53:20.832Z",
      "inbox": "/activitypub/inbox",
      "url": "/activities/d1f3c21f-8774-466c-8995-4ef62390e79a",
      "uuid": "d1f3c21f-8774-466c-8995-4ef62390e79a",
      "replies": "/activities/d1f3c21f-8774-466c-8995-4ef62390e79a/replies"
    }
  ],
  "startIndex": 0,
  "next": "?cursor=%7B%22or%22%3A%5B%7B%22published%22%3A%7B%22lt%22%3A%222017-05-06T01%3A53%3A20.832Z%22%7D%7D%2C%7B%22and%22%3A%5B%7B%22published%22%3A%7B%22equals%22%3A%222017-05-06T01%3A53%3A20.832Z%22%7D%7D%2C%7B%22id%22%3A%7B%22lt%22%3A%22urn%3Auuid%3Ad1f3c21f-8774-466c-8995-4ef62390e79a%22%7D%7D%5D%7D%5D%7D",
  "partOf": "/activitypub/public"
}
This is a note
another test reply
{ "@context": "https://www.w3.org/ns/activitystreams", "summary": "Sally liked a note", "type": "Like", "actor": { "type": "Person", "name": "Sally" }, "object": { "@context":"activitystreams", "type":"Note", "actor": "https://bob.example/", "to": "https://www.w3.org/ns/activitystreams#Public" "content": "Something I would say" "published": "2015-02-10T15:04:55Z", "signature": { "type":"SimpleActivityPub2017" "fields":["to","content","published"], "creator":"http://bob.example/keys/1" "signatureValue":"abdeASDgsasSDHGf==" } }
I suggest we add a property to the AS2 Collection type (https://www.w3.org/TR/activitystreams-vocabulary/#dfn-collection): e.g. { "@context": "https://www.w3.org/ns/activitystreams" "summary": "Sally's main stream", "type": "Collection", "totalItems": 3, "items" : [ ], "pinnedItems": [ ] }
... aaand I can't view this activity because it just breaks the server
about 2 and 3: all objects must have IDs and those IDs must be publicly dereferencable or null: https://www.w3.org/TR/activitypub/#obj-id (and dereferencing is defined as HTTP GET) 4: even if I do inReplyTo the object (not the activity, afaik), my server will federate by audience targeting, maybe I could do "to": the activity, but I bet some clients will just refuse to do that.
Danimal
+1 on HN :) But what am I doing right now? Tweeting? FYI: "Error getting geolocation: Unknown error acquiring position"
flag for cleanup deleteme test demo
I'm sorry you think its a mess. Most first implementations of protocols are messy. :) Thanks for pointing these issues out. I'll fix them. 1. wrt the weird Content-Type. The '#' was actually from a bug in an earlier version of the spec. 2. I think I disagree that ActivityPub URIs must be URLs that resolve. I believe any URI is valid, but will double-check. 3. Will you cite the requirement that makes it invalid? 4. It doesn't need an actor. You just make your post inReplyTo the activity on distbin (e.g. I this Note is inReplyTo your posts' URL of https://distbin.com/activities/578ed174-494d-407f-9d5b-5b90c91ba3da )
oooo maybe it was the link I posted!
...nope

Next Page