From ee686837ee1eef8da1c717624b50184a7cb5342f Mon Sep 17 00:00:00 2001 From: Robert Sparks Date: Fri, 11 Mar 2022 12:59:21 -0600 Subject: [PATCH] fix: point the api index page into Github instead of trac/svn --- ietf/templates/api/index.html | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/ietf/templates/api/index.html b/ietf/templates/api/index.html index 41a5a0bd62..f30c153c1e 100644 --- a/ietf/templates/api/index.html +++ b/ietf/templates/api/index.html @@ -19,21 +19,11 @@

Framework API

to generate an API which mirrors the Django ORM (Object Relational Mapping) for the database. Each Django model class maps down to the SQL database tables and up to the API. The Django models classes are defined in the - models.py files of the datatracker: -

- -

- https://svn.ietf.org/svn/tools/ietfdb/trunk/ietf/doc/models.py -
- https://svn.ietf.org/svn/tools/ietfdb/trunk/ietf/group/models.py -
- http://svn.ietf.org/svn/tools/ietfdb/trunk/ietf/iesg/models.py -
- … - + models.py files of the datatracker. Browse the code tree + for the models file in each app (such as ietf/doc/models.py, + ietf/group/models.py, …).

- The API top endpoint is at https://datatracker.ietf.org/api/v1/. The top endpoint lists inferior endpoints, and thus permits some autodiscovery, but there's really no substitute for looking at the actual ORM model classes. @@ -45,7 +35,7 @@

Framework API

https://datatracker.ietf.org/api/v1/group/group/
- https://trac.ietf.org/trac/ietfdb/browser/trunk/ietf/group/models.py + ietf/group/models.py