Skip to content

Anonymous API access to statuses #702

@pmakholm

Description

@pmakholm

The following API endpoints seems to be public by default on Mastodon, but requires the read:statuses scope on Takahe:

    path("v1/accounts/<id>/statuses", accounts.account_statuses),
    path("v1/statuses/<id>/source", statuses.status_source),
    path(
        "v1/statuses/<id>",
        methods(
            get=statuses.status,
        ),
    ),
    path("v1/statuses/<id>/context", statuses.status_context),

It would be nice if it was possible to configure Takahe to allow public access to these.

I believe all information available with these API's is also available on the public time line (if enabled), so one solution would be to implicitly enable read:statuses for anonymous access in api/decorators.py if public time line is enabled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions