[Tools-discuss] Re: documents by WG --- RFCs and related documents -- are there APIs

Robert Sparks <rjsparks@nostrum.com> Mon, 04 August 2025 14:33 UTC

Return-Path: <rjsparks@nostrum.com>
X-Original-To: tools-discuss@mail2.ietf.org
Delivered-To: tools-discuss@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 6CC094F7E20A for <tools-discuss@mail2.ietf.org>; Mon, 4 Aug 2025 07:33:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.08
X-Spam-Level:
X-Spam-Status: No, score=-2.08 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, T_SPF_HELO_PERMERROR=0.01, T_SPF_PERMERROR=0.01] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (1024-bit key) header.d=nostrum.com
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 41_nnMufG5Zu for <tools-discuss@mail2.ietf.org>; Mon, 4 Aug 2025 07:33:18 -0700 (PDT)
Received: from nostrum.com (raven-v6.nostrum.com [IPv6:2001:470:d:1130::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id DF03E4F7E202 for <tools-discuss@ietf.org>; Mon, 4 Aug 2025 07:33:17 -0700 (PDT)
Received: from [192.168.1.103] (47-186-49-96.fdr02.plan.tx.ip.frontiernet.net [47.186.49.96]) (authenticated bits=0) by nostrum.com (8.18.1/8.18.1) with ESMTPSA id 574EXCl3085710 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for <tools-discuss@ietf.org>; Mon, 4 Aug 2025 09:33:15 -0500 (CDT) (envelope-from rjsparks@nostrum.com)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=nostrum.com; s=default; t=1754317995; bh=7uGAVpWq+CGa3SyEGZC0HBovCauI+buLZ6wweZ5x6Dw=; h=Date:Subject:To:References:From:In-Reply-To; b=wOQx1mOq3pLgaH61pFy7yOTm24Qz4BsyWYRd4Zl/pH10HX7PM4ofhgRkB6Lc4vDnQ g89Nq1oSOWlBGKsTP732GdfcySLQxeqqFi7CTt5rgXYSkwx4HUPRyJqEZEyjkTHJ0/ 4yxbsGjqnXDsVMqyNSmgWTW3OfU6Q7wJnVm+Uvq4=
X-Authentication-Warning: raven.nostrum.com: Host 47-186-49-96.fdr02.plan.tx.ip.frontiernet.net [47.186.49.96] claimed to be [192.168.1.103]
Message-ID: <e9a2fa26-ffc0-4252-abee-0feb96f4e8ca@nostrum.com>
Date: Mon, 04 Aug 2025 09:33:07 -0500
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
To: tools-discuss@ietf.org
References: <523a3640-feab-4eeb-9b98-09eb6438923c@staff.ietf.org> <9215E610-26BC-4110-A319-66C85E7C2A4F@bangj.com> <17410.1753897913@obiwan.sandelman.ca> <04C1C600-105E-4D91-9049-F343050AF536@bangj.com> <99885A7F-7143-4A89-8FEC-3E5C1E6057A7@ietf.org>
Content-Language: en-US
From: Robert Sparks <rjsparks@nostrum.com>
Autocrypt: addr=rjsparks@nostrum.com; keydata= xsDNBFx4PQwBDADIIJqFKIeYNmVR3iH8YnNqwApV+ci83VqFaPg0UXZAZ1utH/2O2LOLJKmV Ol11+lOSfH4OJgpARt37PWbqfG2TzzGfEucRBPMAV8TEDmzKL+7/OUMLEoPeexgxz6ADxK2Q ACKKzHhF30y4fx2fn9rYZrCvYHV9HDKcfFotNLna0U6P6wu70L0mT2hcjQgZ7+8HSZCpK2XG PTya1mEiMklH6+UHfcTLoAxd3chQiseRi19/TQZZCD3LuuaGFWyTIeF9ZNWV9yL0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cE/NJft/zFkeb HHCKAosK6glO+W0YPHc/k7nXt/fLz7dMRpFpmqFXWjeN2VtwKr9znMg9+iX6XfgAJPMdDNH8 fn30Cp5TIsn5WCI70+JztgvfjFhD15Eb3rtDdOfOydjGCV2ZVxfM8ECmc8Z3DrThyiC2M3uo 2Y50rs6MH+TmVCtpHkISnH7B+80Vy2SC60K9l2xgCaezN1SlkQy3ZpprzcDrNTI8FcJa/UUM ayMGvSDGEGuHZRaNUyXP3jQ8oss+067axmNr5vgjpf01kmE1RJtiGEDWmCr8u1SbVQjdax6C pDqq3RKoX2ZVGLtkdDYZbsqSq4TgmFukoijWRbLxsFBdeEgruTViWRw4PKZav0piLxrhHUGI m6F6JFngapUAEQEAAcLA/AQYAQgAJgIbDBYhBBjcsHRgwh1GAcFjd24qald1+RMYBQJn/mEh BQkRKb6VAAoJEG4qald1+RMYaOgL/j06duNc5/OTAzOY3MawOwSPskXHLHiZUYG3TfN9eWYg TNCxTaP7wglLhHOsZF7rIzfPw3IAj9k8lnuLK1Z7C3VaJHQuayzLJ8jAF5gVryrqA/ia552u ejdg3k3OnExZB5Rvm/9joD5TpEa8f8XkLnfl/ez2H1rYR4gCjSIO6Kpi6B7Jxgt5is+HKP1x f/havxpBa/0c8f/9XEIgzQ6G190j4pBym1tzZCOx/NB3kp9oYVXejUwVA+WryJgpHvlzCxUW P7svyD4Mal4cgJCNptQ0Q2y8S4Yf/G+vF8+DVHd9x+xeNRX7USvqlxkpabAjLc3bp/egxFul i7Vb9qhlfcMwzOHrG1u3sYNFuL+hou9nNR5kdWVAVxKw0du9YptGtXlMK9PKlangBbeeNc6f h/wJMnCeITDBWb/Pm3nIstAVnftJSFaMaQwLLlcxCgUS7gD1axzeIGY3XPLnJX6ZjjdHZ5Z7 I8lfj4rMCctcE0pudHYWrhznMBoUaEADjiOpdw==
In-Reply-To: <99885A7F-7143-4A89-8FEC-3E5C1E6057A7@ietf.org>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Message-ID-Hash: O2AZJIE3BL4KIUON72P3PLAAW6NS32CH
X-Message-ID-Hash: O2AZJIE3BL4KIUON72P3PLAAW6NS32CH
X-MailFrom: rjsparks@nostrum.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-tools-discuss.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [Tools-discuss] Re: documents by WG --- RFCs and related documents -- are there APIs
List-Id: IETF Tools Discussion <tools-discuss.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/tools-discuss/ZjwDHLSPR0xOv_UkeGIzNpxBPxo>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tools-discuss>
List-Help: <mailto:tools-discuss-request@ietf.org?subject=help>
List-Owner: <mailto:tools-discuss-owner@ietf.org>
List-Post: <mailto:tools-discuss@ietf.org>
List-Subscribe: <mailto:tools-discuss-join@ietf.org>
List-Unsubscribe: <mailto:tools-discuss-leave@ietf.org>

On 7/31/25 11:00 PM, Jay Daley wrote:
> Tom
>
>> On 31 Jul 2025, at 06:18, Tom Pusateri <pusateri@bangj.com> wrote:
>>
>> Well, that’s the whole point of a versioned API. When you make model changes, you do so in a way that preserves the old API too. And while you offer a new (v2) API, you never break the old API.
>>
>> It’s just a choice when adding new features. You can choose to break the old API or you can choose to preserve it.
> You make it sound like a zero-cost choice when in practice it can be, and is in our case, a very expensive choice to make.
>
> Jay

The TastyPie API (known as /api/v1/) is something we would not have 
provided in retrospect - it is, as others have pointed out, a very 
simplistic  exposure of the django models and a very limited subset of 
the django queryset mechanisms. When we provide new apis that abstract 
the backend away (and allow us to maintain backwards compatibility when 
the models or even the core infrastructure of the backend changes) we 
MUST deprecate /api/v1. That time will come, but it's not in the 
immediate future.

It would be useful for anyone using the v1 API for applications to let 
us know the core queries they rely on so we can begin to proactively 
provide alternatives that are easier to keep stable.

RJS