From 888ab902c646482da24f8ef9e5f92632a4bfd56d Mon Sep 17 00:00:00 2001 From: Ubergeek Date: Wed, 22 Jan 2020 13:34:36 -0500 Subject: [PATCH] Keep api in sync --- articles/wiki/api.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/articles/wiki/api.md b/articles/wiki/api.md index 6cadac3..0944fe9 100644 --- a/articles/wiki/api.md +++ b/articles/wiki/api.md @@ -23,7 +23,9 @@ The API shall return a 501 for requests which exist in the spec, but have not be The API is a RESTful API, and the following URIs will be used: -```https:{hostname}/api/1/{action}``` +``` +https:{hostname}/api/1/{action} +``` ## Informational APIs @@ -33,7 +35,8 @@ The API is a RESTful API, and the following URIs will be used: This endpoint shall return a json struct containing interfaces, and IP addresses in CIDR format: -```{ +``` +{ "Interfaces":[ { "Name":"eth0",