ActivityPub C2S: Request to the URL of the conversation's ID returns blank HTML page instead of JSON conversation
Using v.47.06 of AndStatus (see https://github.com/andstatus/andstatus/issues/499#issue-389014088 ) I'm requesting a conversation by its id. Receive HTML page as a response instead of expected JSON with a collection of activities.
url:'https://pleroma.site/contexts/cebf1c4d-f7f2-46a5-8025-fd8bd9cde1ab'; response:'<html lang…';
Please implement!
Original Activity, from which I discovered the conversation ID:
{
"type": "Create",
"to": [
"https:\/\/www.w3.org\/ns\/activitystreams#Public"
],
"published": "2019-03-10T18:46:31Z",
"object": {
"url": "https:\/\/pawoo.net\/@pawooAndStatusTester\/101727836012435643",
"type": "Note",
"to": [
"https:\/\/www.w3.org\/ns\/activitystreams#Public"
],
"tags": [
{
"type": "Mention",
"name": "@AndStatus@pleroma.site",
"href": "https:\/\/pleroma.site\/users\/AndStatus"
},
{
"type": "Hashtag",
"name": "#c2s",
"href": "https:\/\/pawoo.net\/tags\/c2s"
},
{
"type": "Hashtag",
"name": "#activitypub",
"href": "https:\/\/pawoo.net\/tags\/activitypub"
},
{
"type": "Hashtag",
"name": "#mastodon",
"href": "https:\/\/pawoo.net\/tags\/mastodon"
},
"c2s",
"activitypub",
"mastodon",
"nsfw"
],
"tag": [
{
"type": "Mention",
"name": "@AndStatus@pleroma.site",
"href": "https:\/\/pleroma.site\/users\/AndStatus"
},
{
"type": "Hashtag",
"name": "#c2s",
"href": "https:\/\/pawoo.net\/tags\/c2s"
},
{
"type": "Hashtag",
"name": "#activitypub",
"href": "https:\/\/pawoo.net\/tags\/activitypub"
},
{
"type": "Hashtag",
"name": "#mastodon",
"href": "https:\/\/pawoo.net\/tags\/mastodon"
},
{
"type": "Hashtag",
"name": "#c2s",
"href": "https:\/\/pleroma.site\/tags\/c2s"
},
{
"type": "Hashtag",
"name": "#activitypub",
"href": "https:\/\/pleroma.site\/tags\/activitypub"
},
{
"type": "Hashtag",
"name": "#mastodon",
"href": "https:\/\/pleroma.site\/tags\/mastodon"
},
{
"type": "Mention",
"name": "@AndStatus",
"href": "https:\/\/pleroma.site\/users\/AndStatus"
}
],
"summary": null,
"sensitive": false,
"published": "2019-03-10T18:46:31Z",
"inReplyToStatusId": "9gOorJogMWlBFNw1fE",
"inReplyToAtomUri": "https:\/\/pleroma.site\/objects\/7afcd0f7-f540-4f56-b7db-7ceac0ae4861",
"inReplyTo": "https:\/\/pleroma.site\/objects\/7afcd0f7-f540-4f56-b7db-7ceac0ae4861",
"id": "https:\/\/pawoo.net\/users\/pawooAndStatusTester\/statuses\/101727836012435643",
"conversation": "https:\/\/pleroma.site\/contexts\/cebf1c4d-f7f2-46a5-8025-fd8bd9cde1ab",
"context": "https:\/\/pleroma.site\/contexts\/cebf1c4d-f7f2-46a5-8025-fd8bd9cde1ab",
"content": "<p><span class=\"h-card\"><a href=\"https:\/\/pleroma.site\/users\/AndStatus\" class=\"u-url mention\">@<span>AndStatus<\/span><\/a><\/span> I do see your post via <a href=\"https:\/\/pawoo.net\/tags\/mastodon\" class=\"mention hashtag\" rel=\"tag\">#<span>Mastodon<\/span><\/a> site.<br \/>Please check via <a href=\"https:\/\/pawoo.net\/tags\/activitypub\" class=\"mention hashtag\" rel=\"tag\">#<span>ActivityPub<\/span><\/a> <a href=\"https:\/\/pawoo.net\/tags\/c2s\" class=\"mention hashtag\" rel=\"tag\">#<span>C2S<\/span><\/a> how two attached images may look like 👇<\/p>",
"cc": [
"https:\/\/pawoo.net\/users\/pawooAndStatusTester\/followers",
"https:\/\/pleroma.site\/users\/AndStatus"
],
"attributedTo": "https:\/\/pawoo.net\/users\/pawooAndStatusTester",
"attachment": [
{
"url": "https:\/\/img.pawoo.net\/media_attachments\/files\/013\/102\/220\/original\/b70c78bee2bf7c99.jpg",
"type": "Document",
"name": null,
"mediaType": "image\/jpeg"
},
{
"url": "https:\/\/img.pawoo.net\/media_attachments\/files\/013\/102\/261\/original\/104659a0cd852f39.jpg",
"type": "Document",
"name": null,
"mediaType": "image\/jpeg"
}
],
"atomUri": "https:\/\/pawoo.net\/users\/pawooAndStatusTester\/statuses\/101727836012435643",
"actor": "https:\/\/pawoo.net\/users\/pawooAndStatusTester"
},
"id": "https:\/\/pawoo.net\/users\/pawooAndStatusTester\/statuses\/101727836012435643\/activity",
"context_id": 30464285,
"context": "https:\/\/pleroma.site\/contexts\/cebf1c4d-f7f2-46a5-8025-fd8bd9cde1ab",
"cc": [
"https:\/\/pawoo.net\/users\/pawooAndStatusTester\/followers",
"https:\/\/pleroma.site\/users\/AndStatus"
],
"actor": "https:\/\/pawoo.net\/users\/pawooAndStatusTester",
"@context": [
"https:\/\/www.w3.org\/ns\/activitystreams",
"https:\/\/pleroma.site\/schemas\/litepub-0.1.jsonld"
]
}