Modify

#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)

18504.patch (813 bytes) - added by taylor.smock 10 months ago.
Regex for new TM4 gpx url
18504.1.patch (804 bytes) - added by taylor.smock 10 months ago.
Work with multiple tasks

Download all attachments as: .zip

Change History (5)

Changed 10 months ago by taylor.smock

Attachment: 18504.patch added

Regex for new TM4 gpx url

comment:1 Changed 10 months ago by Don-vip

I don't think the regex works with a list containing several tasks.

Changed 10 months ago by taylor.smock

Attachment: 18504.1.patch added

Work with multiple tasks

comment:2 in reply to:  1 Changed 10 months ago by taylor.smock

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.

comment:3 Changed 10 months ago by Don-vip

Resolution: fixed
Status: newclosed

In 15631/josm:

fix #18504 - add support for Tasking Manager 4 gpx URL (patch by taylor.smock)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.