From 39456677cdc9768ad0dea76be4fd36735eec3ed2 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 16 May 2018 20:55:01 -0700 Subject: simplify API a bit --- rust/fatcat-api/api/swagger.yaml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'rust/fatcat-api/api/swagger.yaml') diff --git a/rust/fatcat-api/api/swagger.yaml b/rust/fatcat-api/api/swagger.yaml index 3d3c2591..8dddf317 100644 --- a/rust/fatcat-api/api/swagger.yaml +++ b/rust/fatcat-api/api/swagger.yaml @@ -1037,8 +1037,6 @@ definitions: type: "string" publisher: type: "string" - parent: - type: "string" name: type: "string" state: @@ -1058,7 +1056,6 @@ definitions: type: "integer" example: redirect: "redirect" - parent: "parent" editgroup: 6 issn: "issn" ident: "ident" @@ -1104,6 +1101,8 @@ definitions: upperCaseName: "FILE_ENTITY" release_entity: type: "object" + required: + - "title" properties: issue: type: "string" @@ -1115,11 +1114,11 @@ definitions: type: "string" release_type: type: "string" - license: + container_id: type: "string" - container: + work_id: type: "string" - work: + title: type: "string" state: type: "string" @@ -1137,18 +1136,18 @@ definitions: editgroup: type: "integer" example: - container: "container" redirect: "redirect" + work_id: "work_id" editgroup: 6 issue: "issue" - work: "work" ident: "ident" release_type: "release_type" + title: "title" revision: 0 volume: "volume" - license: "license" pages: "pages" state: "wip" + container_id: "container_id" doi: "doi" upperCaseName: "RELEASE_ENTITY" work_entity: -- cgit v1.2.3