Add carto import api
takes a FeatureCollection to import and returns an augmented champ FeatureCollection
This commit is contained in:
parent
f4677a0907
commit
4f2e504cc2
3 changed files with 45 additions and 4 deletions
|
@ -123,6 +123,7 @@ Rails.application.routes.draw do
|
|||
|
||||
get ':champ_id/carte/features', to: 'carte#index', as: :carte_features
|
||||
post ':champ_id/carte/features', to: 'carte#create'
|
||||
post ':champ_id/carte/features/import', to: 'carte#import'
|
||||
patch ':champ_id/carte/features/:id', to: 'carte#update'
|
||||
delete ':champ_id/carte/features/:id', to: 'carte#destroy'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue