From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mail.toke.dk; spf=pass (mailfrom) smtp.mailfrom=irif.fr (client-ip=2001:660:3301:8000::1:2; helo=korolev.univ-paris7.fr; envelope-from=jch@irif.fr; receiver=) Authentication-Results: mail.toke.dk; dkim=pass (2048-bit key; unprotected) header.d=irif.fr header.i=@irif.fr header.a=rsa-sha256 header.s=dkim-irif header.b=BIoL4EhX Received: from korolev.univ-paris7.fr (korolev.univ-paris7.fr [IPv6:2001:660:3301:8000::1:2]) by mail.toke.dk (Postfix) with ESMTPS id 76F7CA675B0 for ; Thu, 2 May 2024 22:07:46 +0200 (CEST) Received: from mailhub.math.univ-paris-diderot.fr (mailhub.math.univ-paris-diderot.fr [81.194.30.253]) by korolev.univ-paris7.fr (8.14.4/8.14.4/relay1/82085) with ESMTP id 442K7kJB028938; Thu, 2 May 2024 22:07:46 +0200 Received: from mailhub.math.univ-paris-diderot.fr (localhost [127.0.0.1]) by mailhub.math.univ-paris-diderot.fr (Postfix) with ESMTP id 818A9407A2; Thu, 2 May 2024 22:07:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=irif.fr; h= content-type:content-type:mime-version:user-agent:references :in-reply-to:subject:subject:from:from:message-id:date:date :received:received; s=dkim-irif; t=1714680464; x=1715544465; bh= 6iJ7Gdd2BMjDZ7NKvn6oqOaxiG1pIjAbSJkguKB87CY=; b=BIoL4EhXarRP5cdS cMddNXPnqtduL3b40FEkSBiBNgzRaNIZOJ/E1Da1go0I2G7PH7uqbQFmgxd177k3 159D7BhsidFNYK1qBvsbfAu0AjxguQaVNmIIwyZd38P/pYBw3WgM2VpV/FApBFpi 1OtURP+w0TnVNnjT4XbUS4XY3I40UbZOhPBSgvy3qQWBZymDRxldBUssPTp4onfN u7Otbd8cPE2t5qiVI6B/4JB5pjwrAJ92tLW1JjrktUyeaiHfNUuYcDEmRBVJ0IMz 8dXH6VmafVrrqdTML4y097wr4fcQDCjTf9kxNbK1S1Q3kT+fbUb+xR8abXA6/ocR MvCuEA== X-Virus-Scanned: amavisd-new at math.univ-paris-diderot.fr Received: from mailhub.math.univ-paris-diderot.fr ([127.0.0.1]) by mailhub.math.univ-paris-diderot.fr (mailhub.math.univ-paris-diderot.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id 0nvlGXAWamTr; Thu, 2 May 2024 22:07:44 +0200 (CEST) Received: from pirx.irif.fr (unknown [78.194.40.74]) (Authenticated sender: jch) by mailhub.math.univ-paris-diderot.fr (Postfix) with ESMTPSA id B5FE4405DC; Thu, 2 May 2024 22:07:43 +0200 (CEST) Date: Thu, 02 May 2024 22:07:43 +0200 Message-ID: <87bk5ovuy8.wl-jch@irif.fr> From: Juliusz Chroboczek To: Dianne Skoll In-Reply-To: <171467774184.1473.5473206404325247014@gauss.local> References: <87frv0w24k.wl-jch@irif.fr> <171467774184.1473.5473206404325247014@gauss.local> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/29.3 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (korolev.univ-paris7.fr [194.254.61.138]); Thu, 02 May 2024 22:07:46 +0200 (CEST) X-Miltered: at korolev with ID 6633F292.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 6633F292.000 from mailhub.math.univ-paris-diderot.fr/mailhub.math.univ-paris-diderot.fr/null/mailhub.math.univ-paris-diderot.fr/ X-j-chkmail-Score: MSGID : 6633F292.000 on korolev.univ-paris7.fr : j-chkmail score : . : R=. U=. O=. B=0.000 -> S=0.000 X-j-chkmail-Status: Ham Message-ID-Hash: U4NV5Z6BLU4GOBGHSRHPG2IUWDO2J2UW X-Message-ID-Hash: U4NV5Z6BLU4GOBGHSRHPG2IUWDO2J2UW X-MailFrom: jch@irif.fr X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: galene@lists.galene.org X-Mailman-Version: 3.3.9 Precedence: list Subject: [Galene] Re: Galene API frozen? List-Id: =?utf-8?q?Gal=C3=A8ne_videoconferencing_server_discussion_list?= Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: > For the API endpoints: > > GET /galene-api/0/.groups/ > GET /galene-api/0/.groups/groupname/.users/ > > rather than returning plain-text, one-per-line, wouldn't it make more > sense to return a JSON array? No objection if people feel strongly that way, but what's the advantage? JSON cannot be streamed, at least not without some hacks, while a stream of lines can easily be scanned in constant space. If the goal is to make the format extensible, then we'll want to send either an array of dictionaries or a JSONL stream, but I really cannot see any advantage to switching to just an array of strings. -- Juliusz