From aa7b96fd94bfe5d8f47b566cbb0f3a112c0ac755 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 14 Dec 2018 17:33:43 +0800 Subject: more lookup schema tweaks Changed argument orders; added core_id lookups; allow expand in lookups --- fatcat-openapi2.yml | 32 ++++++++++++++++++++++++++++---- 1 file 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 -- cgit v1.2.3