Re: [httpapi] api-catalog new version and Git repository

Herbert Van de Sompel <hvdsomp@gmail.com> Wed, 28 February 2024 08:01 UTC

Return-Path: <hvdsomp@gmail.com>
X-Original-To: httpapi@ietfa.amsl.com
Delivered-To: httpapi@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 770D4C14CEED for <httpapi@ietfa.amsl.com>; Wed, 28 Feb 2024 00:01:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.101
X-Spam-Level:
X-Spam-Status: No, score=-2.101 tagged_above=-999 required=5 tests=[AC_DIV_BONANZA=0.001, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_FONT_LOW_CONTRAST=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HZGVC7Lrzw8F for <httpapi@ietfa.amsl.com>; Wed, 28 Feb 2024 00:01:00 -0800 (PST)
Received: from mail-yw1-x1131.google.com (mail-yw1-x1131.google.com [IPv6:2607:f8b0:4864:20::1131]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 25AAAC14F700 for <httpapi@ietf.org>; Wed, 28 Feb 2024 00:01:00 -0800 (PST)
Received: by mail-yw1-x1131.google.com with SMTP id 00721157ae682-608ccac1899so47909097b3.1 for <httpapi@ietf.org>; Wed, 28 Feb 2024 00:01:00 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709107259; x=1709712059; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ZZBZTxq9/o+4qpFW7ivAl+rrFKAOTUUQ+QIhhicmGbk=; b=RDSsZ7b+T9ILzJcGu1rnnMAJMQlZv7GSnp/+1el0kVroSqxzVrGrFRcxk6338eaEtD /Lvq1/TisLQqCZiIs/Fo+JY/IJwlzmf6pwTnKU0Y6ACQHiO6qqGPDm+Cdw4DrHUl/XqI XNPJxbfFxfDVhJ08ii6PlExn/79LEAy2wMpZ4UU3bjxQi6pFXWdxz+T8AZYhwzUEVKtD R6CknceFrOGZ82k7vhdSBHZC4/eBZxVRPsjoflEfzZInZa3vcCo48I0Y59f3S+gHrbVq 2HvndRDpO6z4TH+GG1frseNllFGhSzkCS+aDvI0JUSnix4BG9Aty/ZtmoI0Uwc3Rd0zB w3Kw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709107259; x=1709712059; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ZZBZTxq9/o+4qpFW7ivAl+rrFKAOTUUQ+QIhhicmGbk=; b=Qfn3Z36XqIz7nNeykdms8jtj326nrkzio4Qp8P71PGOaDMVXB1SKBZ/GTgotHfSYTb lUgQ3yHnbWPr5blAdt3u/LBuc5Ao77WgdZFtI4Xd/E8TAwLuz8GU0q51p5Sl2FUwhoFv P2tVWxEa4ZNWOP8TtMGnN92nMKICQZKELmJ725m7RAf8fDxCNSJZ2k7EL/pxG9tMOAqB l9DjOjbOvyvjJ1llYMQ+O5a9Nk34CzSA7kff6pNOHdNsm37wc9fdw3Z3Jfo0n6JSDh2Q I3/6KKf6Xw1sWQjZykxpr51jCwnTOVNN6JnReQDZPvDGXiLPTKUYa4hpD47ZdVniLvm/ Tm9A==
X-Gm-Message-State: AOJu0YyhsU8Aq+uPQ6bbHrZhkq+1r3tXm403W8yxKmctG4LeKtVYhJ1C nKJm2PjPD4PxjJVTcrBDIWavOqIU2Fw+0SjJMvxUqqzJoe+RJLx+nLHbYkJzGflgmv6v7q6Be8y m4zjBkgeIQvlD7snV4LZbnB7g08c=
X-Google-Smtp-Source: AGHT+IGltFKW1luxb1HMBmq2dEFe57bzYO5AIWnlVOcZFDjoNU2bWpcjAkvbPL25lbwnYKfZSQJCGAkgQ0b9yRc4uko=
X-Received: by 2002:a05:6902:1b88:b0:dcb:fb49:cb93 with SMTP id ei8-20020a0569021b8800b00dcbfb49cb93mr2023820ybb.45.1709107258738; Wed, 28 Feb 2024 00:00:58 -0800 (PST)
MIME-Version: 1.0
References: <VI1PR05MB55190AB0D958B766D07B4E8E914B2@VI1PR05MB5519.eurprd05.prod.outlook.com> <CAOywMHc09kMAKYU_czP+_jNQQpa0x1-jp3nnHubcXn4-EfRdbA@mail.gmail.com> <VI1PR05MB5519F1FE87582D008E55984B91592@VI1PR05MB5519.eurprd05.prod.outlook.com>
In-Reply-To: <VI1PR05MB5519F1FE87582D008E55984B91592@VI1PR05MB5519.eurprd05.prod.outlook.com>
From: Herbert Van de Sompel <hvdsomp@gmail.com>
Date: Wed, 28 Feb 2024 09:00:47 +0100
Message-ID: <CAOywMHcMtuhQ=LzHhQ8EJTxSfwKGx6W20_hynqCVskwVrjntdA@mail.gmail.com>
To: "Kevin Smith, Vodafone" <Kevin.Smith@vodafone.com>
Cc: "httpapi@ietf.org" <httpapi@ietf.org>, Herbert Van de Sompel <hvdsomp@gmail.com>
Content-Type: multipart/alternative; boundary="0000000000000a4ae406126c8b13"
Archived-At: <https://mailarchive.ietf.org/arch/msg/httpapi/lVQQ9X8VuRxhHV8nYbMbau-jUVU>
Subject: Re: [httpapi] api-catalog new version and Git repository
X-BeenThere: httpapi@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Building Blocks for HTTP APIs <httpapi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/httpapi>, <mailto:httpapi-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/httpapi/>
List-Post: <mailto:httpapi@ietf.org>
List-Help: <mailto:httpapi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/httpapi>, <mailto:httpapi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Feb 2024 08:01:04 -0000

On Tue, Feb 27, 2024 at 6:35 PM Kevin Smith, Vodafone <
Kevin.Smith@vodafone.com> wrote:

> Hi Herbert,
>
>
>
> Thanks for this (and also your previous suggestion, which I will
> incorporate).
>
>
>

Thanks for your response. I insert some comments, below.


> > whether the I-D should have some wording regarding the possible/allowed
> use of api-catalog links at other URIs?
>
>
>
> Yes, the I-D is not intended to restrict anyone who wants to do that.
> Section 3 is written in that spirit, although that is from the perspective
> of a Publisher with APIs across several domains, each of which can publish
> the /.well-known/api-catalog URI. It recommends that one of the locations
> host the canonical version of the API Catalog, and I think the same would
> apply if the catalog were hosted at other URIs. You could still make use of
> /.well-known/api-catalog ato redirect to another URI if desired.
>
>
>

Understood. But in these cases, the use of the api-catalog link seems to
remain tied to the /.well-known/api-catalog URIs. I was asking about using
api-catalog links at locations other than /.well-known/api-catalog URIs.



> > I think it would be rather helpful if that link could (also) be provided
> at the predictable URI
>
>
>
> To my thinking {example.com}/.well-known/api-catalog is a predictable
> URI, but I suspect I may be misunderstanding your comment…
>
>
>

Oh. I had interpreted example.com to be the predictable URI. And, since
/.well-known/api-catalog is predictable as a result of this specification,
that also makes example.com//.well-known/api-catalog predictable. Anyhow,
my suggestion was that it might be helpful if the api-catalog link could
(also) be provided at URIs such as example.com. I'm not suggesting
requiring it. Merely allowing it.



> > I was wondering whether it would make sense to treat discovery via
> api-catalog links a bit more as an equally viable approach
>
>
>
> Yes, that makes sense to me - Section 6 states:
>
>
>
> "api-catalog": the 'api-catalog' link relation identifies a target
> resource that represents a list of APIs of which the context resource is a
> member.”
>
>
>
> …but that only accounts for use of that link relation from one of the
> catalog members. So I will clarify that the link relation can be used from
> other context resources, i.e. “the 'api-catalog' link relation identifies
> a target resource that represents a list of APIs available from the
> Publisher of the context resource.” Does that cover your suggestion?
>
>
>

Yes, that would be great! Thanks!

Greetings

Herbert


> Thanks again!
>
> Kevin
>
>
>
>
>
> C2 General
>
> *From:* Herbert Van de Sompel <hvdsomp@gmail.com>
> *Sent:* 27 February 2024 08:38
> *To:* Kevin Smith, Vodafone <Kevin.Smith@vodafone.com>
> *Cc:* httpapi@ietf.org; Herbert Van de Sompel <hvdsomp@gmail.com>
> *Subject:* Re: [httpapi] api-catalog new version and Git repository
>
>
>
> You don't often get email from hvdsomp@gmail.com. Learn why this is
> important <https://aka.ms/LearnAboutSenderIdentification>
>
> *External Email:* Be cautious about the sender email address, attachments
> and links. If uncertain use Report Message button.
>
> hi Kevin, all,
>
>
>
> I have some further questions/suggestions regarding the current version of
> the API Catalog I-D:
>
>
>
> * I thought it would be helpful if the api-catalog link could also be
> provided at URIs other than /.well-known/api-catalog. For example, I think
> it would be rather helpful if that link could (also) be provided at the
> predictable URI. I assume that this would be OK but I was wondering whether
> the I-D should have some wording regarding the possible/allowed use of
> api-catalog links at other URIs?
>
>
>
> * More generally speaking, the I-D focuses on the well-known URI approach,
> cf. e.g. the title "a well-known URI to help discovery of APIs". Don't get
> me wrong, I have nothing against the well-known approach. But I was
> wondering whether it would make sense to treat discovery via api-catalog
> links a bit more as an equally viable approach rather than as an approach
> to support discovery when issuing an HTTP HEAD against the well-known URI?
>
>
>
> Greetings
>
>
>
> Herbert
>
>
>
>
>
> On Fri, Feb 9, 2024 at 2:28 PM Kevin Smith, Vodafone <Kevin.Smith=
> 40vodafone.com@dmarc.ietf.org> wrote:
>
> Hi all,
>
>
>
> I have uploaded a new version of  "api-catalog: A well-known URI to help
> discovery of APIs", draft-ietf-httpapi-api-catalog-01  [1].
>
>
>
> Changes from draft 00, following feedback at IETF 118 and on-list:
>
> * added 'Publisher' to terminology
>
> * added section for APIs distributed across multiple domains
>
> * added section for private/internal APIs
>
> * expanded list of formats for the API Catalog document
>
> * made Linkset the recommended format
>
> * referenced  'item' link relation as a member of an API Catalog
>
> * typos/rewording
>
>
>
> You can now raise issues/pull requests at the Git repository [2]
>
>
>
> All best,
>
> Kevin
>
>
>
> [1]
> https://www.ietf.org/archive/id/draft-ietf-httpapi-api-catalog-01.html
>
> [2] https://github.com/ietf-wg-httpapi/api-catalog
>
>
>
>
>
>
>
>
>
> C2 General
>
> --
> httpapi mailing list
> httpapi@ietf.org
> https://www.ietf.org/mailman/listinfo/httpapi
>
>
>
> --
>
> ==================
>
> Herbert Van de Sompel
>
> https://hvdsomp.info
>
> https://orcid.org/0000-0002-0715-6126
>


-- 
==================
Herbert Van de Sompel
https://hvdsomp.info
https://orcid.org/0000-0002-0715-6126