A small tool to view real-world ActivityPub objects as JSON! Enter a URL
or username from Mastodon or a similar service below, and we'll send a
request with
the right
Accept
header
to the server to view the underlying object.
{
"id": "https://discourse.osgeo.org/ap/activity/f9c4be7912557eb8c71defa443728c42",
"type": "Create",
"audience": "https://discourse.osgeo.org/ap/actor/e12a97a00c04f88ba48156f05cd55220",
"to": "https://discourse.osgeo.org/ap/actor/e12a97a00c04f88ba48156f05cd55220",
"cc": [
"https://www.w3.org/ns/activitystreams#Public"
],
"published": "2024-09-13T16:16:09Z",
"updated": "2024-09-13T16:16:09Z",
"actor": {
"id": "https://discourse.osgeo.org/ap/actor/698c8043a23f42700545ea9c7bd6f21a",
"type": "Person",
"updated": "2024-05-12T16:18:16Z",
"url": "https://discourse.osgeo.org/u/cvvergara",
"name": "Vicky Vergara",
"inbox": "https://discourse.osgeo.org/ap/actor/698c8043a23f42700545ea9c7bd6f21a/inbox",
"outbox": "https://discourse.osgeo.org/ap/actor/698c8043a23f42700545ea9c7bd6f21a/outbox",
"sharedInbox": "https://discourse.osgeo.org/ap/users/inbox",
"followers": "https://discourse.osgeo.org/ap/actor/698c8043a23f42700545ea9c7bd6f21a/followers",
"preferredUsername": "cvvergara",
"publicKey": {
"id": "https://discourse.osgeo.org/ap/actor/698c8043a23f42700545ea9c7bd6f21a#main-key",
"owner": "https://discourse.osgeo.org/ap/actor/698c8043a23f42700545ea9c7bd6f21a",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAoPzeZ87kZsFQo2aLl943\n8mvQudSyeDHA1qgM0lx8+OY0e7b/BKHDPmoO4wRXn3slzJuyL4yIKD31Z6csc6TJ\nz9/JbXmnzY/ZSus4271+U9vuxHBRxyJfMw0A14Gh3L9FV3COh7q+A5U51djwQWpF\nyincspUnYu1RygrJYbzGjH8pT+UZlKvdMARYRUh1y3w2XrqWGI5MBFXuVjqO5A4b\nSetgxKVp9LV0EyG+ZT+MGZT+HXoeW0p0xeT/Y7PMgtXWztA9EZhChYKoh4YLPmHO\n6AFhiII9vQqkXVtcK5S8UnosbjPEMAVgs46XFIdQN654aJkqmNkZx0At5tNofEbi\nCwIDAQAB\n-----END PUBLIC KEY-----\n"
},
"icon": {
"type": "Image",
"mediaType": "image/png",
"url": "https://discourse.osgeo.org/user_avatar/discourse.osgeo.org/cvvergara/96/26_2.png"
},
"@context": "https://www.w3.org/ns/activitystreams"
},
"@context": "https://www.w3.org/ns/activitystreams",
"object": {
"id": "https://discourse.osgeo.org/ap/object/ec9074f4e360419b8ad54595ff5d2d6b",
"type": "Note",
"audience": "https://discourse.osgeo.org/ap/actor/e12a97a00c04f88ba48156f05cd55220",
"to": "https://discourse.osgeo.org/ap/actor/e12a97a00c04f88ba48156f05cd55220",
"cc": [
"https://www.w3.org/ns/activitystreams#Public"
],
"published": "2024-09-13T16:16:09Z",
"updated": "2024-09-13T16:16:09Z",
"url": "https://discourse.osgeo.org/t/confused-with-vroom-functions-on-vrprouting/50928/1",
"attributedTo": "https://discourse.osgeo.org/ap/actor/698c8043a23f42700545ea9c7bd6f21a",
"name": "Confused with vroom functions on vrpRouting",
"context": "https://discourse.osgeo.org/ap/collection/7eb6be46a888c30714c89819bcb9c465",
"content": "<p>@krashish8</p><p>I am confused about the time windows query being required.For example:</p><p>The sql code: ` TEXT, -- breaks_time_windows_sql (required)' <a href=\"https://github.com/pgRouting/vrprouting/blob/main/sql/vroom/vroom.sql#L37\">in here</a> says its required.but the <a href=\"https://github.com/pgRouting/vrprouting/blob/main/src/vroom/vroom.c#L157\">test for NULL</a> does not issue an error or warning about it been null:</p><p>I execute an example with the time windows being null and it gets a result</p><pre><code class=\"lang-auto\">SELECT count(*)FROM vrp_vroomJobsPlain( 'SELECT * FROM vroom.jobs', 'SELECT * FROM vroom.jobs_time_windows', 'SELECT * FROM vroom.vehicles', 'SELECT * FROM vroom.breaks', NULL::TEXT, 'SELECT * FROM vroom.matrix'); count ------- 14(1 row)</code></pre><p>So from the code point of view, break time windows is optional.</p><p>You can compare with:</p><p>The one for the matrix, <a href=\"https://github.com/pgRouting/vrprouting/blob/main/src/vroom/vroom.c#L263\">tests for null</a> when null it will issue an error.</p><p>Now, if it is the case of being optional, the signatures need to change to have the optionals as last named parameters, just like we do it on pgRouting. This signature change can be done as part of 0.5.0Please open a ticket if they are are optional, mentioning which ones are really optional of all the vrp_vroomX functions. (So that we don't forget to do the change on 0.5.0)</p><p>RegardsVicky</p><br><br><a href=\"https://discourse.osgeo.org/t/confused-with-vroom-functions-on-vrprouting/50928/1\">Discuss this on our forum.</a>",
"@context": "https://www.w3.org/ns/activitystreams"
}
}