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

Mastodon.media function is undocumented despite media_post telling you to use it #381

Open
LunarLambda opened this issue Sep 10, 2024 · 1 comment

Comments

@LunarLambda
Copy link

media_post tells you:

When using the v2 API (post Mastodon version 3.1.4), the url in the returned dict will be null, since attachments are processed asynchronously. You can fetch an updated dict using media. Pass “synchronous” to emulate the old behaviour. Not recommended, inefficient and deprecated, will eat your API quota, you know the deal.

But Mastodon.media doesn't actually appear anywhere in the documentation, except for the module source code, which doesn't really make it immediately apparent that that is what is meant or that it's part of the public API.

@halcy
Copy link
Owner

halcy commented Dec 1, 2024

oops, yeah, that's an oversight. Functions don't get added to the docs automatically, and I forgot to put that one in.

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

No branches or pull requests

2 participants