Skip to content
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

Match OSM Changeset API call not returning the data back #2501

Open
TomaszKozlowski-TomTom opened this issue Nov 25, 2024 · 4 comments
Open
Labels
bug Something isn't working waiting for response

Comments

@TomaszKozlowski-TomTom
Copy link

I am using Match OSM Changeset API call via https://maproulette.org/docs/swagger-ui/index.html?# and I get following statement:

alt-svc: h3=":443"; ma=86400
cf-cache-status: DYNAMIC
cf-ray: 8e80b7481c61b1c4-WAW
content-length: 0
date: Mon,25 Nov 2024 09:47:12 GMT
maproulette-request-id: 5bc873ca-10b7-4662-a5de-a2c6900a37d5
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
priority: u=1,i
report-to: {"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=nzRSPd1eZSj%2FdGeDoEPkidT1sFdurSgp2ic%2FaCExMsGEvfUD98g5IfQ%2BARYwz1BvDT9nUwpcYe%2B5suDJycTsViP%2FTsviASkY0%2FQaskcMhB9I4a0mcc0gAfsgp0tosWHloco%3D"}],"group":"cf-nel","max_age":604800}
server: cloudflare
server-timing: cfL4;desc="?proto=QUIC&rtt=12125&sent=11&recv=9&lost=0&retrans=0&sent_bytes=2208&recv_bytes=4781&delivery_rate=674&cwnd=12000&unsent_bytes=0&cid=b5c956115936c16a&ts=221&x=1",cfExtPri,cfHdrFlush;dur=0
vary: Origin

Is it true that the data is saved on cloudflare, but we have no access to that? Could you tell us how we can get this data?

Thank You in advance for your feedback!

@mvexel
Copy link
Member

mvexel commented Jan 9, 2025

Could you tell me a bit more about what you are trying to achieve?
What specific calls did you try to make, what did you expect to get as a response, and what the request actually returned?

@TomaszKozlowski-TomTom
Copy link
Author

Gu @mvexel sorry, I thought that I shared correct API already. It was about getting changesets associated with the task. I wanted to list task ids with associated changeset for the report.

I was not able to get this information using API call.

@mvexel
Copy link
Member

mvexel commented Jan 14, 2025

I assume you are talking about a call to https://maproulette.org/api/v2/task/<task_id>/changeset?

Could you post a specific call, the response you received, and the response you expected to receive please?

@TomaszKozlowski-TomTom
Copy link
Author

Hi @mvexel ,
I used that one: /challenge/{id}/matchChangesets to get a response placed in issue description.
Right now, using _https://maproulette.org/api/v2/task/<task_id>/changeset _ for the task: 250056529
I get: {"status":"KO","message":"Invalid Path [task/250056529/changeset] for API"}

after using that, and checking task details by using /task/{id} I still do not see changeset value. Instead of that I get -1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working waiting for response
Projects
Development

No branches or pull requests

2 participants