From 888cb102c383cb079d81486211a9274d9d5d33dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirit=20S=C3=A6lensminde?= Date: Sat, 6 Oct 2018 13:22:12 +0700 Subject: [PATCH] Fix documented location for configuration setting. --- Cpp/fostgres/Fostgres-sql-view.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Cpp/fostgres/Fostgres-sql-view.md b/Cpp/fostgres/Fostgres-sql-view.md index a0a88d1..321be65 100644 --- a/Cpp/fostgres/Fostgres-sql-view.md +++ b/Cpp/fostgres/Fostgres-sql-view.md @@ -5,9 +5,6 @@ ## Configuration -* `response` -- The type of API. The URL to database mapping essentially must describe a resource that comprised either one or multiple rows in the relation/table. - * `object` -- The URL describes a single row in the database. - * `csj` (default) -- The URL describes multiple rows in the database. * `sql` -- The individual end points, see "End point configuration" below. The view first goes through the list of end point configurations looking for the first path match. @@ -17,6 +14,9 @@ The view first goes through the list of end point configurations looking for the Each end point configuration consists of a number of keys: +* `response` -- The type of API. The URL to database mapping essentially must describe a resource that comprised either one or multiple rows in the relation/table. + * `object` -- The URL describes a single row in the database. + * `csj` (default) -- The URL describes multiple rows in the database. * `path` -- The path configuration to match against * `GET` -- Used for `GET` requests. * `PUT` -- Used for `PUT` requests.