Skip to content

[Feature Request] Allow bots to fetch their own enabled features. #18523

Description

@ShapeShifter499

Tip

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Feature request

Which Nextcloud Version are you currently using: 33.0.6
Is your feature request related to a problem? Please describe.
Unless I'm mistaken the only way to probe the API for a list of a bot's enabled features is with an admin password. There should be a way to allow bots to poll nextcloud what features were enabled for their bot account using their own password/token, avoiding the need for admin credentials.

Describe the solution you'd like
Add API that responds to a bot token/password that returns enabled features, i.e. "webook, reactions"

Describe alternatives you've considered
Extra code that attempts to check what's enabled by trying a established talk room the bot is enabled for.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions