Don't even know if this is worth doing - this specification language doesn't yet mean much to me.
24 lines
340 B
Plaintext
24 lines
340 B
Plaintext
#%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:
|