1
0
mirror of https://github.com/alice-lg/alice-lg.git synced 2024-05-11 05:55:03 +00:00

added api layout

This commit is contained in:
Matthias Hannig
2017-05-16 13:58:25 +02:00
parent 67f51c4b63
commit f5f4e272a8

18
backend/api.go Normal file
View File

@@ -0,0 +1,18 @@
package main
// Alice LG Rest API
//
// The API provides endpoints for getting
// information from the routeservers / alice datasources.
//
// Endpoints:
//
// Config
// Show /api/config
//
// Routeservers
// List /api/routeservers
// Status /api/routeservers/:id/status
// Neighbours /api/routeservers/:id/neighbours
// Routes /api/routeservers/:id/neighbours/:neighbour_id/routes
//