Skip to content

temporary fix model.ts json api - #3112

Open
SpaghettiMonkey wants to merge 2 commits into
Bionus:developfrom
SpaghettiMonkey:patch-1
Open

temporary fix model.ts json api#3112
SpaghettiMonkey wants to merge 2 commits into
Bionus:developfrom
SpaghettiMonkey:patch-1

Conversation

@SpaghettiMonkey

@SpaghettiMonkey SpaghettiMonkey commented Mar 10, 2024

Copy link
Copy Markdown

Fixes kemono api not working and allows to see galleries content
thumbnail is still missing in gallery, should concatenate "file" json section with "attachments" somehow...

thumbnail is still missing in gallery, should concatenate "file" json section with "attachments" somehow...
@Vynsyc

Vynsyc commented Mar 19, 2024

Copy link
Copy Markdown

After much laborious "coding" and copypasting with the help of AI (note: I am not a programmer at all), I have finally managed to make the code work and can confidently say both thumbnails and embedded posts appear without issue. Downloads also work, despite a speed slowdown which might just be on my end.

Random Proof
Screenshot 2024-03-19 161625
rjs

Existing issues:

  • Going through the pages seem to always return the front page of Kemono instead displaying the next page.
  • Posts pulled from user pages don't appear to be in order.
  • Some users cannot be searched.

@Bionus

Bionus commented May 12, 2024

Copy link
Copy Markdown
Owner

https://kemono.su/api/v1/recent does not give any results to me 🤔
Was it moved to another path?

@papaj-na-wrotkach

Copy link
Copy Markdown

https://kemono.su/api/v1/recent does not give any results to me 🤔 Was it moved to another path?

@Bionus maybe /posts is what you are looking for?
See Kemono API schema docs for more info. It's the second endpoint there rn.

@Bionus

Bionus commented Jun 3, 2024

Copy link
Copy Markdown
Owner

Thanks for the link! So it seems it got changed again since this PR was changing it to /v1/recent which returns 404 but /posts seem to work fine. I'll be able to iterate on this then 🎉

@Bionus
Bionus force-pushed the develop branch 2 times, most recently from 6bc94e1 to 23c8279 Compare January 19, 2025 01:08
@Bionus
Bionus force-pushed the develop branch 8 times, most recently from 4260e09 to 16594f5 Compare July 13, 2025 20:09
@Bionus
Bionus force-pushed the develop branch 11 times, most recently from c7dbd41 to 7ce74b0 Compare July 14, 2025 16:56
@Bionus
Bionus force-pushed the develop branch 4 times, most recently from 9db7b2b to 780349d Compare October 18, 2025 22:33
@Bionus
Bionus force-pushed the develop branch 3 times, most recently from c71a861 to cf146fb Compare August 3, 2026 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants