You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
400 B
14 lines
400 B
import {Route} from "@extollo/lib"
|
|
|
|
Route.group('/api/v1', () => {
|
|
Route.post('/encounter', 'api:Blockchain.postTransaction')
|
|
.pre('DebugOnly')
|
|
.pre('api:ValidateEncounterTransaction')
|
|
|
|
Route.post('/exposure', 'api:Blockchain.postExposure')
|
|
.pre('DebugOnly')
|
|
.pre('api:ValidateExposureTransaction')
|
|
|
|
Route.get('/chain', 'api:Blockchain.readBlockchain')
|
|
})
|