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:
18
backend/api.go
Normal file
18
backend/api.go
Normal 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
|
||||
//
|
Reference in New Issue
Block a user