Mario Zechner on Nostr: This is the gist of sending the request to the server. The object that's being sent ...
This is the gist of sending the request to the server. The object that's being sent is trivial to replicate, except for chat_session_id, but I'm sure we'll figure out how to get/generate that.
In any case, once that little object is assembled, they do an unauthenticated post request to the endpoint (not that auth would help...)
Published at
2024-01-03 12:55:26Event JSON
{
"id": "3a84b1f48e55f1a4432ebbde0e76945bac3d3249719816f5910b264ba0432f89",
"pubkey": "be81b496ea025894275a88346ffbf7d217a8886f108185e401387647eff089b4",
"created_at": 1704286526,
"kind": 1,
"tags": [
[
"e",
"afec0dee5445ebdd6087f653d050964450e81904e3df2cfb86dbb87b79d87416",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://mastodon.gamedev.place/users/badlogic/statuses/111692121769649663",
"activitypub"
]
],
"content": "This is the gist of sending the request to the server. The object that's being sent is trivial to replicate, except for chat_session_id, but I'm sure we'll figure out how to get/generate that.\n\nIn any case, once that little object is assembled, they do an unauthenticated post request to the endpoint (not that auth would help...)\n\nhttps://cdn.masto.host/mastodongamedevplace/media_attachments/files/111/692/115/095/061/810/original/d6ca3b6ab87d3ac2.png",
"sig": "350d72ca8ea500a08d5d6335cc70eab5e833172b523e5b511a65f7a46111899302e1199843a282624b5a6d6c670c039034256ea239a902c1fa0e0c6c11a8d6a8"
}