Last active
August 29, 2015 14:23
-
-
Save IanMulvany/1874ac56d31c4fb02810 to your computer and use it in GitHub Desktop.
proposed endpoint for article info api
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/articles/{doi}/pub_info: | |
get: | |
description: Get PDF file locations in JSON format. | |
operationId: doi | |
produces: | |
- application/json | |
parameters: | |
- name: doi | |
in: path | |
description: FID of article | |
required: true | |
type: integer | |
format: int64 | |
responses: | |
'200': | |
description: test response | |
schema: | |
type: array | |
items: | |
$ref: '#/definitions/pub_info' | |
definitions: | |
pub_info: | |
description: an array of version numbers | |
properties: | |
doi: | |
type: string | |
description: Fid of the article | |
version: | |
type: integer | |
description: version of the document | |
update_date: | |
type: string | |
description: date that this version was updated on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment