diff options
Diffstat (limited to 'fatcat-openapi2.yml')
-rw-r--r-- | fatcat-openapi2.yml | 41 |
1 files changed, 40 insertions, 1 deletions
diff --git a/fatcat-openapi2.yml b/fatcat-openapi2.yml index 4d3443de..6fd73deb 100644 --- a/fatcat-openapi2.yml +++ b/fatcat-openapi2.yml @@ -281,10 +281,17 @@ definitions: type: integer example: 200 format: int64 + size_bytes: + type: integer + example: 1235 + format: int64 sha1: <<: *FATCATSHA1 sha256: <<: *FATCATSHA256 + extra: + type: object + additionalProperties: {} archive_urls: type: array items: @@ -320,6 +327,9 @@ definitions: title: type: string description: "Required for valid entities. The title used in citations and for display; usually English" + subtitle: + type: string + description: "Avoid this field if possible, and merge with title; usually English" original_title: type: string description: "Title in original language (or, the language of the full text of this release)" @@ -350,7 +360,7 @@ definitions: release_type: type: string example: "book" - release_status: + release_stage: type: string example: "preprint, retracted" release_date: @@ -360,6 +370,15 @@ definitions: type: integer example: 2014 format: int64 + withdrawn_state: + type: string + withdrawn_date: + type: string + format: date + withdrawn_year: + type: integer + example: 2014 + format: int64 doi: type: string #format: custom @@ -380,6 +399,10 @@ definitions: type: string jstor_id: type: string + ark_id: + type: string + mag_id: + type: string volume: type: string issue: @@ -387,6 +410,10 @@ definitions: example: "12" pages: type: string + number: + type: string + version: + type: string publisher: type: string language: @@ -603,6 +630,10 @@ definitions: description: "Optional; GET-only" raw_name: type: string + given_name: + type: string + surname: + type: string role: type: string raw_affiliation: @@ -2269,6 +2300,14 @@ paths: in: query type: string required: false + - name: ark_id + in: query + type: string + required: false + - name: mag_id + in: query + type: string + required: false - name: expand in: query type: string |