diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2021-07-23 17:49:48 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2021-07-23 17:49:48 -0700 |
commit | 5fde5d74738ce3c834248c12bae1860840a1287a (patch) | |
tree | 7ae7f64edf8e2ccaf46f2978ab27850179ccca19 | |
parent | 1125eddcac0c9b2673dbfb1f62bb0fa9b1ab4054 (diff) | |
download | fatcat-5fde5d74738ce3c834248c12bae1860840a1287a.tar.gz fatcat-5fde5d74738ce3c834248c12bae1860840a1287a.zip |
refs: change mind about URL structure again
-rw-r--r-- | proposals/2021-01-29_citation_api.md | 10 | ||||
-rw-r--r-- | 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") }} |