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

API card due date.

API card due date.

Wekan / General · August 14, 2019 at 6:25am

Hey ,

is it possible to create a card with due date via the api? I tried to pass the "dueAt" Parameter from the schemas but its not working.

Thanks :)

Load previous messages

August 14, 2019 at 4:06pm

Did you look at https://wekan.github.io/api/ ? Did you login to api first to get bearer token, see rest api page at Wekan GitHub wiki?

    like-fill
    2
    • reply
    • like

    August 15, 2019 at 4:30am

    Hey thanks for your reply. Yes I did. I'm using the Python API interface. I can create a card no problem. But the schemas listed on the bottom of the api overview won't work when I pass them. It still creates the card but it just ignores the additional parameters.

      • reply
      • like

      August 15, 2019 at 1:26pm

      Please check that Python API interface does it have writing to API implemented. Also try with curl does the api work at all. Also look at https://github.com/wekan/wekan at wekan/models/* is there some bug in API code.

        • reply
        • like

        Also search at closed github issues about API and dueAt , I think someone had it working sometime.

          like-fill
          1
          • reply
          • like

          August 16, 2019 at 7:16am

          Hey thanks. Well I found the error with the python api interface (https://github.com/wekan/wekan-python-api-client) it only uses POST and GET but I need PUT to change the card. With CURL it works just fine. I just have to edit my project now. thanks :)

            • reply
            • like

            August 16, 2019 at 7:18pm

            You can add pull request to that wekan python api client repo, to add PUT.

              • reply
              • like