this post was submitted on 06 Feb 2025
179 points (100.0% liked)

Announcements

23532 readers
99 users here now

Official announcements from the Lemmy project. Subscribe to this community or add it to your RSS reader in order to be notified about new releases and important updates.

You can also find major news on join-lemmy.org

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 9 points 5 days ago (6 children)

Does this mean you renamed just the DB columns, but not the API keys?

[–] [email protected] 7 points 5 days ago (5 children)

They're all renamed, that PR just hasn't been deployed to voyager.lemmy.ml yet.

[–] [email protected] 5 points 5 days ago (4 children)

Ah, good to know before I start developing. Can you let me know when we can start the development as I don't want to use the API and then discover it's missing more PRs?

[–] [email protected] 1 points 5 days ago (1 children)

I can't say yet, as we're still adding things. If you're not using lemmy-js-client, then as long as your types are generated from it's main branch directly, then you should be fine.

[–] [email protected] 3 points 5 days ago* (last edited 5 days ago) (2 children)

I'm not using the js-client. I'm updating pythorhead so I need to make sure the API is at the final version before I can match it. And to match it I need the patches to be in so I can read the doc, and/or import the swagger.

I will do what I can in advance, but to do the pre-development you asked for, we do need the final version up somewhere.

[–] [email protected] 3 points 5 days ago

The final api version would probably be in 1.0-beta.0, which will still take a few months. But at this time you can already start to adapt for the major changes like combined endpoints, and give feedback if anything else in the api needs changing.

[–] [email protected] 0 points 5 days ago* (last edited 5 days ago)

The updated spec should be at https://join-lemmy.org/api/main , and it gives you an option to download the .json file

Or you can use the lemmy-js-client main branch, and run pnpm tsoa to generate a swagger.json file.

load more comments (2 replies)
load more comments (2 replies)
load more comments (2 replies)