summaryrefslogtreecommitdiffstats
path: root/fatcat-openapi2.yml
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-12-14 17:33:43 +0800
committerBryan Newbold <bnewbold@robocracy.org>2018-12-14 17:33:45 +0800
commitaa7b96fd94bfe5d8f47b566cbb0f3a112c0ac755 (patch)
tree7bc2a228e05e04400ebd96b0258a138c3e631095 /fatcat-openapi2.yml
parent54abbfcd57fa82624504a1f2f359aa668e75f3d8 (diff)
downloadfatcat-aa7b96fd94bfe5d8f47b566cbb0f3a112c0ac755.tar.gz
fatcat-aa7b96fd94bfe5d8f47b566cbb0f3a112c0ac755.zip
more lookup schema tweaks
Changed argument orders; added core_id lookups; allow expand in lookups
Diffstat (limited to 'fatcat-openapi2.yml')
-rw-r--r--fatcat-openapi2.yml32
1 files changed, 28 insertions, 4 deletions
diff --git a/fatcat-openapi2.yml b/fatcat-openapi2.yml
index e452e945..a30bb55e 100644
--- a/fatcat-openapi2.yml
+++ b/fatcat-openapi2.yml
@@ -205,18 +205,18 @@ definitions:
type: string
#format: custom
example: "10.1234/abcde.789"
- isbn13:
+ wikidata_qid:
type: string
- #format: custom
- core_id:
+ isbn13:
type: string
#format: custom
pmid:
type: string
pmcid:
type: string
- wikidata_qid:
+ core_id:
type: string
+ #format: custom
volume:
type: string
issue:
@@ -631,6 +631,11 @@ paths:
- name: wikidata_qid
in: query
required: false
+ - name: expand
+ in: query
+ type: string
+ required: false
+ description: "List of sub-entities to expand in response."
- name: hide
in: query
type: string
@@ -895,6 +900,11 @@ paths:
- name: wikidata_qid
in: query
required: false
+ - name: expand
+ in: query
+ type: string
+ required: false
+ description: "List of sub-entities to expand in response."
- name: hide
in: query
type: string
@@ -1141,6 +1151,11 @@ paths:
in: query
type: string
required: false
+ - name: expand
+ in: query
+ type: string
+ required: false
+ description: "List of sub-entities to expand in response."
- name: hide
in: query
type: string
@@ -1418,6 +1433,15 @@ paths:
in: query
type: string
required: false
+ - name: core_id
+ in: query
+ type: string
+ required: false
+ - name: expand
+ in: query
+ type: string
+ required: false
+ description: "List of sub-entities to expand in response."
- name: hide
in: query
type: string