-
-
Notifications
You must be signed in to change notification settings - Fork 676
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
Request Planka API with cURL #736
Comments
Hi! I've just tried to create a card and this worked for me:
You seem to be referring to a 2 year old commit, the actual routes are here: https://github.com/plankanban/planka/blob/master/server/config/routes.js.
There is no such endpoint, all lists can be retrieved by querying the entire board. But we've already added it in the v2 :) |
Hello @meltyshev Thank you for your time and explanation. I step back and realize that even if my account was "Project Manager" of the project, he was not able to do anything on boards. After I add the rights to modify on boards, I was able to do what I want to do with cURL and web requests. In conclusion, I consider my problem as resolved but maybe the error message need to be modify to specify that rights is not good because here I had an error message that the listId does not exist. It is purely details but if I had a message like "Your user do not have right to modify board/lists/whatever", I figured out the solution much faster. Thanks again. |
Hello,
I try to automate things in Planka and between my other tools and Planka so I dig into the API but I am struggling with modification requests (here card creation, but I have tried other modification request too).
My configuration is:
Here a sample of my tests.
We can see the
boardId
andlistId
.-> boardId = 1202247906392802324
-> listId = 1202252203985732663
/api/lists/<listId>
I am getting thisSo, I am wondering if anyone have already done this kind of thing with positive result and how if it is the case? I am aware of the documentation about API (https://docs.planka.cloud/docs/category/api) but I want to make it simple with request that can be done in almost every automation tool.
Thanks in advance for the help.
The text was updated successfully, but these errors were encountered: