Join the conversation

Sign in to join this conversation, and others like it, in the communities you care about.

Wekan

Wekan is an open-source kanban board (Trello like) which allows a card-based task and to-do management.

Wekan / General

Simple : in api, how do you change the name of a board?

Simple : in api, how do you change the name of a board?

Wekan/General · March 4, 2020 at 8:51pm

Simple : in api, how do you change the name of a board?

Wekan / General · March 4, 2020 at 8:51pm (Edited 4 years ago)

I do not see it in the api spec for v3.00 is there a more updated api reference?

All I want to do is leave the lists and cards and ids for everything in place and change the name of the board, through the api. I would have assume that was "put boards" with a title field in the body, meaning leaving everything else intact. If the board id and everything inside of it does not change its just an attribute, correct? LMK where I should be looking fro api doc. Thanks. Is it by chance a label?


March 4, 2020 at 10:13pm

so is label the same as board name? I mean from a PUT perspective? cards have titles and boards have labels? if not how do you change the name of a board?

    Edited
    • reply
    • like

    the name in the early posts say the board name is it title, not label

      • reply
      • like

      so if I put a label am I changing the name of the board or is label another parameter not the title?

        • reply
        • like

        let make this simple. what is the process to rename an existing board keeping the lists and cards and everything else intact?

          • reply
          • like

          also the api doc indicates the path identifier is" the board" not the "id of the board" which is different syntax for all the other endpoints. and when I use the board id I am getting a 500.

            Edited
            • reply
            • like

            March 5, 2020 at 1:47am

            no it does not look like you can change any parameters like a title for a board as there does not seem to be a PUT api entry point. Its labels are not title in the Get board api endpoint

              • reply
              • like

              March 5, 2020 at 11:52am

              can you point me to the code that handle board POST and card PUTS in the github repo? Thanks

                • reply
                • like

                March 5, 2020 at 2:10pm

                want to see if I can create that missing PUT Boards endpoint

                  • reply
                  • like

                  March 5, 2020 at 6:32pm

                  if I can I would make a pull request, just not sure where in the code base to start

                    • reply
                    • like

                    March 6, 2020 at 10:44am

                    These are labels

                      • reply
                      • like

                      REST API is at wekan/models/*.js

                        • reply
                        • like

                        at those files, search for text REST API

                          • reply
                          • like

                          you can add more to there for additional API calls

                            • reply
                            • like

                            with pull requests

                              • reply
                              • like

                              cards and boards have name or title

                                • reply
                                • like

                                outgoing webhook etc all translations are at wekan/i18n/en.i18n.json

                                  • reply
                                  • like

                                  if some translations is missing, it is added to that source file, and then translated at https://transifex.com/wekan/wekan

                                    • reply
                                    • like

                                    Those board activities messages are at wekan/models/activities.js

                                      • reply
                                      • like

                                      they do map to some translation name

                                        • reply
                                        • like

                                        Outgoing Webhooks go to wekan/server/notifications/outgoing.js

                                          • reply
                                          • like

                                          It's possible to build a little faster when developing locally with WITH_API=true RICHER_CARD_COMMENT_EDITOR=false ROOT_URL=http://192.168.0.2:4000 meteor run --exclude-archs web.browser.legacy,web.cordova --port 4000

                                            • reply
                                            • like

                                            so in that way it does not include legacy and cordova

                                              • reply
                                              • like

                                              and because ROOT_URL is set to local ip address, it's possible to test website with mobile and desktop devices on local network

                                                • reply
                                                • like