aboutsummaryrefslogtreecommitdiffstats
path: root/rust/src/endpoints.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-21 12:23:08 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-21 12:23:08 -0800
commit2027162f9871ebe43a40b0ac4615149141b7a571 (patch)
treec75087fa12c9841a4f12d66fc1b2770e9c6847c4 /rust/src/endpoints.rs
parentbdb1e6c42317c8ea9d2152896e308203ecd3ac3e (diff)
downloadfatcat-2027162f9871ebe43a40b0ac4615149141b7a571.tar.gz
fatcat-2027162f9871ebe43a40b0ac4615149141b7a571.zip
allow arxiv and jstor lookups
Diffstat (limited to 'rust/src/endpoints.rs')
-rw-r--r--rust/src/endpoints.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/rust/src/endpoints.rs b/rust/src/endpoints.rs
index 670c7fd9..8c45ea75 100644
--- a/rust/src/endpoints.rs
+++ b/rust/src/endpoints.rs
@@ -665,6 +665,8 @@ impl Api for Server {
pmid: Option<String>,
pmcid: Option<String>,
core_id: Option<String>,
+ arxiv_id: Option<String>,
+ jstor_id: Option<String>,
expand: Option<String>,
hide: Option<String>,
_context: &Context,
@@ -688,6 +690,8 @@ impl Api for Server {
&pmid,
&pmcid,
&core_id,
+ &arxiv_id,
+ &jstor_id,
expand_flags,
hide_flags,
)