anna on Nostr: :blobcatverified2: yeah, but at this point the client api is just a duplicate of the ...
:blobcatverified2: (npub1xp9…amfw) yeah, but at this point the client api is just a duplicate of the ap api (which is made for client<>server too, not only server<>server)
the client api is used to render the same info available from the ap api, just that many servers have auth_fetch on the ap one, and no auth on the client one, with just makes the auth in the ap one kinda useless for stopping malicious actors
and if you put auth on both... why have two apis?
Published at
2023-07-25 19:26:56Event JSON
{
"id": "d7679f49a6817c76290b9bd9231f60429a159afdeb70aa3e3f7ac2463a8cfc4f",
"pubkey": "4ebc018b65a1b352f90f937be79b5c338651f1528960889fa64caa94be982f8a",
"created_at": 1690313216,
"kind": 1,
"tags": [
[
"p",
"304bca196ea40de81c5e94e588eeb5568ec36f4aa54cd073bde05f8939db0645",
"wss://relay.mostr.pub"
],
[
"e",
"9db895adbdece8db57d162fb47ea8e4eec680482679a04733058c80f90b953eb",
"wss://relay.mostr.pub",
"reply"
],
[
"mostr",
"https://social.vlhl.dev/objects/6fc8614e-500f-4e90-9507-632f22e1a60d"
]
],
"content": "nostr:npub1xp9u5xtw5sx7s8z7jnjc3m44268vxm6254xdquaaup0cjwwmqezs8qamfw yeah, but at this point the client api is just a duplicate of the ap api (which is made for client\u003c\u003eserver too, not only server\u003c\u003eserver)\n\nthe client api is used to render the same info available from the ap api, just that many servers have auth_fetch on the ap one, and no auth on the client one, with just makes the auth in the ap one kinda useless for stopping malicious actors\n\nand if you put auth on both... why have two apis?",
"sig": "6065e57e71a1f91632f3f1da005f9167310e40800ba7588620355a37e9c42de327f3c991b70cfc78ab71ba6e23f1a1173a8373a5cb676efc747f05a3097d70b9"
}