From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55478) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dqLiL-0001yt-RY for guix-patches@gnu.org; Fri, 08 Sep 2017 12:01:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dqLiI-0007NY-Ok for guix-patches@gnu.org; Fri, 08 Sep 2017 12:01:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:47516) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dqLiI-0007NS-Ls for guix-patches@gnu.org; Fri, 08 Sep 2017 12:01:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dqLiI-0006zt-Ck for guix-patches@gnu.org; Fri, 08 Sep 2017 12:01:02 -0400 Subject: [bug#27876] [PATCH v2 2/3] cuirass: add Hydra compatible HTTP API. Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) In-Reply-To: <20170801195124.7030-2-m.othacehe@gmail.com> (Mathieu Othacehe's message of "Tue, 1 Aug 2017 21:51:23 +0200") References: <20170801195124.7030-1-m.othacehe@gmail.com> <20170801195124.7030-2-m.othacehe@gmail.com> Date: Fri, 08 Sep 2017 18:00:47 +0200 Message-ID: <87h8wd89jk.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Mathieu Othacehe Cc: 27876@debbugs.gnu.org Mathieu Othacehe skribis: > * doc/cuirass.texi (Sections)[Web API]: New section describing the HTTP API. > * src/cuirass/http.scm (spec->json-string): Move it to utils.scm and rename it > object->json-string. > (object->json-scm): Move it utils.scm. > (handle-*-request): New helpers procedures. > (request-parameters): New procedure to parse a request query. > (url-handler): Add new API's. > * src/cuirass/utils.scm (object->json-scm, object->json-string): Exported > procedures moved from http.scm. All right!