osm-fr / osmose-frontend

Part of osmose that shows results on the website http://osmose.openstreetmap.fr
GNU General Public License v3.0
41 stars 38 forks source link

No/broken documentation for API 0.3 #375

Closed simonpoole closed 2 years ago

simonpoole commented 2 years ago

See https://wiki.openstreetmap.org/wiki/Osmose/api/0.3 the documentation link literally points to a 404 page.

frodrigo commented 2 years ago

Yes. It is a know issue. There is a (slow) in progress migration and the documentation is no more on line. But yes, it was a 404 pages listing available URLs, no more.

Most of the URL of the API area available from this page, using the parameters listed on wiki. http://osmose.openstreetmap.fr/fr/issues/open?item=7170&class=200

If you have questions. I can help you.

simonpoole commented 2 years ago

Hi @frodrigo well there are some unclear bits and pieces. In particular:

frodrigo commented 2 years ago

Note the preferred way to access the data in 0.3 is using vector tiles and not free bounds json.

http://osmose.openstreetmap.fr/api/0.3/issues/{z}/{x}/{y}.mvt?item=7170&level=1,2,3

Same content as non full json.

simonpoole commented 2 years ago

Note the preferred way to access the data in 0.3 is using vector tiles and not free bounds json.

Good to know, what is the maximum zoom level you are generating tiles for?

frodrigo commented 2 years ago

Note the preferred way to access the data in 0.3 is using vector tiles and not free bounds json.

Good to know, what is the maximum zoom level you are generating tiles for?

Up to 18

simonpoole commented 2 years ago

I'm unlikely to migrate to vector tiles in this refactoring iteration as all the "task" like objects that is (Notes, Osmose, Maproulette, Vespucci Todos) are displayed in the same layer, but it is definitely possible some time in the future.

frodrigo commented 2 years ago

A swagger API doc is now available http://osmose.openstreetmap.fr/api/docs