hotosm / oam-server-api

DEPRECATED: API component for OAM Server
Other
1 stars 1 forks source link

API Stub #7

Closed mojodna closed 9 years ago

mojodna commented 9 years ago

This stubs out a proposed API with a server that returns fake responses.

@hectcastro if you don't have any objections (after the repo split/simplification), I'd like to move api/ into the root of this project (initially to quickly deploy a version to Heroku that @tassia can use for testing out how the QGIS plugin interacts).

@lossyrob the /tile endpoint largely encompasses your proposal in #2 (minus the client-provided id). /tilesets doesn't feel like quite the right name, but I'm not sure what it should be. Other thoughts?

Another thought (I'll put it in an issue) that will impact @tassia and the Uploader (hi @smit1678): this API will also require some form of authorization in order to limit abuse. QGIS probably has the most limiting UI (and the uploader can potentially act on its own behalf), so I'm curious what @tassia has to say about this.

/cc @cgiovando

hectcastro commented 9 years ago

@hectcastro if you don't have any objections (after the repo split/simplification), I'd like to move api/ into the root of this project (initially to quickly deploy a version to Heroku that @tassia can use for testing out how the QGIS plugin interacts).

Go for it.

mojodna commented 9 years ago

@tassia stub API has been deployed here: https://hotosm-oam-server-stub.herokuapp.com/

mojodna commented 9 years ago

Functionality has been merged into master.