From c21931150a8cb58dcf9be0838766875600e09b33 Mon Sep 17 00:00:00 2001 From: tastytea Date: Sat, 9 Jan 2021 18:55:41 +0100 Subject: [PATCH] Add API documentation. --- index.html | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/index.html b/index.html index 3608be5..ed6f2a1 100644 --- a/index.html +++ b/index.html @@ -43,6 +43,19 @@ { text-align: right; } + table + { + width: 80%; + margin: auto auto; + } + table caption, table tr:first-of-type td + { + border-bottom: 1px solid; + } + table td:first-of-type + { + border-right: 1px solid; + } @@ -115,6 +128,29 @@ +

API

+ +

+ https://fediblock.org/api/v1/list returns an array of objects with + these properties: +

+ + + + + + + + + + + + + + + +
Properties
PropertyDescription
instance:The hostname of the instance.
url:The location of the full data set.
+

Contact