Expose/access the Poll-ID when creating via API #418
Labels
Help Wanted
Community help wanted
Needs Spec
Needs further specification to be a good (help wanted) ticket
Tech/Server
Plugin Server
Type/Enhancement
New feature or request
Milestone
Summary
AFAIK the unique Poll-ID is not exposed when creating polls, nor can be accessed via an API-endpoint after the poll has been created. This would be necessary in order to interact with the poll after creation, such as for ending a poll/adding options etc. Particularly useful for various integrations initiated by a bot-account.
So is it possible to return the Poll-ID when creating a poll or have I missed something?
Example API
Start poll - request
Start poll - response
End poll - request
Suggestion
return
rPost.Id
as part of https://github.com/matterpoll/matterpoll/blob/master/server/plugin/command.go#L92The text was updated successfully, but these errors were encountered: