Dave on Nostr: #api The /episodes/byfeedid endpoint now takes a new optional unary parameter called ...
#api The /episodes/byfeedid endpoint now takes a new optional unary parameter called "newest". When you give this parameter it will only give you back the newest episode from the feed id(s) requested. An example would be:
/episodes/byfeedid?id=41504,920666,1333070&newest
...which would give back only the newest episode of NA,PC20 and PWR respectively.
Live items are still present in their own collection as normal.
Published at
2024-08-22 14:49:42 UTCEvent JSON
{
"id": "ea5ffeabde271c763b5d89dc4e98df801db4ef8a00ff1a772f973060c35e2b9b",
"pubkey": "1e2637ad71db45378ad68094115f1128cd32bddb5d080ffd44f3518f4583cbfb",
"created_at": 1724338182,
"kind": 1,
"tags": [
[
"proxy",
"https://podcastindex.social/@dave/113006227150285081",
"web"
],
[
"t",
"api"
],
[
"proxy",
"https://podcastindex.social/users/dave/statuses/113006227150285081",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://podcastindex.social/users/dave/statuses/113006227150285081",
"pink.momostr"
],
[
"-"
]
],
"content": "#api The /episodes/byfeedid endpoint now takes a new optional unary parameter called \"newest\". When you give this parameter it will only give you back the newest episode from the feed id(s) requested. An example would be:\n\n/episodes/byfeedid?id=41504,920666,1333070\u0026newest\n\n...which would give back only the newest episode of NA,PC20 and PWR respectively.\n\nLive items are still present in their own collection as normal.",
"sig": "791baf1cefd83e5dae819e1df72cbbbcdbf1c1ad62b2639407439c90b1b4ac20d1e6e3f903afd1c27891a00e4d38c4bb389c121dfabfa5520a67732e2eee36b5"
}