Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API deficiencies #727

Open
bbepis opened this issue Apr 19, 2024 · 1 comment
Open

API deficiencies #727

bbepis opened this issue Apr 19, 2024 · 1 comment
Assignees
Labels

Comments

@bbepis
Copy link

bbepis commented Apr 19, 2024

There's a lot of issues with the API that cause a degraded experience for archival software, since there's a few things that are available through the HTML but not from the API:

  • File spoiler status is missing
  • File deletion status is missing
  • Thumbnail extensions. This is a massive one because some forks or old versions force all thumbnails to be .jpg or .webp, otherwise the thumbnail extension isn't obvious and has to be guessed, usually incorrectly (.jpg -> .jpg, .png -> .png, .webm -> .jpg?)
  • Custom thumbnail for some non-image formats (swf, pdf) isn't specified. i.e. on soyjak.party, .swf files use /static/swf.jpg as the thumbnail, however this isn't shown in the API
  • Raw post markdown. I'm aware there's ___body_nomarkup on soyjak however that seems to be site-specific and not included in upstream / other instances.

I'm not sure if the feature exists upstream, but since soyjak devs are the one maintaining this repo:

  • Poster ID (/q/) is not exposed through the API

There's this old github page for vichan API that seems to have been abandoned for 10+ years, and details some of these missing fields I've mentioned
https://github.com/vichan-devel/vichan-API

@RealAngeleno RealAngeleno self-assigned this Apr 28, 2024
@RealAngeleno
Copy link

I don't develop for soyjak.party anymore, but nudev is aware of these. I'll try to answer your questions in a sec.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants