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

Creating ToDos via RESTful API #199

Open
benj1m4n opened this issue Mar 2, 2023 · 3 comments
Open

Creating ToDos via RESTful API #199

benj1m4n opened this issue Mar 2, 2023 · 3 comments
Labels
Type/Question Further information is requested

Comments

@benj1m4n
Copy link

benj1m4n commented Mar 2, 2023

It would help if I could use a bot to create ToDos via API.
Is there some kind of API available to achieve this?
It seems Mattermost wont allow a bot to use slash comands, so a RESTful API would be very nice!

Thanks,
Ben

@benj1m4n benj1m4n changed the title Creating ToDos via API Creating ToDos via RESTful API Mar 2, 2023
@hanzei
Copy link
Contributor

hanzei commented Mar 4, 2023

@hanzei hanzei added the Type/Question Further information is requested label Mar 4, 2023
@benj1m4n
Copy link
Author

benj1m4n commented Mar 5, 2023

Thanks for your answer hanzei!
I am still struggling a bit to find documentation on how to address these extended API endpoints.
Is the following url correct?

https://myserver/plugins/com.mattermost.plugin-todo/api/v1/add

or should it be something like:

https://myserver/api/v4/plugins/com.mattermost.plugin-todo/add

None of them work, so I am trying to find out if it is a permissions problem or if its just the wrong URL that i am using.

@hanzei
Copy link
Contributor

hanzei commented May 21, 2023

The URL of the endpoint is myserver/plugins/com.mattermost.plugin-todo/api/v1/add

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type/Question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants