Opened 5 years ago
Closed 5 years ago
#18504 closed enhancement (fixed)
[PATCH] Tasking Manager 4 is changing the `gpx` url
Reported by: | taylor.smock | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 20.01 |
Component: | Core | Version: | |
Keywords: | gpx, tasking manager | Cc: |
Description
Tasking Manager 4 is changing the gpx url to something like api/v2/projects/<int:project_id>/tasks/queries/gpx/?tasks=<str:comma_separated_list_of_tasks>
from api/v1/project/<int:project_id>/tasks_as_gpx
See https://github.com/hotosm/tasking-manager/commit/44a4f4aec35b74ff9a5a78f5e06214ee749e2715 for the actual change.
Please note that I do not know if this is permanent or if they will change it back. I've reached out for clarification, but from what I've heard, the API is pretty much done for TM4, so I don't expect it to change.
Attachments (2)
Change History (5)
by , 5 years ago
Attachment: | 18504.patch added |
---|
follow-up: 2 comment:1 by , 5 years ago
I don't think the regex works with a list containing several tasks.
comment:2 by , 5 years ago
Replying to Don-vip:
I don't think the regex works with a list containing several tasks.
I didn't realize until I wrote the bug that the url allowed for multiple tasks, and I had forgotten that I only wrote the regex for a single task.
Thanks for catching that.
Regex for new TM4 gpx url