-
-
Notifications
You must be signed in to change notification settings - Fork 71
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
Section filters return no results #11
Comments
As a quick update for this issue, the Todoist API returns a 501 response code if you include a section filter in the REST API endpoint which this plugin uses ( I've asked them if this is planned to be implemented in the future, but it may be the case that for now this won't be possible. A long term solution would be to migrate to the Sync API which opens up some other interesting possibilities, but also would require a fair bit of work. In the meantime, I'll add a note to the README that section filters are currently unsupported. |
Well, crap. Spent a bit of time migrating all of my Todoist projects to using sections for Kanban vs labels. I was trying to decide where my project tasks would sit, might just have to do that in Obsidian directly instead of through this. I tend to mix tasks and notes, though, so that was probably the more likely route. My main use case for this plugin is all of my repeating tasks anyway, so this plugin already saves me a ton of work. |
For what its worth, I do plan to looking into using the Sync API in the future, but it requires more bookkeeping for the plugin so the REST API was the path of least resistence to get started. So.. watch this space 😉 |
Now this works fine. FYI $ curl -X GET |
I'm still getting @thammawat-s how did you manage to get section filters working? |
sorry my bad. I still get the same 501: Unsupported filter keyword. :( Edit: I asked Todoist support, they told me this is not supported yet, and will be implemented soon. |
Update. Tech support replied me, now these should work. Thanks to Omar from Todoist. query by section_id: Or filter on the section name using /sectionname: |
I can confirm that filters using sections now works in the plugin, so this bug can be closed. |
That's awesome! Thanks for following up all. |
todoist
code block in Obsidian that uses the filter/Test
Creating the same filter within Todoist itself will return the task created above.
The text was updated successfully, but these errors were encountered: