From 5fde5d74738ce3c834248c12bae1860840a1287a Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 23 Jul 2021 17:49:48 -0700 Subject: refs: change mind about URL structure again --- proposals/2021-01-29_citation_api.md | 10 +++++----- python/fatcat_web/templates/entity_base.html | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/proposals/2021-01-29_citation_api.md b/proposals/2021-01-29_citation_api.md index f8d9e676..3805dcac 100644 --- a/proposals/2021-01-29_citation_api.md +++ b/proposals/2021-01-29_citation_api.md @@ -175,21 +175,21 @@ operate (eg, replicas). Initial web endpoints, including unstable pseudo-APIs: - fatcat.wiki/release/{release_ident}/refs/in (and .json) - fatcat.wiki/release/{release_ident}/refs/out (and .json) + fatcat.wiki/release/{release_ident}/refs-in (and .json) + fatcat.wiki/release/{release_ident}/refs-out (and .json) &limit &offset &sort (for inbound) &filter_stage (for inbound) - fatcat.wiki/openlibrary/{openlibrary_ident}/refs/in (and .json) + fatcat.wiki/openlibrary/{openlibrary_ident}/refs-in (and .json) &limit &offset &sort &filter_stage - fatcat.wiki/web/refs/in (and .json) - &url= + fatcat.wiki/web/refs-in (and .json) + &url= (required) &limit &offset &sort (newest, oldest) diff --git a/python/fatcat_web/templates/entity_base.html b/python/fatcat_web/templates/entity_base.html index 78a151a0..52acd70a 100644 --- a/python/fatcat_web/templates/entity_base.html +++ b/python/fatcat_web/templates/entity_base.html @@ -86,8 +86,8 @@ {% elif entity_type == "release" and entity.state != 'deleted' %} {{ entity_tab("contribs", "Authors", "/contribs", entity._authors|count ) }} {% if entity.state == 'active' %} - {{ entity_tab("refs-out", "References", "/refs/out") }} - {{ entity_tab("refs-in", "Cited By", "/refs/in") }} + {{ entity_tab("refs-out", "References", "/refs-out") }} + {{ entity_tab("refs-in", "Cited By", "/refs-in") }} {% endif %} {% endif %} {{ entity_tab("metadata", "Metadata", "/metadata") }} -- cgit v1.2.3