Missing 201 http response from swagger for put requests #871

Closed
opened 2021-05-25 23:56:12 +00:00 by sytone · 4 comments
Contributor

I generated a client and I was getting 201 back as an exception, looking at the swagger it is not defining these as sucess. Was there a reason for this or just missed?

I generated a client and I was getting 201 back as an exception, looking at the swagger it is not defining these as sucess. Was there a reason for this or just missed?
Owner

Probably just not properly documented. Which route?

Probably just not properly documented. Which route?
Author
Contributor

I have hit it on create task and create label for the PUT requests.

I have hit it on create task and create label for the PUT requests.
Owner

As it turned out this was wrong for almost every create request, not only creating tasks and labels. I've fixed this in e23014dbe4. Closing this as resolved, feel free to reopen if you think there's other stuff left to do.

Out of curiosity, what are you building with the api?

As it turned out this was wrong for almost every create request, not only creating tasks and labels. I've fixed this in https://kolaente.dev/vikunja/api/commit/e23014dbe4dc1f90503429d913a5092e3e165265. Closing this as resolved, feel free to reopen if you think there's other stuff left to do. Out of curiosity, what are you building with the api?
Author
Contributor

I have a automated journal system using onenote, I was pulling info from remeber the milk but wanted something I could control more so found this project and it suited me perfectly.

I have a process that makes and updates sections and pages each day as also updates the next actions I have and can push tasks back from onenote to the system so I do not have to manually sync items. I was working on migrating all my tasks over using a powershell module I quickly build from the swagger and hit it. next will be to replace the RTM integration with Vikunja.

I have a automated journal system using onenote, I was pulling info from remeber the milk but wanted something I could control more so found this project and it suited me perfectly. I have a process that makes and updates sections and pages each day as also updates the next actions I have and can push tasks back from onenote to the system so I do not have to manually sync items. I was working on migrating all my tasks over using a powershell module I quickly build from the swagger and hit it. next will be to replace the RTM integration with Vikunja.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vikunja/vikunja#871
No description provided.