#28: only the very beginning of the beginning
Don't even know if this is worth doing - this specification language doesn't yet mean much to me.
This commit is contained in:
parent
888205e069
commit
4213f6159c
23
doc/specification/api.v1.raml
Normal file
23
doc/specification/api.v1.raml
Normal file
|
@ -0,0 +1,23 @@
|
|||
#%RAML 0.8
|
||||
---
|
||||
title: YouYesYet API
|
||||
baseUri: https://api.yyy.scot/{version}
|
||||
version: v1
|
||||
|
||||
|
||||
/canvassers:
|
||||
get:
|
||||
put:
|
||||
|
||||
/electors:
|
||||
get:
|
||||
/{id}:
|
||||
get:
|
||||
/{address_id}:
|
||||
get:
|
||||
|
||||
# Location isn't a real entity in the database, but it is a means of searching for
|
||||
# addresses and electors.
|
||||
/location:
|
||||
/{lat}/{long}/{radius}:
|
||||
get:
|
Loading…
Reference in a new issue